#87236E#87236E

#87236E is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.2% C 0.157 H 339.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#87236E
RGBrgb(135, 35, 110)
HSLhsl(315, 59%, 33%)
HSVhsv(315, 74%, 53%)
CMYKcmyk(0%, 74.1%, 18.5%, 47.1%)
CIE-LABlab(32.88, 49.61, -20.13)
CIE-LCHlch(32.88, 53.54, 337.91°)
OKLaboklab(44.22% 0.1477 -0.0544)
OKLCHoklch(44.22% 0.157 339.8)
XYZxyz(13.4075, 7.4800, 15.4865)
Luminance0.0748 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87236E #23873C
analogous
#6E2387 #87236E #87233C
triadic
#87236E #6E8723 #236E87
tetradic
#87236E #876E23 #23873C #233C87
square
#87236E #876E23 #23873C #233C87
split-complementary
#87236E #3C8723 #23876E
monochromatic
#260A1F #561646 #87236E #B83096 #D252B2

Accessibility & contrast

On white

8.41
#87236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#87236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87236E
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87236E#FFFFFF#000000##FFFFFF
##87236E1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294370
Deuteranopia (green-blind)
#4A536C
Tritanopia (blue-blind)
#8F2645
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #87236e;
/* rgb */ color: rgb(135, 35, 110);
/* oklch */ color: oklch(44.2% 0.157 339.8);
Tailwind
colors: {
  custom: {
    50: '#ad6897',
    500: '#87236e',
    950: '#000000',
  },
}
SCSS
$custom: #87236e;
$custom-light: #ad6897;
$custom-dark: #000000;
JSON
{
  "hex": "#87236e",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 315,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44216,
    "c": 0.1574,
    "h": 339.8
  },
  "luminance": 0.07479
}

Semantic roles & 50–950 ramp

primary
#87236E
secondary
#50B669
accent
#E26D46
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #87236E

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

Preview Lab → · Contrast checker → · Palette generator →

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