#8E2229#8E2229

#8E2229 is a dark, vivid red. Relative luminance 0.071; OKLCH L 43.1% C 0.143 H 22.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#8E2229
RGBrgb(142, 34, 41)
HSLhsl(356, 61%, 35%)
HSVhsv(356, 76%, 56%)
CMYKcmyk(0%, 76.1%, 71.1%, 44.3%)
CIE-LABlab(31.94, 45.11, 23.47)
CIE-LCHlch(31.94, 50.85, 27.49°)
OKLaboklab(43.07% 0.1323 0.0544)
OKLCHoklch(43.07% 0.143 22.4)
XYZxyz(12.1289, 7.0568, 2.8208)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2229 #228E87
analogous
#8E225F #8E2229 #8E5122
triadic
#8E2229 #298E22 #22298E
tetradic
#8E2229 #5F8E22 #228E87 #51228E
square
#8E2229 #5F8E22 #228E87 #51228E
split-complementary
#8E2229 #228E51 #225F8E
monochromatic
#2B0A0C #5D161B #8E2229 #BF2E37 #D6545D

Accessibility & contrast

On white

8.71
#8E2229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8E2229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2229
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2229#FFFFFF#000000##FFFFFF
##8E22291.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C28
Deuteranopia (green-blind)
#5C5326
Tritanopia (blue-blind)
#9C0026
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e2229;
/* rgb */ color: rgb(142, 34, 41);
/* oklch */ color: oklch(43.1% 0.143 22.4);
Tailwind
colors: {
  custom: {
    50: '#b66662',
    500: '#8e2229',
    950: '#000000',
  },
}
SCSS
$custom: #8e2229;
$custom-light: #b66662;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2229",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 41
  },
  "hsl": {
    "h": 356.111,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43073,
    "c": 0.14307,
    "h": 22.4
  },
  "luminance": 0.07055
}

Semantic roles & 50–950 ramp

primary
#8E2229
secondary
#52BAB3
accent
#E4DA43
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79

Preview Lab

Preview with #8E2229

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

Preview Lab → · Contrast checker → · Palette generator →

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