#804D71#804D71

#804D71 is a mid, moderate pink. Relative luminance 0.111; OKLCH L 49.1% C 0.085 H 338.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#804D71
RGBrgb(128, 77, 113)
HSLhsl(318, 25%, 40%)
HSVhsv(318, 40%, 50%)
CMYKcmyk(0%, 39.8%, 11.7%, 49.8%)
CIE-LABlab(39.73, 27.17, -11.59)
CIE-LCHlch(39.73, 29.54, 336.89°)
OKLaboklab(49.12% 0.079 -0.031)
OKLCHoklch(49.12% 0.085 338.6)
XYZxyz(14.5366, 11.0900, 16.9945)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804D71 #4D805C
analogous
#754D80 #804D71 #804D57
triadic
#804D71 #71804D #4D7180
tetradic
#804D71 #80754D #4D805C #4D5780
square
#804D71 #80754D #4D805C #4D5780
split-complementary
#804D71 #57804D #4D8075
monochromatic
#341F2E #5A364F #804D71 #A36792 #BA8DAD

Accessibility & contrast

On white

6.53
#804D71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#804D71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804D71
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804D71#FFFFFF#000000##FFFFFF
##804D711.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5972
Deuteranopia (green-blind)
#5B6070
Tritanopia (blue-blind)
#854E5A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #804d71;
/* rgb */ color: rgb(128, 77, 113);
/* oklch */ color: oklch(49.1% 0.085 338.6);
Tailwind
colors: {
  custom: {
    50: '#a68099',
    500: '#804d71',
    950: '#000000',
  },
}
SCSS
$custom: #804d71;
$custom-light: #a68099;
$custom-dark: #000000;
JSON
{
  "hex": "#804d71",
  "rgb": {
    "r": 128,
    "g": 77,
    "b": 113
  },
  "hsl": {
    "h": 317.647,
    "s": 24.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49123,
    "c": 0.08485,
    "h": 338.6
  },
  "luminance": 0.11089
}

Semantic roles & 50–950 ramp

primary
#804D71
secondary
#82A78D
accent
#C18167
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #804D71

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

Preview Lab → · Contrast checker → · Palette generator →

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