#8E1D31#8E1D31

#8E1D31 is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.8% C 0.147 H 16.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#8E1D31
RGBrgb(142, 29, 49)
HSLhsl(349, 66%, 34%)
HSVhsv(349, 80%, 56%)
CMYKcmyk(0%, 79.6%, 65.5%, 44.3%)
CIE-LABlab(31.47, 47.26, 17.72)
CIE-LCHlch(31.47, 50.48, 20.56°)
OKLaboklab(42.77% 0.141 0.0426)
OKLCHoklch(42.77% 0.147 16.8)
XYZxyz(12.1504, 6.8531, 3.5881)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D31 #1D8E7A
analogous
#8E1D69 #8E1D31 #8E421D
triadic
#8E1D31 #318E1D #1D318E
tetradic
#8E1D31 #698E1D #1D8E7A #421D8E
square
#8E1D31 #698E1D #1D8E7A #421D8E
split-complementary
#8E1D31 #1D8E42 #1D698E
monochromatic
#28080E #5B131F #8E1D31 #C12743 #DA4B64

Accessibility & contrast

On white

8.86
#8E1D31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8E1D31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D31
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D31#FFFFFF#000000##FFFFFF
##8E1D311.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1d31;
/* rgb */ color: rgb(142, 29, 49);
/* oklch */ color: oklch(42.8% 0.147 16.8);
Tailwind
colors: {
  custom: {
    50: '#b66568',
    500: '#8e1d31',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d31;
$custom-light: #b66568;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d31",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 49
  },
  "hsl": {
    "h": 349.381,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42772,
    "c": 0.14729,
    "h": 16.8
  },
  "luminance": 0.06851
}

Semantic roles & 50–950 ramp

primary
#8E1D31
secondary
#4ABDA8
accent
#E9CB3F
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8E1D31

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

Preview Lab → · Contrast checker → · Palette generator →

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