#872976#872976

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

Color values

HEX#872976
RGBrgb(135, 41, 118)
HSLhsl(311, 53%, 35%)
HSVhsv(311, 70%, 53%)
CMYKcmyk(0%, 69.6%, 12.6%, 47.1%)
CIE-LABlab(34.08, 48.55, -23.32)
CIE-LCHlch(34.08, 53.86, 334.34°)
OKLaboklab(45.22% 0.142 -0.0635)
OKLCHoklch(45.22% 0.156 335.9)
XYZxyz(14.0548, 8.0460, 17.9488)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872976 #29873A
analogous
#692987 #872976 #872947
triadic
#872976 #768729 #297687
tetradic
#872976 #876929 #29873A #294787
square
#872976 #876929 #29873A #294787
split-complementary
#872976 #478729 #298769
monochromatic
#290C24 #581B4D #872976 #B6379F #CE5DB9

Accessibility & contrast

On white

8.05
#872976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#872976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872976
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872976#FFFFFF#000000##FFFFFF
##8729761.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4778
Deuteranopia (green-blind)
#495574
Tritanopia (blue-blind)
#8E2F4C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #872976;
/* rgb */ color: rgb(135, 41, 118);
/* oklch */ color: oklch(45.2% 0.156 335.9);
Tailwind
colors: {
  custom: {
    50: '#ad6b9d',
    500: '#872976',
    950: '#000000',
  },
}
SCSS
$custom: #872976;
$custom-light: #ad6b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#872976",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 310.851,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45215,
    "c": 0.15553,
    "h": 335.9
  },
  "luminance": 0.08045
}

Semantic roles & 50–950 ramp

primary
#872976
secondary
#59B369
accent
#DD654B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872976

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

Preview Lab → · Contrast checker → · Palette generator →

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