#87226A#87226A

#87226A is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.156 H 341.9°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#87226A
RGBrgb(135, 34, 106)
HSLhsl(317, 60%, 33%)
HSVhsv(317, 75%, 53%)
CMYKcmyk(0%, 74.8%, 21.5%, 47.1%)
CIE-LABlab(32.56, 49.39, -18.07)
CIE-LCHlch(32.56, 52.59, 339.91°)
OKLaboklab(43.93% 0.1481 -0.0485)
OKLCHoklch(43.93% 0.156 341.9)
XYZxyz(13.1656, 7.3369, 14.3557)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87226A #22873F
analogous
#712287 #87226A #872237
triadic
#87226A #6A8722 #226A87
tetradic
#87226A #877122 #22873F #223787
square
#87226A #877122 #22873F #223787
split-complementary
#87226A #378722 #228771
monochromatic
#25091D #561644 #87226A #B82E90 #D350AE

Accessibility & contrast

On white

8.51
#87226A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#87226A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87226A
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87226A#FFFFFF#000000##FFFFFF
##87226A1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B426C
Deuteranopia (green-blind)
#4B5368
Tritanopia (blue-blind)
#902343
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #87226a;
/* rgb */ color: rgb(135, 34, 106);
/* oklch */ color: oklch(43.9% 0.156 341.9);
Tailwind
colors: {
  custom: {
    50: '#ad6794',
    500: '#87226a',
    950: '#000000',
  },
}
SCSS
$custom: #87226a;
$custom-light: #ad6794;
$custom-dark: #000000;
JSON
{
  "hex": "#87226a",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 317.228,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43927,
    "c": 0.15588,
    "h": 341.9
  },
  "luminance": 0.07336
}

Semantic roles & 50–950 ramp

primary
#87226A
secondary
#4EB76C
accent
#E37245
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #87226A

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

Preview Lab → · Contrast checker → · Palette generator →

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