#804173#804173

#804173 is a mid, moderate pink. Relative luminance 0.096; OKLCH L 47.2% C 0.109 H 335.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#804173
RGBrgb(128, 65, 115)
HSLhsl(312, 33%, 38%)
HSVhsv(312, 49%, 50%)
CMYKcmyk(0%, 49.2%, 10.2%, 49.8%)
CIE-LABlab(37.13, 34.33, -16.80)
CIE-LCHlch(37.13, 38.23, 333.92°)
OKLaboklab(47.2% 0.0993 -0.0454)
OKLCHoklch(47.2% 0.109 335.4)
XYZxyz(13.8869, 9.6085, 17.3395)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804173 #41804E
analogous
#6D4180 #804173 #804153
triadic
#804173 #738041 #417380
tetradic
#804173 #806D41 #41804E #415380
square
#804173 #806D41 #41804E #415380
split-complementary
#804173 #538041 #41806D
monochromatic
#2F182A #572C4F #804173 #A95697 #BD7EB0

Accessibility & contrast

On white

7.19
#804173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#804173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #804173
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804173#FFFFFF#000000##FFFFFF
##8041731.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415175
Deuteranopia (green-blind)
#535B71
Tritanopia (blue-blind)
#854454
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #804173;
/* rgb */ color: rgb(128, 65, 115);
/* oklch */ color: oklch(47.2% 0.109 335.4);
Tailwind
colors: {
  custom: {
    50: '#a6789b',
    500: '#804173',
    950: '#000000',
  },
}
SCSS
$custom: #804173;
$custom-light: #a6789b;
$custom-dark: #000000;
JSON
{
  "hex": "#804173",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 115
  },
  "hsl": {
    "h": 312.381,
    "s": 32.642,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47196,
    "c": 0.10919,
    "h": 335.4
  },
  "luminance": 0.09608
}

Semantic roles & 50–950 ramp

primary
#804173
secondary
#75A87F
accent
#C9755F
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#10090E
muted
#7F7B7E

Preview Lab

Preview with #804173

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

Preview Lab → · Contrast checker → · Palette generator →

#804173 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva