#8E1831#8E1831

#8E1831 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.4% C 0.151 H 15.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#8E1831
RGBrgb(142, 24, 49)
HSLhsl(347, 71%, 33%)
HSVhsv(347, 83%, 56%)
CMYKcmyk(0%, 83.1%, 65.5%, 44.3%)
CIE-LABlab(30.94, 48.75, 17.04)
CIE-LCHlch(30.94, 51.64, 19.27°)
OKLaboklab(42.38% 0.1458 0.041)
OKLCHoklch(42.38% 0.151 15.7)
XYZxyz(12.0377, 6.6277, 3.5506)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1831 #188E75
analogous
#8E186C #8E1831 #8E3A18
triadic
#8E1831 #318E18 #18318E
tetradic
#8E1831 #6C8E18 #188E75 #3A188E
square
#8E1831 #6C8E18 #188E75 #3A188E
split-complementary
#8E1831 #188E3A #186C8E
monochromatic
#25060D #5A0F1F #8E1831 #C22143 #DF4163

Accessibility & contrast

On white

9.03
#8E1831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8E1831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1831
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1831#FFFFFF#000000##FFFFFF
##8E18311.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3931
Deuteranopia (green-blind)
#59522E
Tritanopia (blue-blind)
#9C0023
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1831;
/* rgb */ color: rgb(142, 24, 49);
/* oklch */ color: oklch(42.4% 0.151 15.7);
Tailwind
colors: {
  custom: {
    50: '#b66368',
    500: '#8e1831',
    950: '#000000',
  },
}
SCSS
$custom: #8e1831;
$custom-light: #b66368;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1831",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 49
  },
  "hsl": {
    "h": 347.288,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42383,
    "c": 0.15145,
    "h": 15.7
  },
  "luminance": 0.06626
}

Semantic roles & 50–950 ramp

primary
#8E1831
secondary
#42C0A5
accent
#EEC83A
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8E1831

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

Preview Lab → · Contrast checker → · Palette generator →

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