#872576#872576

#872576 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.161 H 335.8°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#872576
RGBrgb(135, 37, 118)
HSLhsl(310, 57%, 34%)
HSVhsv(310, 73%, 53%)
CMYKcmyk(0%, 72.6%, 12.6%, 47.1%)
CIE-LABlab(33.53, 50.10, -24.18)
CIE-LCHlch(33.53, 55.63, 334.23°)
OKLaboklab(44.82% 0.1466 -0.0659)
OKLCHoklch(44.82% 0.161 335.8)
XYZxyz(13.9234, 7.7833, 17.9050)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872576 #258736
analogous
#672587 #872576 #872545
triadic
#872576 #768725 #257687
tetradic
#872576 #876725 #258736 #254587
square
#872576 #876725 #258736 #254587
split-complementary
#872576 #458725 #258767
monochromatic
#270B22 #57184C #872576 #B732A0 #D156BB

Accessibility & contrast

On white

8.21
#872576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#872576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872576
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872576#FFFFFF#000000##FFFFFF
##8725761.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264578
Deuteranopia (green-blind)
#475474
Tritanopia (blue-blind)
#8E2C4A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #872576;
/* rgb */ color: rgb(135, 37, 118);
/* oklch */ color: oklch(44.8% 0.161 335.8);
Tailwind
colors: {
  custom: {
    50: '#ad699e',
    500: '#872576',
    950: '#000000',
  },
}
SCSS
$custom: #872576;
$custom-light: #ad699e;
$custom-dark: #000000;
JSON
{
  "hex": "#872576",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 118
  },
  "hsl": {
    "h": 310.408,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44815,
    "c": 0.16073,
    "h": 335.8
  },
  "luminance": 0.07782
}

Semantic roles & 50–950 ramp

primary
#872576
secondary
#53B564
accent
#E06248
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872576

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

Preview Lab → · Contrast checker → · Palette generator →

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