#804971#804971

#804971 is a mid, moderate pink. Relative luminance 0.105; OKLCH L 48.4% C 0.093 H 337.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#804971
RGBrgb(128, 73, 113)
HSLhsl(316, 27%, 39%)
HSVhsv(316, 43%, 50%)
CMYKcmyk(0%, 43%, 11.7%, 49.8%)
CIE-LABlab(38.81, 29.48, -13.00)
CIE-LCHlch(38.81, 32.21, 336.21°)
OKLaboklab(48.43% 0.0857 -0.0348)
OKLCHoklch(48.43% 0.093 337.9)
XYZxyz(14.2653, 10.5474, 16.9041)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804971 #498058
analogous
#744980 #804971 #804956
triadic
#804971 #718049 #497180
tetradic
#804971 #807449 #498058 #495680
square
#804971 #807449 #498058 #495680
split-complementary
#804971 #568049 #498074
monochromatic
#321D2C #59334F #804971 #A56193 #BB88AD

Accessibility & contrast

On white

6.75
#804971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#804971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804971
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804971#FFFFFF#000000##FFFFFF
##8049711.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5672
Deuteranopia (green-blind)
#595E6F
Tritanopia (blue-blind)
#854B58
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #804971;
/* rgb */ color: rgb(128, 73, 113);
/* oklch */ color: oklch(48.4% 0.093 337.9);
Tailwind
colors: {
  custom: {
    50: '#a67d99',
    500: '#804971',
    950: '#000000',
  },
}
SCSS
$custom: #804971;
$custom-light: #a67d99;
$custom-dark: #000000;
JSON
{
  "hex": "#804971",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 113
  },
  "hsl": {
    "h": 316.364,
    "s": 27.363,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48426,
    "c": 0.09251,
    "h": 337.9
  },
  "luminance": 0.10547
}

Semantic roles & 50–950 ramp

primary
#804971
secondary
#7EA789
accent
#C47E64
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #804971

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

Preview Lab → · Contrast checker → · Palette generator →

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