#804875#804875

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

Color values

HEX#804875
RGBrgb(128, 72, 117)
HSLhsl(312, 28%, 39%)
HSVhsv(312, 44%, 50%)
CMYKcmyk(0%, 43.8%, 8.6%, 49.8%)
CIE-LABlab(38.74, 30.78, -15.58)
CIE-LCHlch(38.74, 34.50, 333.16°)
OKLaboklab(48.43% 0.0885 -0.042)
OKLCHoklch(48.43% 0.098 334.6)
XYZxyz(14.4303, 10.5091, 18.0946)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804875 #488053
analogous
#6F4880 #804875 #804859
triadic
#804875 #758048 #487580
tetradic
#804875 #806F48 #488053 #485980
square
#804875 #806F48 #488053 #485980
split-complementary
#804875 #598048 #48806F
monochromatic
#321C2D #593251 #804875 #A56098 #BB87B1

Accessibility & contrast

On white

6.77
#804875 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#804875 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804875
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804875#FFFFFF#000000##FFFFFF
##8048751.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485677
Deuteranopia (green-blind)
#575E73
Tritanopia (blue-blind)
#854B59
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #804875;
/* rgb */ color: rgb(128, 72, 117);
/* oklch */ color: oklch(48.4% 0.098 334.6);
Tailwind
colors: {
  custom: {
    50: '#a67c9d',
    500: '#804875',
    950: '#000000',
  },
}
SCSS
$custom: #804875;
$custom-light: #a67c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#804875",
  "rgb": {
    "r": 128,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 311.786,
    "s": 28,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48429,
    "c": 0.09797,
    "h": 334.6
  },
  "luminance": 0.10508
}

Semantic roles & 50–950 ramp

primary
#804875
secondary
#7DA785
accent
#C47763
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #804875

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

Preview Lab → · Contrast checker → · Palette generator →

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