#872566#872566

#872566 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.0% C 0.150 H 344.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#872566
RGBrgb(135, 37, 102)
HSLhsl(320, 57%, 34%)
HSVhsv(320, 73%, 53%)
CMYKcmyk(0%, 72.6%, 24.4%, 47.1%)
CIE-LABlab(32.78, 47.71, -15.17)
CIE-LCHlch(32.78, 50.07, 342.36°)
OKLaboklab(44.03% 0.144 -0.0404)
OKLCHoklch(44.03% 0.15 344.3)
XYZxyz(13.0520, 7.4347, 13.3155)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872566 #258746
analogous
#772587 #872566 #872535
triadic
#872566 #668725 #256687
tetradic
#872566 #877725 #258746 #253587
square
#872566 #877725 #258746 #253587
split-complementary
#872566 #358725 #258777
monochromatic
#270B1D #571842 #872566 #B7328A #D156A7

Accessibility & contrast

On white

8.45
#872566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#872566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872566
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872566#FFFFFF#000000##FFFFFF
##8725661.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304368
Deuteranopia (green-blind)
#4D5364
Tritanopia (blue-blind)
#902442
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #872566;
/* rgb */ color: rgb(135, 37, 102);
/* oklch */ color: oklch(44.0% 0.150 344.3);
Tailwind
colors: {
  custom: {
    50: '#ad6991',
    500: '#872566',
    950: '#000000',
  },
}
SCSS
$custom: #872566;
$custom-light: #ad6991;
$custom-dark: #000000;
JSON
{
  "hex": "#872566",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 102
  },
  "hsl": {
    "h": 320.204,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44025,
    "c": 0.14953,
    "h": 344.3
  },
  "luminance": 0.07433
}

Semantic roles & 50–950 ramp

primary
#872566
secondary
#53B574
accent
#E07B48
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070D
muted
#807A7D

Preview Lab

Preview with #872566

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

Preview Lab → · Contrast checker → · Palette generator →

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