#87226E#87226E

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

Color values

HEX#87226E
RGBrgb(135, 34, 110)
HSLhsl(315, 60%, 33%)
HSVhsv(315, 75%, 53%)
CMYKcmyk(0%, 74.8%, 18.5%, 47.1%)
CIE-LABlab(32.75, 49.97, -20.33)
CIE-LCHlch(32.75, 53.94, 337.86°)
OKLaboklab(44.12% 0.1488 -0.0549)
OKLCHoklch(44.12% 0.159 339.7)
XYZxyz(13.3785, 7.4220, 15.4768)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87226E #22873B
analogous
#6D2287 #87226E #87223C
triadic
#87226E #6E8722 #226E87
tetradic
#87226E #876D22 #22873B #223C87
square
#87226E #876D22 #22873B #223C87
split-complementary
#87226E #3C8722 #22876D
monochromatic
#25091E #561646 #87226E #B82E96 #D350B3

Accessibility & contrast

On white

8.45
#87226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87226E
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87226E#FFFFFF#000000##FFFFFF
##87226E1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294370
Deuteranopia (green-blind)
#49536C
Tritanopia (blue-blind)
#8F2545
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #87226e;
/* rgb */ color: rgb(135, 34, 110);
/* oklch */ color: oklch(44.1% 0.159 339.7);
Tailwind
colors: {
  custom: {
    50: '#ad6797',
    500: '#87226e',
    950: '#000000',
  },
}
SCSS
$custom: #87226e;
$custom-light: #ad6797;
$custom-dark: #000000;
JSON
{
  "hex": "#87226e",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 314.851,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44124,
    "c": 0.15861,
    "h": 339.7
  },
  "luminance": 0.07421
}

Semantic roles & 50–950 ramp

primary
#87226E
secondary
#4EB768
accent
#E36C45
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #87226E

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

Preview Lab → · Contrast checker → · Palette generator →

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