#87286C#87286C

#87286C is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.6% C 0.150 H 341.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#87286C
RGBrgb(135, 40, 108)
HSLhsl(317, 54%, 34%)
HSVhsv(317, 70%, 53%)
CMYKcmyk(0%, 70.4%, 20%, 47.1%)
CIE-LABlab(33.46, 47.40, -17.95)
CIE-LCHlch(33.46, 50.69, 339.26°)
OKLaboklab(44.61% 0.1416 -0.0482)
OKLCHoklch(44.61% 0.15 341.2)
XYZxyz(13.4576, 7.7525, 14.9721)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87286C #288743
analogous
#732887 #87286C #87283C
triadic
#87286C #6C8728 #286C87
tetradic
#87286C #877328 #288743 #283C87
square
#87286C #877328 #288743 #283C87
split-complementary
#87286C #3C8728 #288773
monochromatic
#290C20 #581A46 #87286C #B63692 #CE5BAE

Accessibility & contrast

On white

8.23
#87286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#87286C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87286C
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87286C#FFFFFF#000000##FFFFFF
##87286C1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F456E
Deuteranopia (green-blind)
#4C546A
Tritanopia (blue-blind)
#8F2A46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #87286c;
/* rgb */ color: rgb(135, 40, 108);
/* oklch */ color: oklch(44.6% 0.150 341.2);
Tailwind
colors: {
  custom: {
    50: '#ad6a96',
    500: '#87286c',
    950: '#000000',
  },
}
SCSS
$custom: #87286c;
$custom-light: #ad6a96;
$custom-dark: #000000;
JSON
{
  "hex": "#87286c",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 317.053,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44612,
    "c": 0.14958,
    "h": 341.2
  },
  "luminance": 0.07751
}

Semantic roles & 50–950 ramp

primary
#87286C
secondary
#57B471
accent
#DE744A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #87286C

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

Preview Lab → · Contrast checker → · Palette generator →

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