#804F72#804F72

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

Color values

HEX#804F72
RGBrgb(128, 79, 114)
HSLhsl(317, 24%, 41%)
HSVhsv(317, 38%, 50%)
CMYKcmyk(0%, 38.3%, 10.9%, 49.8%)
CIE-LABlab(40.24, 26.18, -11.44)
CIE-LCHlch(40.24, 28.58, 336.40°)
OKLaboklab(49.52% 0.076 -0.0305)
OKLCHoklch(49.52% 0.082 338.1)
XYZxyz(14.7353, 11.3968, 17.3400)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804F72 #4F805D
analogous
#754F80 #804F72 #804F59
triadic
#804F72 #72804F #4F7280
tetradic
#804F72 #80754F #4F805D #4F5980
square
#804F72 #80754F #4F805D #4F5980
split-complementary
#804F72 #59804F #4F8075
monochromatic
#34202F #5A3850 #804F72 #A36992 #BA8FAE

Accessibility & contrast

On white

6.40
#804F72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#804F72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804F72
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804F72#FFFFFF#000000##FFFFFF
##804F721.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505A73
Deuteranopia (green-blind)
#5C6271
Tritanopia (blue-blind)
#85505C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #804f72;
/* rgb */ color: rgb(128, 79, 114);
/* oklch */ color: oklch(49.5% 0.082 338.1);
Tailwind
colors: {
  custom: {
    50: '#a6819a',
    500: '#804f72',
    950: '#000000',
  },
}
SCSS
$custom: #804f72;
$custom-light: #a6819a;
$custom-dark: #000000;
JSON
{
  "hex": "#804f72",
  "rgb": {
    "r": 128,
    "g": 79,
    "b": 114
  },
  "hsl": {
    "h": 317.143,
    "s": 23.671,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49521,
    "c": 0.08186,
    "h": 338.1
  },
  "luminance": 0.11396
}

Semantic roles & 50–950 ramp

primary
#804F72
secondary
#84A78E
accent
#C08168
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #804F72

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

Preview Lab → · Contrast checker → · Palette generator →

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