#871A5C#871A5C

#871A5C is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.156 H 349.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#871A5C
RGBrgb(135, 26, 92)
HSLhsl(324, 68%, 32%)
HSVhsv(324, 81%, 53%)
CMYKcmyk(0%, 80.7%, 31.9%, 47.1%)
CIE-LABlab(31.03, 50.15, -11.39)
CIE-LCHlch(31.03, 51.43, 347.21°)
OKLaboklab(42.61% 0.1533 -0.0299)
OKLCHoklch(42.61% 0.156 349)
XYZxyz(12.2935, 6.6638, 10.7620)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A5C #1A8745
analogous
#7C1A87 #871A5C #871A25
triadic
#871A5C #5C871A #1A5C87
tetradic
#871A5C #877C1A #1A8745 #1A2587
square
#871A5C #877C1A #1A8745 #1A2587
split-complementary
#871A5C #25871A #1A877C
monochromatic
#200616 #541039 #871A5C #BA247F #DA419E

Accessibility & contrast

On white

9.00
#871A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#871A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A5C
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A5C#FFFFFF#000000##FFFFFF
##871A5C1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3D5E
Deuteranopia (green-blind)
#4D505A
Tritanopia (blue-blind)
#911339
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871a5c;
/* rgb */ color: rgb(135, 26, 92);
/* oklch */ color: oklch(42.6% 0.156 349.0);
Tailwind
colors: {
  custom: {
    50: '#ae648a',
    500: '#871a5c',
    950: '#000000',
  },
}
SCSS
$custom: #871a5c;
$custom-light: #ae648a;
$custom-dark: #000000;
JSON
{
  "hex": "#871a5c",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 92
  },
  "hsl": {
    "h": 323.67,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42614,
    "c": 0.15622,
    "h": 349
  },
  "luminance": 0.06662
}

Semantic roles & 50–950 ramp

primary
#871A5C
secondary
#42BA72
accent
#EB823D
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871A5C

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

Preview Lab → · Contrast checker → · Palette generator →

#871A5C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva