#8E1B31#8E1B31

#8E1B31 is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.6% C 0.149 H 16.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#8E1B31
RGBrgb(142, 27, 49)
HSLhsl(349, 68%, 33%)
HSVhsv(349, 81%, 56%)
CMYKcmyk(0%, 81%, 65.5%, 44.3%)
CIE-LABlab(31.25, 47.88, 17.44)
CIE-LCHlch(31.25, 50.96, 20.01°)
OKLaboklab(42.61% 0.143 0.0419)
OKLCHoklch(42.61% 0.149 16.3)
XYZxyz(12.1029, 6.7582, 3.5723)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B31 #1B8E78
analogous
#8E1B6A #8E1B31 #8E3F1B
triadic
#8E1B31 #318E1B #1B318E
tetradic
#8E1B31 #6A8E1B #1B8E78 #3F1B8E
square
#8E1B31 #6A8E1B #1B8E78 #3F1B8E
split-complementary
#8E1B31 #1B8E3F #1B6A8E
monochromatic
#27070E #5B111F #8E1B31 #C12543 #DC4764

Accessibility & contrast

On white

8.93
#8E1B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8E1B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B31
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B31#FFFFFF#000000##FFFFFF
##8E1B311.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3A31
Deuteranopia (green-blind)
#5A522E
Tritanopia (blue-blind)
#9C0025
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1b31;
/* rgb */ color: rgb(142, 27, 49);
/* oklch */ color: oklch(42.6% 0.149 16.3);
Tailwind
colors: {
  custom: {
    50: '#b66468',
    500: '#8e1b31',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b31;
$custom-light: #b66468;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b31",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 49
  },
  "hsl": {
    "h": 348.522,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42609,
    "c": 0.14901,
    "h": 16.3
  },
  "luminance": 0.06756
}

Semantic roles & 50–950 ramp

primary
#8E1B31
secondary
#47BEA7
accent
#EBCA3D
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8E1B31

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

Preview Lab → · Contrast checker → · Palette generator →

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