#8F182A#8F182A

#8F182A is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.4% C 0.152 H 19.4°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#8F182A
RGBrgb(143, 24, 42)
HSLhsl(351, 71%, 33%)
HSVhsv(351, 83%, 56%)
CMYKcmyk(0%, 83.2%, 70.6%, 43.9%)
CIE-LABlab(31.02, 48.65, 21.76)
CIE-LCHlch(31.02, 53.30, 24.10°)
OKLaboklab(42.44% 0.1437 0.0508)
OKLCHoklch(42.44% 0.152 19.4)
XYZxyz(12.0736, 6.6620, 2.8402)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F182A #188F7D
analogous
#8F1866 #8F182A #8F4118
triadic
#8F182A #2A8F18 #182A8F
tetradic
#8F182A #668F18 #188F7D #41188F
square
#8F182A #668F18 #188F7D #41188F
split-complementary
#8F182A #188F41 #18668F
monochromatic
#26060B #5B0F1B #8F182A #C32139 #DF425A

Accessibility & contrast

On white

9.01
#8F182A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8F182A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F182A
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F182A#FFFFFF#000000##FFFFFF
##8F182A1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D392A
Deuteranopia (green-blind)
#5B5226
Tritanopia (blue-blind)
#9E0020
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f182a;
/* rgb */ color: rgb(143, 24, 42);
/* oklch */ color: oklch(42.4% 0.152 19.4);
Tailwind
colors: {
  custom: {
    50: '#b76363',
    500: '#8f182a',
    950: '#000000',
  },
}
SCSS
$custom: #8f182a;
$custom-light: #b76363;
$custom-dark: #000000;
JSON
{
  "hex": "#8f182a",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 42
  },
  "hsl": {
    "h": 350.924,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42439,
    "c": 0.15244,
    "h": 19.4
  },
  "luminance": 0.0666
}

Semantic roles & 50–950 ramp

primary
#8F182A
secondary
#43C0AD
accent
#EED33A
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79

Preview Lab

Preview with #8F182A

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

Preview Lab → · Contrast checker → · Palette generator →

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