#87226F#87226F

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

Color values

HEX#87226F
RGBrgb(135, 34, 111)
HSLhsl(314, 60%, 33%)
HSVhsv(314, 75%, 53%)
CMYKcmyk(0%, 74.8%, 17.8%, 47.1%)
CIE-LABlab(32.80, 50.12, -20.89)
CIE-LCHlch(32.80, 54.29, 337.37°)
OKLaboklab(44.17% 0.149 -0.0565)
OKLCHoklch(44.17% 0.159 339.2)
XYZxyz(13.4333, 7.4439, 15.7652)
Luminance0.0744 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87226F #22873A
analogous
#6C2287 #87226F #87223D
triadic
#87226F #6F8722 #226F87
tetradic
#87226F #876C22 #22873A #223D87
square
#87226F #876C22 #22873A #223D87
split-complementary
#87226F #3D8722 #22876C
monochromatic
#25091F #561647 #87226F #B82E97 #D350B4

Accessibility & contrast

On white

8.44
#87226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#87226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87226F
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87226F#FFFFFF#000000##FFFFFF
##87226F1.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)
#284371
Deuteranopia (green-blind)
#49536D
Tritanopia (blue-blind)
#8F2646
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #87226f;
/* rgb */ color: rgb(135, 34, 111);
/* oklch */ color: oklch(44.2% 0.159 339.2);
Tailwind
colors: {
  custom: {
    50: '#ad6898',
    500: '#87226f',
    950: '#000000',
  },
}
SCSS
$custom: #87226f;
$custom-light: #ad6898;
$custom-dark: #000000;
JSON
{
  "hex": "#87226f",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 314.257,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44174,
    "c": 0.15931,
    "h": 339.2
  },
  "luminance": 0.07443
}

Semantic roles & 50–950 ramp

primary
#87226F
secondary
#4EB767
accent
#E36A45
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #87226F

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

Preview Lab → · Contrast checker → · Palette generator →

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