#804F71#804F71

#804F71 is a mid, moderate pink. Relative luminance 0.114; OKLCH L 49.5% C 0.081 H 339.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#804F71
RGBrgb(128, 79, 113)
HSLhsl(318, 24%, 41%)
HSVhsv(318, 38%, 50%)
CMYKcmyk(0%, 38.3%, 11.7%, 49.8%)
CIE-LABlab(40.20, 26.00, -10.88)
CIE-LCHlch(40.20, 28.19, 337.29°)
OKLaboklab(49.48% 0.0756 -0.029)
OKLCHoklch(49.48% 0.081 339)
XYZxyz(14.6787, 11.3742, 17.0419)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804F71 #4F805E
analogous
#764F80 #804F71 #804F59
triadic
#804F71 #71804F #4F7180
tetradic
#804F71 #80764F #4F805E #4F5980
square
#804F71 #80764F #4F805E #4F5980
split-complementary
#804F71 #59804F #4F8076
monochromatic
#34202E #5A3850 #804F71 #A36991 #BA8FAD

Accessibility & contrast

On white

6.41
#804F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#804F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804F71
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804F71#FFFFFF#000000##FFFFFF
##804F711.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515A72
Deuteranopia (green-blind)
#5D6270
Tritanopia (blue-blind)
#85505B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #804f71;
/* rgb */ color: rgb(128, 79, 113);
/* oklch */ color: oklch(49.5% 0.081 339.0);
Tailwind
colors: {
  custom: {
    50: '#a68199',
    500: '#804f71',
    950: '#000000',
  },
}
SCSS
$custom: #804f71;
$custom-light: #a68199;
$custom-dark: #000000;
JSON
{
  "hex": "#804f71",
  "rgb": {
    "r": 128,
    "g": 79,
    "b": 113
  },
  "hsl": {
    "h": 318.367,
    "s": 23.671,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49481,
    "c": 0.081,
    "h": 339
  },
  "luminance": 0.11373
}

Semantic roles & 50–950 ramp

primary
#804F71
secondary
#84A78F
accent
#C08368
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #804F71

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

Preview Lab → · Contrast checker → · Palette generator →

#804F71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva