#8E2217#8E2217

#8E2217 is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.8% C 0.145 H 30.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#8E2217
RGBrgb(142, 34, 23)
HSLhsl(6, 72%, 32%)
HSVhsv(6, 84%, 56%)
CMYKcmyk(0%, 76.1%, 83.8%, 44.3%)
CIE-LABlab(31.71, 44.36, 34.02)
CIE-LCHlch(31.71, 55.91, 37.49°)
OKLaboklab(42.84% 0.126 0.0726)
OKLCHoklch(42.84% 0.145 30)
XYZxyz(11.8834, 6.9586, 1.5279)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2217 #17838E
analogous
#8E1748 #8E2217 #8E5D17
triadic
#8E2217 #178E22 #22178E
tetradic
#8E2217 #488E17 #17838E #5D178E
square
#8E2217 #488E17 #17838E #5D178E
split-complementary
#8E2217 #178E5D #17488E
monochromatic
#250906 #59150E #8E2217 #C32F20 #E04E3F

Accessibility & contrast

On white

8.78
#8E2217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2217
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2217#FFFFFF#000000##FFFFFF
##8E22171.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B14
Deuteranopia (green-blind)
#5E5311
Tritanopia (blue-blind)
#9D0021
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e2217;
/* rgb */ color: rgb(142, 34, 23);
/* oklch */ color: oklch(42.8% 0.145 30.0);
Tailwind
colors: {
  custom: {
    50: '#b86655',
    500: '#8e2217',
    950: '#000000',
  },
}
SCSS
$custom: #8e2217;
$custom-light: #b86655;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2217",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 23
  },
  "hsl": {
    "h": 5.546,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42835,
    "c": 0.14543,
    "h": 30
  },
  "luminance": 0.06957
}

Semantic roles & 50–950 ramp

primary
#8E2217
secondary
#40B4C0
accent
#DEEF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8E2217

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

Preview Lab → · Contrast checker → · Palette generator →

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