#8E1E31#8E1E31

#8E1E31 is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.9% C 0.146 H 17.1°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#8E1E31
RGBrgb(142, 30, 49)
HSLhsl(350, 65%, 34%)
HSVhsv(350, 79%, 56%)
CMYKcmyk(0%, 78.9%, 65.5%, 44.3%)
CIE-LABlab(31.58, 46.94, 17.87)
CIE-LCHlch(31.58, 50.23, 20.84°)
OKLaboklab(42.86% 0.14 0.0429)
OKLCHoklch(42.86% 0.146 17.1)
XYZxyz(12.1753, 6.9029, 3.5964)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E31 #1E8E7B
analogous
#8E1E69 #8E1E31 #8E431E
triadic
#8E1E31 #318E1E #1E318E
tetradic
#8E1E31 #698E1E #1E8E7B #431E8E
square
#8E1E31 #698E1E #1E8E7B #431E8E
split-complementary
#8E1E31 #1E8E43 #1E698E
monochromatic
#29090E #5B1320 #8E1E31 #C12942 #D94D65

Accessibility & contrast

On white

8.82
#8E1E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8E1E31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E31
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E31#FFFFFF#000000##FFFFFF
##8E1E311.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B31
Deuteranopia (green-blind)
#5B532E
Tritanopia (blue-blind)
#9C0026
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1e31;
/* rgb */ color: rgb(142, 30, 49);
/* oklch */ color: oklch(42.9% 0.146 17.1);
Tailwind
colors: {
  custom: {
    50: '#b66568',
    500: '#8e1e31',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e31;
$custom-light: #b66568;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e31",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 49
  },
  "hsl": {
    "h": 349.821,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42857,
    "c": 0.1464,
    "h": 17.1
  },
  "luminance": 0.06901
}

Semantic roles & 50–950 ramp

primary
#8E1E31
secondary
#4CBCA9
accent
#E8CC40
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8E1E31

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

Preview Lab → · Contrast checker → · Palette generator →

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