#87226C#87226C

#87226C is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.0% C 0.157 H 340.8°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#87226C
RGBrgb(135, 34, 108)
HSLhsl(316, 60%, 33%)
HSVhsv(316, 75%, 53%)
CMYKcmyk(0%, 74.8%, 20%, 47.1%)
CIE-LABlab(32.65, 49.67, -19.20)
CIE-LCHlch(32.65, 53.26, 338.87°)
OKLaboklab(44.03% 0.1485 -0.0517)
OKLCHoklch(44.03% 0.157 340.8)
XYZxyz(13.2709, 7.3790, 14.9098)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87226C #22873D
analogous
#6F2287 #87226C #872239
triadic
#87226C #6C8722 #226C87
tetradic
#87226C #876F22 #22873D #223987
square
#87226C #876F22 #22873D #223987
split-complementary
#87226C #398722 #22876F
monochromatic
#25091E #561645 #87226C #B82E93 #D350B0

Accessibility & contrast

On white

8.48
#87226C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#87226C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87226C
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87226C#FFFFFF#000000##FFFFFF
##87226C1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87226c;
/* rgb */ color: rgb(135, 34, 108);
/* oklch */ color: oklch(44.0% 0.157 340.8);
Tailwind
colors: {
  custom: {
    50: '#ad6796',
    500: '#87226c',
    950: '#000000',
  },
}
SCSS
$custom: #87226c;
$custom-light: #ad6796;
$custom-dark: #000000;
JSON
{
  "hex": "#87226c",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 316.04,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44025,
    "c": 0.15723,
    "h": 340.8
  },
  "luminance": 0.07378
}

Semantic roles & 50–950 ramp

primary
#87226C
secondary
#4EB76A
accent
#E36F45
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #87226C

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

Preview Lab → · Contrast checker → · Palette generator →

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