#804872#804872

#804872 is a mid, moderate pink. Relative luminance 0.104; OKLCH L 48.3% C 0.095 H 336.9°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#804872
RGBrgb(128, 72, 114)
HSLhsl(315, 28%, 39%)
HSVhsv(315, 44%, 50%)
CMYKcmyk(0%, 43.8%, 10.9%, 49.8%)
CIE-LABlab(38.62, 30.23, -13.90)
CIE-LCHlch(38.62, 33.27, 335.30°)
OKLaboklab(48.3% 0.0877 -0.0373)
OKLCHoklch(48.3% 0.095 336.9)
XYZxyz(14.2567, 10.4397, 17.1805)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804872 #488056
analogous
#724880 #804872 #804856
triadic
#804872 #728048 #487280
tetradic
#804872 #807248 #488056 #485680
square
#804872 #807248 #488056 #485680
split-complementary
#804872 #568048 #488072
monochromatic
#321C2C #59324F #804872 #A56094 #BB87AE

Accessibility & contrast

On white

6.80
#804872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#804872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804872
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804872#FFFFFF#000000##FFFFFF
##8048721.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495674
Deuteranopia (green-blind)
#585E70
Tritanopia (blue-blind)
#854A58
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #804872;
/* rgb */ color: rgb(128, 72, 114);
/* oklch */ color: oklch(48.3% 0.095 336.9);
Tailwind
colors: {
  custom: {
    50: '#a67c9a',
    500: '#804872',
    950: '#000000',
  },
}
SCSS
$custom: #804872;
$custom-light: #a67c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#804872",
  "rgb": {
    "r": 128,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 315,
    "s": 28,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48298,
    "c": 0.09527,
    "h": 336.9
  },
  "luminance": 0.10439
}

Semantic roles & 50–950 ramp

primary
#804872
secondary
#7DA787
accent
#C47C63
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #804872

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

Preview Lab → · Contrast checker → · Palette generator →

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