#872876#872876

#872876 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.157 H 335.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#872876
RGBrgb(135, 40, 118)
HSLhsl(311, 54%, 34%)
HSVhsv(311, 70%, 53%)
CMYKcmyk(0%, 70.4%, 12.6%, 47.1%)
CIE-LABlab(33.94, 48.95, -23.54)
CIE-LCHlch(33.94, 54.31, 334.31°)
OKLaboklab(45.11% 0.1432 -0.0641)
OKLCHoklch(45.11% 0.157 335.9)
XYZxyz(14.0207, 7.9777, 17.9374)
Luminance0.0798 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872876 #288739
analogous
#692887 #872876 #872847
triadic
#872876 #768728 #287687
tetradic
#872876 #876928 #288739 #284787
square
#872876 #876928 #288739 #284787
split-complementary
#872876 #478728 #288769
monochromatic
#290C23 #581A4D #872876 #B6369F #CE5BBA

Accessibility & contrast

On white

8.09
#872876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#872876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872876
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872876#FFFFFF#000000##FFFFFF
##8728761.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294778
Deuteranopia (green-blind)
#495574
Tritanopia (blue-blind)
#8E2E4B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #872876;
/* rgb */ color: rgb(135, 40, 118);
/* oklch */ color: oklch(45.1% 0.157 335.9);
Tailwind
colors: {
  custom: {
    50: '#ad6a9d',
    500: '#872876',
    950: '#000000',
  },
}
SCSS
$custom: #872876;
$custom-light: #ad6a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#872876",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 310.737,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45112,
    "c": 0.15687,
    "h": 335.9
  },
  "luminance": 0.07976
}

Semantic roles & 50–950 ramp

primary
#872876
secondary
#57B468
accent
#DE654A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872876

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

Preview Lab → · Contrast checker → · Palette generator →

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