#8F1818#8F1818

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

Color values

HEX#8F1818
RGBrgb(143, 24, 24)
HSLhsl(0, 71%, 33%)
HSVhsv(0, 83%, 56%)
CMYKcmyk(0%, 83.2%, 83.2%, 43.9%)
CIE-LABlab(30.79, 47.92, 32.64)
CIE-LCHlch(30.79, 57.97, 34.26°)
OKLaboklab(42.19% 0.1372 0.0698)
OKLCHoklch(42.19% 0.154 27)
XYZxyz(11.8207, 6.5608, 1.5079)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1818 #188F8F
analogous
#8F1853 #8F1818 #8F5318
triadic
#8F1818 #188F18 #18188F
tetradic
#8F1818 #538F18 #188F8F #53188F
square
#8F1818 #538F18 #188F8F #53188F
split-complementary
#8F1818 #188F53 #18538F
monochromatic
#260606 #5B0F0F #8F1818 #C32121 #DF4242

Accessibility & contrast

On white

9.08
#8F1818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1818
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1818#FFFFFF#000000##FFFFFF
##8F18181.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f1818;
/* rgb */ color: rgb(143, 24, 24);
/* oklch */ color: oklch(42.2% 0.154 27.0);
Tailwind
colors: {
  custom: {
    50: '#b96256',
    500: '#8f1818',
    950: '#000000',
  },
}
SCSS
$custom: #8f1818;
$custom-light: #b96256;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1818",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 24
  },
  "hsl": {
    "h": 0,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42185,
    "c": 0.15398,
    "h": 27
  },
  "luminance": 0.06559
}

Semantic roles & 50–950 ramp

primary
#8F1818
secondary
#43C0C0
accent
#EEEE3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8F1818

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

Preview Lab → · Contrast checker → · Palette generator →

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