#80171F#80171F

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

Color values

HEX#80171F
RGBrgb(128, 23, 31)
HSLhsl(355, 70%, 30%)
HSVhsv(355, 82%, 50%)
CMYKcmyk(0%, 82%, 75.8%, 49.8%)
CIE-LABlab(27.58, 43.85, 23.99)
CIE-LCHlch(27.58, 49.98, 28.68°)
OKLaboklab(39.27% 0.1279 0.0543)
OKLCHoklch(39.27% 0.139 23)
XYZxyz(9.4569, 5.3024, 1.8216)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80171F #178078
analogous
#801753 #80171F #804417
triadic
#80171F #1F8017 #171F80
tetradic
#80171F #538017 #178078 #441780
square
#80171F #538017 #178078 #441780
split-complementary
#80171F #178044 #175380
monochromatic
#1A0506 #4C0E12 #80171F #B4202C #DB3643

Accessibility & contrast

On white

10.19
#80171F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80171F
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80171F#FFFFFF#000000##FFFFFF
##80171F1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331E
Deuteranopia (green-blind)
#52491B
Tritanopia (blue-blind)
#8D001B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #80171f;
/* rgb */ color: rgb(128, 23, 31);
/* oklch */ color: oklch(39.3% 0.139 23.0);
Tailwind
colors: {
  custom: {
    50: '#ad5f5a',
    500: '#80171f',
    950: '#000000',
  },
}
SCSS
$custom: #80171f;
$custom-light: #ad5f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#80171f",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 31
  },
  "hsl": {
    "h": 355.429,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39271,
    "c": 0.13899,
    "h": 23
  },
  "luminance": 0.05301
}

Semantic roles & 50–950 ramp

primary
#80171F
secondary
#3EB4AB
accent
#ECDF3B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120504
muted
#817979

Preview Lab

Preview with #80171F

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

Preview Lab → · Contrast checker → · Palette generator →

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