#87226B#87226B

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

Color values

HEX#87226B
RGBrgb(135, 34, 107)
HSLhsl(317, 60%, 33%)
HSVhsv(317, 75%, 53%)
CMYKcmyk(0%, 74.8%, 20.7%, 47.1%)
CIE-LABlab(32.61, 49.53, -18.63)
CIE-LCHlch(32.61, 52.92, 339.38°)
OKLaboklab(43.98% 0.1483 -0.0501)
OKLCHoklch(43.98% 0.157 341.3)
XYZxyz(13.2180, 7.3578, 14.6311)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87226B #22873E
analogous
#702287 #87226B #872238
triadic
#87226B #6B8722 #226B87
tetradic
#87226B #877022 #22873E #223887
square
#87226B #877022 #22873E #223887
split-complementary
#87226B #388722 #228770
monochromatic
#25091E #561644 #87226B #B82E92 #D350AF

Accessibility & contrast

On white

8.50
#87226B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87226B
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87226B#FFFFFF#000000##FFFFFF
##87226B1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A426D
Deuteranopia (green-blind)
#4A5369
Tritanopia (blue-blind)
#8F2443
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #87226b;
/* rgb */ color: rgb(135, 34, 107);
/* oklch */ color: oklch(44.0% 0.157 341.3);
Tailwind
colors: {
  custom: {
    50: '#ad6795',
    500: '#87226b',
    950: '#000000',
  },
}
SCSS
$custom: #87226b;
$custom-light: #ad6795;
$custom-dark: #000000;
JSON
{
  "hex": "#87226b",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 316.634,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43976,
    "c": 0.15655,
    "h": 341.3
  },
  "luminance": 0.07356
}

Semantic roles & 50–950 ramp

primary
#87226B
secondary
#4EB76B
accent
#E37145
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #87226B

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

Preview Lab → · Contrast checker → · Palette generator →

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