#80172F#80172F

#80172F is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.6% C 0.139 H 14.1°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#80172F
RGBrgb(128, 23, 47)
HSLhsl(346, 70%, 30%)
HSVhsv(346, 82%, 50%)
CMYKcmyk(0%, 82%, 63.3%, 49.8%)
CIE-LABlab(27.87, 44.75, 13.78)
CIE-LCHlch(27.87, 46.82, 17.12°)
OKLaboklab(39.58% 0.1345 0.0337)
OKLCHoklch(39.58% 0.139 14.1)
XYZxyz(9.7226, 5.4087, 3.2208)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80172F #178068
analogous
#801763 #80172F #803417
triadic
#80172F #2F8017 #172F80
tetradic
#80172F #638017 #178068 #341780
square
#80172F #638017 #178068 #341780
split-complementary
#80172F #178034 #176380
monochromatic
#1A050A #4C0E1C #80172F #B42042 #DB365C

Accessibility & contrast

On white

10.09
#80172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#80172F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80172F
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80172F#FFFFFF#000000##FFFFFF
##80172F1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35342F
Deuteranopia (green-blind)
#504A2C
Tritanopia (blue-blind)
#8D0021
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #80172f;
/* rgb */ color: rgb(128, 23, 47);
/* oklch */ color: oklch(39.6% 0.139 14.1);
Tailwind
colors: {
  custom: {
    50: '#ab6067',
    500: '#80172f',
    950: '#000000',
  },
}
SCSS
$custom: #80172f;
$custom-light: #ab6067;
$custom-dark: #000000;
JSON
{
  "hex": "#80172f",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 346.286,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39578,
    "c": 0.13864,
    "h": 14.1
  },
  "luminance": 0.05407
}

Semantic roles & 50–950 ramp

primary
#80172F
secondary
#3EB499
accent
#ECC43B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #80172F

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

Preview Lab → · Contrast checker → · Palette generator →

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