#8F1217#8F1217

#8F1217 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.8% C 0.158 H 26.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#8F1217
RGBrgb(143, 18, 23)
HSLhsl(358, 78%, 32%)
HSVhsv(358, 87%, 56%)
CMYKcmyk(0%, 87.4%, 83.9%, 43.9%)
CIE-LABlab(30.25, 49.39, 32.68)
CIE-LCHlch(30.25, 59.23, 33.49°)
OKLaboklab(41.78% 0.1417 0.0695)
OKLCHoklch(41.78% 0.158 26.1)
XYZxyz(11.7001, 6.3361, 1.4174)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1217 #128F8A
analogous
#8F1256 #8F1217 #8F4C12
triadic
#8F1217 #178F12 #12178F
tetradic
#8F1217 #568F12 #128F8A #4C128F
square
#8F1217 #568F12 #128F8A #4C128F
split-complementary
#8F1217 #128F4C #12568F
monochromatic
#220406 #590B0E #8F1217 #C51920 #E6363D

Accessibility & contrast

On white

9.26
#8F1217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#8F1217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1217
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1217#FFFFFF#000000##FFFFFF
##8F12171.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3615
Deuteranopia (green-blind)
#5B5110
Tritanopia (blue-blind)
#9E0016
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8f1217;
/* rgb */ color: rgb(143, 18, 23);
/* oklch */ color: oklch(41.8% 0.158 26.1);
Tailwind
colors: {
  custom: {
    50: '#b96055',
    500: '#8f1217',
    950: '#000000',
  },
}
SCSS
$custom: #8f1217;
$custom-light: #b96055;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1217",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 23
  },
  "hsl": {
    "h": 357.6,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41781,
    "c": 0.15783,
    "h": 26.1
  },
  "luminance": 0.06334
}

Semantic roles & 50–950 ramp

primary
#8F1217
secondary
#3AC3BE
accent
#F4EC34
background
#FCF6F4
surface
#F8EBE8
border
#D1C6C4
text
#130503
muted
#827A78

Preview Lab

Preview with #8F1217

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

Preview Lab → · Contrast checker → · Palette generator →

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