#87236B#87236B

#87236B is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.1% C 0.155 H 341.4°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#87236B
RGBrgb(135, 35, 107)
HSLhsl(317, 59%, 33%)
HSVhsv(317, 74%, 53%)
CMYKcmyk(0%, 74.1%, 20.7%, 47.1%)
CIE-LABlab(32.74, 49.17, -18.44)
CIE-LCHlch(32.74, 52.51, 339.45°)
OKLaboklab(44.07% 0.1472 -0.0496)
OKLCHoklch(44.07% 0.155 341.4)
XYZxyz(13.2470, 7.4158, 14.6408)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87236B #23873F
analogous
#712387 #87236B #872339
triadic
#87236B #6B8723 #236B87
tetradic
#87236B #877123 #23873F #233987
square
#87236B #877123 #23873F #233987
split-complementary
#87236B #398723 #238771
monochromatic
#260A1E #561644 #87236B #B83092 #D252AE

Accessibility & contrast

On white

8.46
#87236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87236B
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87236B#FFFFFF#000000##FFFFFF
##87236B1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B436D
Deuteranopia (green-blind)
#4B5369
Tritanopia (blue-blind)
#8F2544
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #87236b;
/* rgb */ color: rgb(135, 35, 107);
/* oklch */ color: oklch(44.1% 0.155 341.4);
Tailwind
colors: {
  custom: {
    50: '#ad6895',
    500: '#87236b',
    950: '#000000',
  },
}
SCSS
$custom: #87236b;
$custom-light: #ad6895;
$custom-dark: #000000;
JSON
{
  "hex": "#87236b",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 316.8,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44068,
    "c": 0.15534,
    "h": 341.4
  },
  "luminance": 0.07414
}

Semantic roles & 50–950 ramp

primary
#87236B
secondary
#50B66C
accent
#E27246
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #87236B

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

Preview Lab → · Contrast checker → · Palette generator →

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