#80171A#80171A

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

Color values

HEX#80171A
RGBrgb(128, 23, 26)
HSLhsl(358, 70%, 30%)
HSVhsv(358, 82%, 50%)
CMYKcmyk(0%, 82%, 79.7%, 49.8%)
CIE-LABlab(27.51, 43.64, 27.07)
CIE-LCHlch(27.51, 51.35, 31.81°)
OKLaboklab(39.2% 0.1261 0.0597)
OKLCHoklch(39.2% 0.14 25.3)
XYZxyz(9.3961, 5.2781, 1.5011)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80171A #17807D
analogous
#80174E #80171A #804917
triadic
#80171A #1A8017 #171A80
tetradic
#80171A #4E8017 #17807D #491780
square
#80171A #4E8017 #17807D #491780
split-complementary
#80171A #178049 #174E80
monochromatic
#1A0505 #4C0E0F #80171A #B42025 #DB363B

Accessibility & contrast

On white

10.22
#80171A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80171A
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80171A#FFFFFF#000000##FFFFFF
##80171A1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383219
Deuteranopia (green-blind)
#524916
Tritanopia (blue-blind)
#8E001A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #80171a;
/* rgb */ color: rgb(128, 23, 26);
/* oklch */ color: oklch(39.2% 0.140 25.3);
Tailwind
colors: {
  custom: {
    50: '#ad5f57',
    500: '#80171a',
    950: '#000000',
  },
}
SCSS
$custom: #80171a;
$custom-light: #ad5f57;
$custom-dark: #000000;
JSON
{
  "hex": "#80171a",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 26
  },
  "hsl": {
    "h": 358.286,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.392,
    "c": 0.13951,
    "h": 25.3
  },
  "luminance": 0.05277
}

Semantic roles & 50–950 ramp

primary
#80171A
secondary
#3EB4B1
accent
#ECE73B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #80171A

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

Preview Lab → · Contrast checker → · Palette generator →

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