#87286E#87286E

#87286E is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.7% C 0.151 H 340.1°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#87286E
RGBrgb(135, 40, 110)
HSLhsl(316, 54%, 34%)
HSVhsv(316, 70%, 53%)
CMYKcmyk(0%, 70.4%, 18.5%, 47.1%)
CIE-LABlab(33.55, 47.70, -19.08)
CIE-LCHlch(33.55, 51.38, 338.20°)
OKLaboklab(44.71% 0.142 -0.0514)
OKLCHoklch(44.71% 0.151 340.1)
XYZxyz(13.5653, 7.7955, 15.5391)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87286E #288741
analogous
#712887 #87286E #87283F
triadic
#87286E #6E8728 #286E87
tetradic
#87286E #877128 #288741 #283F87
square
#87286E #877128 #288741 #283F87
split-complementary
#87286E #3F8728 #288771
monochromatic
#290C21 #581A48 #87286E #B63694 #CE5BB0

Accessibility & contrast

On white

8.21
#87286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#87286E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87286E
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87286E#FFFFFF#000000##FFFFFF
##87286E1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4570
Deuteranopia (green-blind)
#4C546C
Tritanopia (blue-blind)
#8F2B47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #87286e;
/* rgb */ color: rgb(135, 40, 110);
/* oklch */ color: oklch(44.7% 0.151 340.1);
Tailwind
colors: {
  custom: {
    50: '#ad6a97',
    500: '#87286e',
    950: '#000000',
  },
}
SCSS
$custom: #87286e;
$custom-light: #ad6a97;
$custom-dark: #000000;
JSON
{
  "hex": "#87286e",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 315.789,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44708,
    "c": 0.15099,
    "h": 340.1
  },
  "luminance": 0.07794
}

Semantic roles & 50–950 ramp

primary
#87286E
secondary
#57B470
accent
#DE714A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #87286E

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

Preview Lab → · Contrast checker → · Palette generator →

#87286E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva