#872571#872571

#872571 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.6% C 0.157 H 338.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#872571
RGBrgb(135, 37, 113)
HSLhsl(313, 57%, 34%)
HSVhsv(313, 73%, 53%)
CMYKcmyk(0%, 72.6%, 16.3%, 47.1%)
CIE-LABlab(33.28, 49.32, -21.41)
CIE-LCHlch(33.28, 53.77, 336.54°)
OKLaboklab(44.56% 0.1459 -0.058)
OKLCHoklch(44.56% 0.157 338.3)
XYZxyz(13.6342, 7.6676, 16.3815)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872571 #25873B
analogous
#6C2587 #872571 #872540
triadic
#872571 #718725 #257187
tetradic
#872571 #876C25 #25873B #254087
square
#872571 #876C25 #25873B #254087
split-complementary
#872571 #408725 #25876C
monochromatic
#270B21 #571849 #872571 #B73299 #D156B5

Accessibility & contrast

On white

8.29
#872571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#872571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872571
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872571#FFFFFF#000000##FFFFFF
##8725711.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294573
Deuteranopia (green-blind)
#49546F
Tritanopia (blue-blind)
#8F2948
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #872571;
/* rgb */ color: rgb(135, 37, 113);
/* oklch */ color: oklch(44.6% 0.157 338.3);
Tailwind
colors: {
  custom: {
    50: '#ad699a',
    500: '#872571',
    950: '#000000',
  },
}
SCSS
$custom: #872571;
$custom-light: #ad699a;
$custom-dark: #000000;
JSON
{
  "hex": "#872571",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 313.469,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44556,
    "c": 0.15704,
    "h": 338.3
  },
  "luminance": 0.07666
}

Semantic roles & 50–950 ramp

primary
#872571
secondary
#53B569
accent
#E06A48
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872571

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

Preview Lab → · Contrast checker → · Palette generator →

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