#8E2222#8E2222

#8E2222 is a dark, vivid red. Relative luminance 0.070; OKLCH L 43.0% C 0.144 H 25.7°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#8E2222
RGBrgb(142, 34, 34)
HSLhsl(0, 61%, 35%)
HSVhsv(0, 76%, 56%)
CMYKcmyk(0%, 76.1%, 76.1%, 44.3%)
CIE-LABlab(31.83, 44.77, 27.72)
CIE-LCHlch(31.83, 52.66, 31.77°)
OKLaboklab(42.97% 0.1297 0.0623)
OKLCHoklch(42.97% 0.144 25.7)
XYZxyz(12.0175, 7.0122, 2.2338)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2222 #228E8E
analogous
#8E2258 #8E2222 #8E5822
triadic
#8E2222 #228E22 #22228E
tetradic
#8E2222 #588E22 #228E8E #58228E
square
#8E2222 #588E22 #228E8E #58228E
split-complementary
#8E2222 #228E58 #22588E
monochromatic
#2B0A0A #5D1616 #8E2222 #BF2E2E #D65454

Accessibility & contrast

On white

8.74
#8E2222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8E2222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2222
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2222#FFFFFF#000000##FFFFFF
##8E22221.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C21
Deuteranopia (green-blind)
#5D531E
Tritanopia (blue-blind)
#9D0023
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e2222;
/* rgb */ color: rgb(142, 34, 34);
/* oklch */ color: oklch(43.0% 0.144 25.7);
Tailwind
colors: {
  custom: {
    50: '#b7665d',
    500: '#8e2222',
    950: '#000000',
  },
}
SCSS
$custom: #8e2222;
$custom-light: #b7665d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2222",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 0,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42965,
    "c": 0.14385,
    "h": 25.7
  },
  "luminance": 0.0701
}

Semantic roles & 50–950 ramp

primary
#8E2222
secondary
#52BABA
accent
#E4E443
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8E2222

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8E2222 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva