#87226D#87226D

#87226D is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.1% C 0.158 H 340.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#87226D
RGBrgb(135, 34, 109)
HSLhsl(315, 60%, 33%)
HSVhsv(315, 75%, 53%)
CMYKcmyk(0%, 74.8%, 19.3%, 47.1%)
CIE-LABlab(32.70, 49.82, -19.76)
CIE-LCHlch(32.70, 53.60, 338.36°)
OKLaboklab(44.07% 0.1486 -0.0533)
OKLCHoklch(44.07% 0.158 340.3)
XYZxyz(13.3244, 7.4004, 15.1917)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87226D #22873C
analogous
#6E2287 #87226D #87223A
triadic
#87226D #6D8722 #226D87
tetradic
#87226D #876E22 #22873C #223A87
square
#87226D #876E22 #22873C #223A87
split-complementary
#87226D #3A8722 #22876E
monochromatic
#25091E #561646 #87226D #B82E94 #D350B1

Accessibility & contrast

On white

8.47
#87226D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87226D
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87226D#FFFFFF#000000##FFFFFF
##87226D1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29436F
Deuteranopia (green-blind)
#4A536B
Tritanopia (blue-blind)
#8F2545
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #87226d;
/* rgb */ color: rgb(135, 34, 109);
/* oklch */ color: oklch(44.1% 0.158 340.3);
Tailwind
colors: {
  custom: {
    50: '#ad6797',
    500: '#87226d',
    950: '#000000',
  },
}
SCSS
$custom: #87226d;
$custom-light: #ad6797;
$custom-dark: #000000;
JSON
{
  "hex": "#87226d",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 315.446,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44074,
    "c": 0.15791,
    "h": 340.3
  },
  "luminance": 0.07399
}

Semantic roles & 50–950 ramp

primary
#87226D
secondary
#4EB769
accent
#E36E45
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #87226D

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

Preview Lab → · Contrast checker → · Palette generator →

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