#87236C#87236C

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

Color values

HEX#87236C
RGBrgb(135, 35, 108)
HSLhsl(316, 59%, 33%)
HSVhsv(316, 74%, 53%)
CMYKcmyk(0%, 74.1%, 20%, 47.1%)
CIE-LABlab(32.78, 49.32, -19.00)
CIE-LCHlch(32.78, 52.85, 338.93°)
OKLaboklab(44.12% 0.1474 -0.0512)
OKLCHoklch(44.12% 0.156 340.9)
XYZxyz(13.2999, 7.4370, 14.9195)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87236C #23873E
analogous
#702387 #87236C #87233A
triadic
#87236C #6C8723 #236C87
tetradic
#87236C #877023 #23873E #233A87
square
#87236C #877023 #23873E #233A87
split-complementary
#87236C #3A8723 #238770
monochromatic
#260A1E #561645 #87236C #B83093 #D252B0

Accessibility & contrast

On white

8.44
#87236C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#87236C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87236C
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87236C#FFFFFF#000000##FFFFFF
##87236C1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87236c;
/* rgb */ color: rgb(135, 35, 108);
/* oklch */ color: oklch(44.1% 0.156 340.9);
Tailwind
colors: {
  custom: {
    50: '#ad6896',
    500: '#87236c',
    950: '#000000',
  },
}
SCSS
$custom: #87236c;
$custom-light: #ad6896;
$custom-dark: #000000;
JSON
{
  "hex": "#87236c",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 108
  },
  "hsl": {
    "h": 316.2,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44117,
    "c": 0.15602,
    "h": 340.9
  },
  "luminance": 0.07436
}

Semantic roles & 50–950 ramp

primary
#87236C
secondary
#50B66B
accent
#E27046
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #87236C

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

Preview Lab → · Contrast checker → · Palette generator →

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