#80173A#80173A

#80173A is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.140 H 7.1°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#80173A
RGBrgb(128, 23, 58)
HSLhsl(340, 70%, 30%)
HSVhsv(340, 82%, 50%)
CMYKcmyk(0%, 82%, 54.7%, 49.8%)
CIE-LABlab(28.14, 45.58, 6.75)
CIE-LCHlch(28.14, 46.08, 8.42°)
OKLaboklab(39.86% 0.139 0.0174)
OKLCHoklch(39.86% 0.14 7.1)
XYZxyz(9.9731, 5.5089, 4.5403)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80173A #17805D
analogous
#80176F #80173A #802917
triadic
#80173A #3A8017 #173A80
tetradic
#80173A #6F8017 #17805D #291780
square
#80173A #6F8017 #17805D #291780
split-complementary
#80173A #178029 #176F80
monochromatic
#1A050C #4C0E22 #80173A #B42052 #DB366D

Accessibility & contrast

On white

9.99
#80173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#80173A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80173A
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80173A#FFFFFF#000000##FFFFFF
##80173A1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33353B
Deuteranopia (green-blind)
#4E4A37
Tritanopia (blue-blind)
#8C0026
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #80173a;
/* rgb */ color: rgb(128, 23, 58);
/* oklch */ color: oklch(39.9% 0.140 7.1);
Tailwind
colors: {
  custom: {
    50: '#ab606f',
    500: '#80173a',
    950: '#000000',
  },
}
SCSS
$custom: #80173a;
$custom-light: #ab606f;
$custom-dark: #000000;
JSON
{
  "hex": "#80173a",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 340,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39864,
    "c": 0.14011,
    "h": 7.1
  },
  "luminance": 0.05507
}

Semantic roles & 50–950 ramp

primary
#80173A
secondary
#3EB48D
accent
#ECB13B
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #80173A

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

Preview Lab → · Contrast checker → · Palette generator →

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