#804060#804060

#804060 is a mid, moderate pink. Relative luminance 0.091; OKLCH L 46.2% C 0.097 H 350.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#804060
RGBrgb(128, 64, 96)
HSLhsl(330, 33%, 38%)
HSVhsv(330, 50%, 50%)
CMYKcmyk(0%, 50%, 25%, 49.8%)
CIE-LABlab(36.18, 31.69, -6.31)
CIE-LCHlch(36.18, 32.31, 348.74°)
OKLaboklab(46.24% 0.0953 -0.0164)
OKLCHoklch(46.24% 0.097 350.2)
XYZxyz(12.8472, 9.1016, 12.1442)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804060 #408060
analogous
#804080 #804060 #804040
triadic
#804060 #608040 #406080
tetradic
#804060 #808040 #408060 #404080
square
#804060 #808040 #408060 #404080
split-complementary
#804060 #408040 #408080
monochromatic
#2E1723 #572C41 #804060 #A9547F #BE7D9D

Accessibility & contrast

On white

7.45
#804060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#804060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #804060
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804060#FFFFFF#000000##FFFFFF
##8040601.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474E61
Deuteranopia (green-blind)
#58595E
Tritanopia (blue-blind)
#883E4C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #804060;
/* rgb */ color: rgb(128, 64, 96);
/* oklch */ color: oklch(46.2% 0.097 350.2);
Tailwind
colors: {
  custom: {
    50: '#a7778d',
    500: '#804060',
    950: '#000000',
  },
}
SCSS
$custom: #804060;
$custom-light: #a7778d;
$custom-dark: #000000;
JSON
{
  "hex": "#804060",
  "rgb": {
    "r": 128,
    "g": 64,
    "b": 96
  },
  "hsl": {
    "h": 330,
    "s": 33.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46241,
    "c": 0.09669,
    "h": 350.2
  },
  "luminance": 0.09101
}

Semantic roles & 50–950 ramp

primary
#804060
secondary
#74A88E
accent
#C9945E
background
#FAF7F8
surface
#F4EDF0
border
#CEC8CB
text
#10090C
muted
#7F7B7D

Preview Lab

Preview with #804060

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

Preview Lab → · Contrast checker → · Palette generator →

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