#87256C#87256C

#87256C is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.3% C 0.154 H 341.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#87256C
RGBrgb(135, 37, 108)
HSLhsl(317, 57%, 34%)
HSVhsv(317, 73%, 53%)
CMYKcmyk(0%, 72.6%, 20%, 47.1%)
CIE-LABlab(33.04, 48.57, -18.59)
CIE-LCHlch(33.04, 52.01, 339.05°)
OKLaboklab(44.31% 0.1451 -0.05)
OKLCHoklch(44.31% 0.154 341)
XYZxyz(13.3604, 7.5580, 14.9397)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87256C #258740
analogous
#712587 #87256C #87253B
triadic
#87256C #6C8725 #256C87
tetradic
#87256C #877125 #258740 #253B87
square
#87256C #877125 #258740 #253B87
split-complementary
#87256C #3B8725 #258771
monochromatic
#270B1F #571846 #87256C #B73292 #D156AF

Accessibility & contrast

On white

8.36
#87256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#87256C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87256C
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87256C#FFFFFF#000000##FFFFFF
##87256C1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C446E
Deuteranopia (green-blind)
#4B536A
Tritanopia (blue-blind)
#8F2745
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #87256c;
/* rgb */ color: rgb(135, 37, 108);
/* oklch */ color: oklch(44.3% 0.154 341.0);
Tailwind
colors: {
  custom: {
    50: '#ad6996',
    500: '#87256c',
    950: '#000000',
  },
}
SCSS
$custom: #87256c;
$custom-light: #ad6996;
$custom-dark: #000000;
JSON
{
  "hex": "#87256c",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 316.531,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44308,
    "c": 0.15352,
    "h": 341
  },
  "luminance": 0.07557
}

Semantic roles & 50–950 ramp

primary
#87256C
secondary
#53B56E
accent
#E07248
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #87256C

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

Preview Lab → · Contrast checker → · Palette generator →

#87256C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva