#87286B#87286B

#87286B is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.6% C 0.149 H 341.7°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#87286B
RGBrgb(135, 40, 107)
HSLhsl(318, 54%, 34%)
HSVhsv(318, 70%, 53%)
CMYKcmyk(0%, 70.4%, 20.7%, 47.1%)
CIE-LABlab(33.42, 47.26, -17.38)
CIE-LCHlch(33.42, 50.35, 339.80°)
OKLaboklab(44.56% 0.1414 -0.0466)
OKLCHoklch(44.56% 0.149 341.7)
XYZxyz(13.4047, 7.7313, 14.6934)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87286B #288744
analogous
#742887 #87286B #87283C
triadic
#87286B #6B8728 #286B87
tetradic
#87286B #877428 #288744 #283C87
square
#87286B #877428 #288744 #283C87
split-complementary
#87286B #3C8728 #288774
monochromatic
#290C20 #581A46 #87286B #B63690 #CE5BAC

Accessibility & contrast

On white

8.25
#87286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87286B
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87286B#FFFFFF#000000##FFFFFF
##87286B1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30456D
Deuteranopia (green-blind)
#4D5469
Tritanopia (blue-blind)
#8F2946
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #87286b;
/* rgb */ color: rgb(135, 40, 107);
/* oklch */ color: oklch(44.6% 0.149 341.7);
Tailwind
colors: {
  custom: {
    50: '#ad6a95',
    500: '#87286b',
    950: '#000000',
  },
}
SCSS
$custom: #87286b;
$custom-light: #ad6a95;
$custom-dark: #000000;
JSON
{
  "hex": "#87286b",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 317.684,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44564,
    "c": 0.1489,
    "h": 341.7
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

primary
#87286B
secondary
#57B472
accent
#DE764A
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #87286B

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

Preview Lab → · Contrast checker → · Palette generator →

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