#8E1D39#8E1D39

#8E1D39 is a dark, vivid red. Relative luminance 0.069; OKLCH L 43.0% C 0.148 H 12.3°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#8E1D39
RGBrgb(142, 29, 57)
HSLhsl(345, 66%, 34%)
HSVhsv(345, 80%, 56%)
CMYKcmyk(0%, 79.6%, 59.9%, 44.3%)
CIE-LABlab(31.64, 47.80, 12.70)
CIE-LCHlch(31.64, 49.46, 14.87°)
OKLaboklab(42.95% 0.1443 0.0315)
OKLCHoklch(42.95% 0.148 12.3)
XYZxyz(12.3345, 6.9267, 4.5576)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D39 #1D8E72
analogous
#8E1D71 #8E1D39 #8E391D
triadic
#8E1D39 #398E1D #1D398E
tetradic
#8E1D39 #718E1D #1D8E72 #391D8E
square
#8E1D39 #718E1D #1D8E72 #391D8E
split-complementary
#8E1D39 #1D8E39 #1D718E
monochromatic
#280810 #5B1325 #8E1D39 #C1274D #DA4B6F

Accessibility & contrast

On white

8.81
#8E1D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8E1D39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D39
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D39#FFFFFF#000000##FFFFFF
##8E1D391.008.812.398.81
#FFFFFF8.811.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3C39
Deuteranopia (green-blind)
#595336
Tritanopia (blue-blind)
#9C0029
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1d39;
/* rgb */ color: rgb(142, 29, 57);
/* oklch */ color: oklch(43.0% 0.148 12.3);
Tailwind
colors: {
  custom: {
    50: '#b5656f',
    500: '#8e1d39',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d39;
$custom-light: #b5656f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d39",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 57
  },
  "hsl": {
    "h": 345.133,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42952,
    "c": 0.1477,
    "h": 12.3
  },
  "luminance": 0.06925
}

Semantic roles & 50–950 ramp

primary
#8E1D39
secondary
#4ABDA0
accent
#E9BF3F
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1D39

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

Preview Lab → · Contrast checker → · Palette generator →

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