#87256D#87256D

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

Color values

HEX#87256D
RGBrgb(135, 37, 109)
HSLhsl(316, 57%, 34%)
HSVhsv(316, 73%, 53%)
CMYKcmyk(0%, 72.6%, 19.3%, 47.1%)
CIE-LABlab(33.09, 48.72, -19.16)
CIE-LCHlch(33.09, 52.35, 338.53°)
OKLaboklab(44.36% 0.1453 -0.0516)
OKLCHoklch(44.36% 0.154 340.4)
XYZxyz(13.4139, 7.5795, 15.2216)
Luminance0.0758 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87256D #25873F
analogous
#702587 #87256D #87253C
triadic
#87256D #6D8725 #256D87
tetradic
#87256D #877025 #25873F #253C87
square
#87256D #877025 #25873F #253C87
split-complementary
#87256D #3C8725 #258770
monochromatic
#270B1F #571846 #87256D #B73294 #D156B0

Accessibility & contrast

On white

8.35
#87256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87256D
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87256D#FFFFFF#000000##FFFFFF
##87256D1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C446F
Deuteranopia (green-blind)
#4B536B
Tritanopia (blue-blind)
#8F2846
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #87256d;
/* rgb */ color: rgb(135, 37, 109);
/* oklch */ color: oklch(44.4% 0.154 340.4);
Tailwind
colors: {
  custom: {
    50: '#ad6997',
    500: '#87256d',
    950: '#000000',
  },
}
SCSS
$custom: #87256d;
$custom-light: #ad6997;
$custom-dark: #000000;
JSON
{
  "hex": "#87256d",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 315.918,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44357,
    "c": 0.15421,
    "h": 340.4
  },
  "luminance": 0.07578
}

Semantic roles & 50–950 ramp

primary
#87256D
secondary
#53B56D
accent
#E07048
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #87256D

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

Preview Lab → · Contrast checker → · Palette generator →

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