#8E1F23#8E1F23

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

Color values

HEX#8E1F23
RGBrgb(142, 31, 35)
HSLhsl(358, 64%, 34%)
HSVhsv(358, 78%, 56%)
CMYKcmyk(0%, 78.2%, 75.4%, 44.3%)
CIE-LABlab(31.47, 45.86, 26.69)
CIE-LCHlch(31.47, 53.07, 30.20°)
OKLaboklab(42.7% 0.1333 0.0603)
OKLCHoklch(42.7% 0.146 24.3)
XYZxyz(11.9501, 6.8540, 2.2835)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F23 #1F8E8A
analogous
#8E1F5B #8E1F23 #8E531F
triadic
#8E1F23 #238E1F #1F238E
tetradic
#8E1F23 #5B8E1F #1F8E8A #531F8E
square
#8E1F23 #5B8E1F #1F8E8A #531F8E
split-complementary
#8E1F23 #1F8E53 #1F5B8E
monochromatic
#2A090A #5C1417 #8E1F23 #C02A2F #D94F54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1F23#FFFFFF#000000##FFFFFF
##8E1F231.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)
#413B22
Deuteranopia (green-blind)
#5C531F
Tritanopia (blue-blind)
#9D0022
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1f23;
/* rgb */ color: rgb(142, 31, 35);
/* oklch */ color: oklch(42.7% 0.146 24.3);
Tailwind
colors: {
  custom: {
    50: '#b7655e',
    500: '#8e1f23',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f23;
$custom-light: #b7655e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f23",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 35
  },
  "hsl": {
    "h": 357.838,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42699,
    "c": 0.14634,
    "h": 24.3
  },
  "luminance": 0.06852
}

Semantic roles & 50–950 ramp

primary
#8E1F23
secondary
#4DBBB7
accent
#E7E141
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8E1F23

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

Preview Lab → · Contrast checker → · Palette generator →

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