#87285B#87285B

#87285B is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.9% C 0.139 H 351.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#87285B
RGBrgb(135, 40, 91)
HSLhsl(328, 54%, 34%)
HSVhsv(328, 70%, 53%)
CMYKcmyk(0%, 70.4%, 32.6%, 47.1%)
CIE-LABlab(32.76, 45.06, -8.13)
CIE-LCHlch(32.76, 45.78, 349.78°)
OKLaboklab(43.86% 0.1375 -0.021)
OKLCHoklch(43.86% 0.139 351.3)
XYZxyz(12.6395, 7.4252, 10.6631)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87285B #288754
analogous
#842887 #87285B #87282C
triadic
#87285B #5B8728 #285B87
tetradic
#87285B #878428 #288754 #282C87
square
#87285B #878428 #288754 #282C87
split-complementary
#87285B #2C8728 #288784
monochromatic
#290C1B #581A3B #87285B #B6367B #CE5B99

Accessibility & contrast

On white

8.45
#87285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#87285B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87285B
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87285B#FFFFFF#000000##FFFFFF
##87285B1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37425C
Deuteranopia (green-blind)
#525359
Tritanopia (blue-blind)
#91223E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #87285b;
/* rgb */ color: rgb(135, 40, 91);
/* oklch */ color: oklch(43.9% 0.139 351.3);
Tailwind
colors: {
  custom: {
    50: '#ae6a89',
    500: '#87285b',
    950: '#000000',
  },
}
SCSS
$custom: #87285b;
$custom-light: #ae6a89;
$custom-dark: #000000;
JSON
{
  "hex": "#87285b",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 327.789,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43864,
    "c": 0.13909,
    "h": 351.3
  },
  "luminance": 0.07424
}

Semantic roles & 50–950 ramp

primary
#87285B
secondary
#57B482
accent
#DE8E4A
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #87285B

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

Preview Lab → · Contrast checker → · Palette generator →

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