#804166#804166

#804166 is a mid, moderate pink. Relative luminance 0.093; OKLCH L 46.6% C 0.099 H 345.4°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#804166
RGBrgb(128, 65, 102)
HSLhsl(325, 33%, 38%)
HSVhsv(325, 49%, 50%)
CMYKcmyk(0%, 49.2%, 20.3%, 49.8%)
CIE-LABlab(36.61, 32.09, -9.44)
CIE-LCHlch(36.61, 33.45, 343.60°)
OKLaboklab(46.64% 0.0956 -0.0249)
OKLCHoklch(46.64% 0.099 345.4)
XYZxyz(13.1909, 9.3301, 13.6739)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804166 #41805B
analogous
#7A4180 #804166 #804147
triadic
#804166 #668041 #416680
tetradic
#804166 #807A41 #41805B #414780
square
#804166 #807A41 #41805B #414780
split-complementary
#804166 #478041 #41807A
monochromatic
#2F1825 #572C46 #804166 #A95686 #BD7EA3

Accessibility & contrast

On white

7.33
#804166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#804166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #804166
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804166#FFFFFF#000000##FFFFFF
##8041661.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465067
Deuteranopia (green-blind)
#575A64
Tritanopia (blue-blind)
#87404F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #804166;
/* rgb */ color: rgb(128, 65, 102);
/* oklch */ color: oklch(46.6% 0.099 345.4);
Tailwind
colors: {
  custom: {
    50: '#a77891',
    500: '#804166',
    950: '#000000',
  },
}
SCSS
$custom: #804166;
$custom-light: #a77891;
$custom-dark: #000000;
JSON
{
  "hex": "#804166",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 102
  },
  "hsl": {
    "h": 324.762,
    "s": 32.642,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46638,
    "c": 0.09881,
    "h": 345.4
  },
  "luminance": 0.09329
}

Semantic roles & 50–950 ramp

primary
#804166
secondary
#75A88A
accent
#C98B5F
background
#FAF7F8
surface
#F4EDF0
border
#CEC8CB
text
#10090C
muted
#7F7B7D

Preview Lab

Preview with #804166

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

Preview Lab → · Contrast checker → · Palette generator →

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