#804871#804871

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

Color values

HEX#804871
RGBrgb(128, 72, 113)
HSLhsl(316, 28%, 39%)
HSVhsv(316, 44%, 50%)
CMYKcmyk(0%, 43.8%, 11.7%, 49.8%)
CIE-LABlab(38.58, 30.05, -13.34)
CIE-LCHlch(38.58, 32.88, 336.06°)
OKLaboklab(48.26% 0.0874 -0.0357)
OKLCHoklch(48.26% 0.094 337.7)
XYZxyz(14.2001, 10.4170, 16.8823)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804871 #488057
analogous
#734880 #804871 #804855
triadic
#804871 #718048 #487180
tetradic
#804871 #807348 #488057 #485580
square
#804871 #807348 #488057 #485580
split-complementary
#804871 #558048 #488073
monochromatic
#321C2C #59324E #804871 #A56093 #BB87AD

Accessibility & contrast

On white

6.81
#804871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#804871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804871
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804871#FFFFFF#000000##FFFFFF
##8048711.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495672
Deuteranopia (green-blind)
#585E6F
Tritanopia (blue-blind)
#864A57
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #804871;
/* rgb */ color: rgb(128, 72, 113);
/* oklch */ color: oklch(48.3% 0.094 337.7);
Tailwind
colors: {
  custom: {
    50: '#a67c9a',
    500: '#804871',
    950: '#000000',
  },
}
SCSS
$custom: #804871;
$custom-light: #a67c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#804871",
  "rgb": {
    "r": 128,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 316.071,
    "s": 28,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48255,
    "c": 0.0944,
    "h": 337.7
  },
  "luminance": 0.10416
}

Semantic roles & 50–950 ramp

primary
#804871
secondary
#7DA788
accent
#C47D63
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #804871

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

Preview Lab → · Contrast checker → · Palette generator →

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