#8F181C#8F181C

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

Color values

HEX#8F181C
RGBrgb(143, 24, 28)
HSLhsl(358, 71%, 33%)
HSVhsv(358, 83%, 56%)
CMYKcmyk(0%, 83.2%, 80.4%, 43.9%)
CIE-LABlab(30.83, 48.05, 30.33)
CIE-LCHlch(30.83, 56.82, 32.26°)
OKLaboklab(42.23% 0.1385 0.0662)
OKLCHoklch(42.23% 0.154 25.5)
XYZxyz(11.8654, 6.5787, 1.7434)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F181C #188F8B
analogous
#8F1858 #8F181C #8F4F18
triadic
#8F181C #1C8F18 #181C8F
tetradic
#8F181C #588F18 #188F8B #4F188F
square
#8F181C #588F18 #188F8B #4F188F
split-complementary
#8F181C #188F4F #18588F
monochromatic
#260607 #5B0F12 #8F181C #C32126 #DF4247

Accessibility & contrast

On white

9.07
#8F181C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8F181C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F181C
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F181C#FFFFFF#000000##FFFFFF
##8F181C1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F381B
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#9E001B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f181c;
/* rgb */ color: rgb(143, 24, 28);
/* oklch */ color: oklch(42.2% 0.154 25.5);
Tailwind
colors: {
  custom: {
    50: '#b96258',
    500: '#8f181c',
    950: '#000000',
  },
}
SCSS
$custom: #8f181c;
$custom-light: #b96258;
$custom-dark: #000000;
JSON
{
  "hex": "#8f181c",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 28
  },
  "hsl": {
    "h": 357.983,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4223,
    "c": 0.15353,
    "h": 25.5
  },
  "luminance": 0.06577
}

Semantic roles & 50–950 ramp

primary
#8F181C
secondary
#43C0BC
accent
#EEE83A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8F181C

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

Preview Lab → · Contrast checker → · Palette generator →

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