#8F1817#8F1817

#8F1817 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.2% C 0.154 H 27.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#8F1817
RGBrgb(143, 24, 23)
HSLhsl(1, 72%, 33%)
HSVhsv(1, 84%, 56%)
CMYKcmyk(0%, 83.2%, 83.9%, 43.9%)
CIE-LABlab(30.78, 47.89, 33.20)
CIE-LCHlch(30.78, 58.27, 34.73°)
OKLaboklab(42.18% 0.1369 0.0707)
OKLCHoklch(42.18% 0.154 27.3)
XYZxyz(11.8105, 6.5567, 1.4542)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1817 #178E8F
analogous
#8F1752 #8F1817 #8F5417
triadic
#8F1817 #178F18 #18178F
tetradic
#8F1817 #528F17 #178E8F #54178F
square
#8F1817 #528F17 #178E8F #54178F
split-complementary
#8F1817 #178F54 #17528F
monochromatic
#260606 #5A0F0F #8F1817 #C4211F #E04140

Accessibility & contrast

On white

9.09
#8F1817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8F1817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1817
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1817#FFFFFF#000000##FFFFFF
##8F18171.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3815
Deuteranopia (green-blind)
#5C5211
Tritanopia (blue-blind)
#9E001A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8f1817;
/* rgb */ color: rgb(143, 24, 23);
/* oklch */ color: oklch(42.2% 0.154 27.3);
Tailwind
colors: {
  custom: {
    50: '#b96255',
    500: '#8f1817',
    950: '#000000',
  },
}
SCSS
$custom: #8f1817;
$custom-light: #b96255;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1817",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 0.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42175,
    "c": 0.1541,
    "h": 27.3
  },
  "luminance": 0.06555
}

Semantic roles & 50–950 ramp

primary
#8F1817
secondary
#41C0C1
accent
#EDEF39
background
#FCF6F5
surface
#F8EBE8
border
#D1C6C4
text
#130603
muted
#827A78

Preview Lab

Preview with #8F1817

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

Preview Lab → · Contrast checker → · Palette generator →

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