#80171C#80171C

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

Color values

HEX#80171C
RGBrgb(128, 23, 28)
HSLhsl(357, 70%, 30%)
HSVhsv(357, 82%, 50%)
CMYKcmyk(0%, 82%, 78.1%, 49.8%)
CIE-LABlab(27.54, 43.72, 25.84)
CIE-LCHlch(27.54, 50.79, 30.59°)
OKLaboklab(39.23% 0.1268 0.0576)
OKLCHoklch(39.23% 0.139 24.4)
XYZxyz(9.4192, 5.2873, 1.6230)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80171C #17807B
analogous
#801751 #80171C #804717
triadic
#80171C #1C8017 #171C80
tetradic
#80171C #518017 #17807B #471780
square
#80171C #518017 #17807B #471780
split-complementary
#80171C #178047 #175180
monochromatic
#1A0506 #4C0E11 #80171C #B42027 #DB363E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##80171C#FFFFFF#000000##FFFFFF
##80171C1.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)
#38331B
Deuteranopia (green-blind)
#524918
Tritanopia (blue-blind)
#8D001A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #80171c;
/* rgb */ color: rgb(128, 23, 28);
/* oklch */ color: oklch(39.2% 0.139 24.4);
Tailwind
colors: {
  custom: {
    50: '#ad5f58',
    500: '#80171c',
    950: '#000000',
  },
}
SCSS
$custom: #80171c;
$custom-light: #ad5f58;
$custom-dark: #000000;
JSON
{
  "hex": "#80171c",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 28
  },
  "hsl": {
    "h": 357.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39227,
    "c": 0.13929,
    "h": 24.4
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#80171C
secondary
#3EB4AF
accent
#ECE43B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #80171C

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

Preview Lab → · Contrast checker → · Palette generator →

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