Opium
Opium is a medium, muted red color with the hex code #987E7E (hue 0°, saturation 11%, lightness 55%).
- HEX
#987E7E - RGB
rgb(152 126 126) - HSL
hsl(0 11% 55%) - OKLCH
oklch(61.7% 0.032 18)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Opium | #987E7E | 152, 126, 126 | 0°, 11%, 55% | 0, 17, 17, 40 | 61.7% 0.032 18 |
Contrast with white text 3.74:1, with black text 5.62:1 — use black text on Opium.
Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work
Adjust Opium
Move the sliders to make Opium lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.
- HEX
#987E7E - RGB
rgb(152 126 126) - HSL
hsl(0 11% 55%)
Variations of Opium
Text on Opium
WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.
Opium with color blindness
How Opium appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.
Tints and shades
Colors that go with Opium
Six color schemes built on Opium with classic harmony rules. The complementary scheme pairs it with Fairstar (#6BA5A9), the color opposite it on the color wheel.
- Opium Complementary Color Scheme#987E7E#CAA6A9#6BA5A9#537E7E#AECCCB
- Opium Analogous Color Scheme#A66DA1#AB728D#987E7E#A68B6D#A1A46D
- Opium Triadic Color Scheme#987E7E#72A86A#6C70A9#CAAEAB#4C7C4B
- Opium Split-complementary Color Scheme#987E7E#70A38D#6B8CA9#784D4C#9FC8B2
- Opium Tetradic Color Scheme#987E7E#8AA56E#6BA5A9#8A6FA9#CAAEAB
- Opium Monochromatic Color Scheme#463636#6D595A#987E7E#BAAAAA#DCD5D3
Nearest CSS named colors
- Grey (
gray): Grey (#808080) is darker than Opium (relative luminance 0.216 vs 0.231) and less saturated. - Light Slate Gray (
lightslategray): Light Slate Gray (#778899) is about as light as Opium (relative luminance 0.238 vs 0.231) and equally saturated, with its hue 150° away. - Slate Gray (
slategray): Slate Gray (#708090) is darker than Opium (relative luminance 0.209 vs 0.231) and equally saturated, with its hue 150° away. - Rosy Brown (
rosybrown): Rosy Brown (#BC8F8F) is lighter than Opium (relative luminance 0.323 vs 0.231) and more saturated, with the same hue.
Similar medium gray colors
- Abandoned Spaceship#747A8A
- Acoustic Brown#766B69
- Alley Cat#656874
- Aloe Tip#8A9480
- Aluminium#848789
- Amorous#967D96
- Anchovy#756F6B
- Archaeology#6E6A5E
- Argent#888888
- Armour#74857F
- Armoury#6A6B65
- Ashen Whisper#646B7A
- Bank Vault#757374
- Bat Wing#7E7466
- Batman#656E72
- Beautiful Darkness#686D70
- Black Mana#858585
- Blue Blood#6B7F81
Questions
What is the hex code for Opium?
#987E7E — RGB 152, 126, 126, HSL 0°, 11%, 55%.
Is Opium a warm or cool color?
Warm — its hue sits at 0° on the color wheel.