#87256F#87256F

#87256F is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.5% C 0.156 H 339.4°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#87256F
RGBrgb(135, 37, 111)
HSLhsl(315, 57%, 34%)
HSVhsv(315, 73%, 53%)
CMYKcmyk(0%, 72.6%, 17.8%, 47.1%)
CIE-LABlab(33.19, 49.02, -20.29)
CIE-LCHlch(33.19, 53.05, 337.52°)
OKLaboklab(44.46% 0.1456 -0.0548)
OKLCHoklch(44.46% 0.156 339.4)
XYZxyz(13.5228, 7.6230, 15.7950)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87256F #25873D
analogous
#6E2587 #87256F #87253E
triadic
#87256F #6F8725 #256F87
tetradic
#87256F #876E25 #25873D #253E87
square
#87256F #876E25 #25873D #253E87
split-complementary
#87256F #3E8725 #25876E
monochromatic
#270B20 #571848 #87256F #B73296 #D156B3

Accessibility & contrast

On white

8.32
#87256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#87256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87256F
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87256F#FFFFFF#000000##FFFFFF
##87256F1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4471
Deuteranopia (green-blind)
#4A546D
Tritanopia (blue-blind)
#8F2847
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #87256f;
/* rgb */ color: rgb(135, 37, 111);
/* oklch */ color: oklch(44.5% 0.156 339.4);
Tailwind
colors: {
  custom: {
    50: '#ad6998',
    500: '#87256f',
    950: '#000000',
  },
}
SCSS
$custom: #87256f;
$custom-light: #ad6998;
$custom-dark: #000000;
JSON
{
  "hex": "#87256f",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 314.694,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44456,
    "c": 0.15562,
    "h": 339.4
  },
  "luminance": 0.07622
}

Semantic roles & 50–950 ramp

primary
#87256F
secondary
#53B56B
accent
#E06D48
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #87256F

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

Preview Lab → · Contrast checker → · Palette generator →

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