#8F1F17#8F1F17

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

Color values

HEX#8F1F17
RGBrgb(143, 31, 23)
HSLhsl(4, 72%, 33%)
HSVhsv(4, 84%, 56%)
CMYKcmyk(0%, 78.3%, 83.9%, 43.9%)
CIE-LABlab(31.54, 45.74, 33.93)
CIE-LCHlch(31.54, 56.95, 36.57°)
OKLaboklab(42.74% 0.1302 0.0723)
OKLCHoklch(42.74% 0.149 29)
XYZxyz(11.9738, 6.8834, 1.5086)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F17 #17878F
analogous
#8F174B #8F1F17 #8F5B17
triadic
#8F1F17 #178F1F #1F178F
tetradic
#8F1F17 #4B8F17 #17878F #5B178F
square
#8F1F17 #4B8F17 #17878F #5B178F
split-complementary
#8F1F17 #178F5B #174B8F
monochromatic
#260806 #5A140F #8F1F17 #C42A1F #E04B40

Accessibility & contrast

On white

8.84
#8F1F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8F1F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F17
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F17#FFFFFF#000000##FFFFFF
##8F1F171.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B15
Deuteranopia (green-blind)
#5E5311
Tritanopia (blue-blind)
#9E001F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f1f17;
/* rgb */ color: rgb(143, 31, 23);
/* oklch */ color: oklch(42.7% 0.149 29.0);
Tailwind
colors: {
  custom: {
    50: '#b96555',
    500: '#8f1f17',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f17;
$custom-light: #b96555;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f17",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 23
  },
  "hsl": {
    "h": 4,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42743,
    "c": 0.14893,
    "h": 29
  },
  "luminance": 0.06881
}

Semantic roles & 50–950 ramp

primary
#8F1F17
secondary
#41B8C1
accent
#E3EF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8F1F17

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

Preview Lab → · Contrast checker → · Palette generator →

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