#80171B#80171B

#80171B is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.139 H 24.9°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#80171B
RGBrgb(128, 23, 27)
HSLhsl(358, 70%, 30%)
HSVhsv(358, 82%, 50%)
CMYKcmyk(0%, 82%, 78.9%, 49.8%)
CIE-LABlab(27.53, 43.68, 26.46)
CIE-LCHlch(27.53, 51.06, 31.21°)
OKLaboklab(39.21% 0.1264 0.0587)
OKLCHoklch(39.21% 0.139 24.9)
XYZxyz(9.4074, 5.2826, 1.5610)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80171B #17807C
analogous
#801750 #80171B #804717
triadic
#80171B #1B8017 #171B80
tetradic
#80171B #508017 #17807C #471780
square
#80171B #508017 #17807C #471780
split-complementary
#80171B #178047 #175080
monochromatic
#1A0505 #4C0E10 #80171B #B42026 #DB363D

Accessibility & contrast

On white

10.21
#80171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#80171B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80171B
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80171B#FFFFFF#000000##FFFFFF
##80171B1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331A
Deuteranopia (green-blind)
#524917
Tritanopia (blue-blind)
#8D001A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #80171b;
/* rgb */ color: rgb(128, 23, 27);
/* oklch */ color: oklch(39.2% 0.139 24.9);
Tailwind
colors: {
  custom: {
    50: '#ad5f57',
    500: '#80171b',
    950: '#000000',
  },
}
SCSS
$custom: #80171b;
$custom-light: #ad5f57;
$custom-dark: #000000;
JSON
{
  "hex": "#80171b",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 357.714,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39213,
    "c": 0.1394,
    "h": 24.9
  },
  "luminance": 0.05281
}

Semantic roles & 50–950 ramp

primary
#80171B
secondary
#3EB4B0
accent
#ECE63B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #80171B

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

Preview Lab → · Contrast checker → · Palette generator →

#80171B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva