Huebook

Opium

Opium is a medium, muted red color with the hex code #987E7E (hue 0°, saturation 11%, lightness 55%).

#987E7E
NameHEXRGBHSLCMYKOKLCH
Opium#987E7E152, 126, 1260°, 11%, 55%0, 17, 17, 4061.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.

Opium
  • HEX#987E7E
  • RGBrgb(152 126 126)
  • HSLhsl(0 11% 55%)

Variations of Opium

Text on Opium

White textThe quick brown fox3.74:1 · AA large text only · AAA fail
Black textThe quick brown fox5.62:1 · AA pass · AAA large text only

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

Normal #987E7E
Protanopia #82817E
Deuteranopia #88867E
Tritanopia #9E7C7E

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

#E8E3E3
#C6B8B8
#A48E8E
#806666
#554444
#2B2222

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.

Nearest CSS named colors

Similar medium gray colors

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.