#8E1F20#8E1F20

#8E1F20 is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.7% C 0.147 H 25.6°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#8E1F20
RGBrgb(142, 31, 32)
HSLhsl(359, 64%, 34%)
HSVhsv(359, 78%, 56%)
CMYKcmyk(0%, 78.2%, 77.5%, 44.3%)
CIE-LABlab(31.43, 45.73, 28.50)
CIE-LCHlch(31.43, 53.89, 31.93°)
OKLaboklab(42.66% 0.1323 0.0635)
OKLCHoklch(42.66% 0.147 25.6)
XYZxyz(11.9074, 6.8369, 2.0589)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F20 #1F8E8D
analogous
#8E1F58 #8E1F20 #8E561F
triadic
#8E1F20 #208E1F #1F208E
tetradic
#8E1F20 #588E1F #1F8E8D #561F8E
square
#8E1F20 #588E1F #1F8E8D #561F8E
split-complementary
#8E1F20 #1F8E56 #1F588E
monochromatic
#2A0909 #5C1415 #8E1F20 #C02A2B #D94F50

Accessibility & contrast

On white

8.87
#8E1F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1F20
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F20#FFFFFF#000000##FFFFFF
##8E1F201.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B1F
Deuteranopia (green-blind)
#5C531C
Tritanopia (blue-blind)
#9D0021
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1f20;
/* rgb */ color: rgb(142, 31, 32);
/* oklch */ color: oklch(42.7% 0.147 25.6);
Tailwind
colors: {
  custom: {
    50: '#b7655c',
    500: '#8e1f20',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f20;
$custom-light: #b7655c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f20",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 32
  },
  "hsl": {
    "h": 359.459,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42657,
    "c": 0.1467,
    "h": 25.6
  },
  "luminance": 0.06835
}

Semantic roles & 50–950 ramp

primary
#8E1F20
secondary
#4DBBBA
accent
#E7E641
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8E1F20

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

Preview Lab → · Contrast checker → · Palette generator →

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