#87266C#87266C

#87266C is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.4% C 0.152 H 341.0°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#87266C
RGBrgb(135, 38, 108)
HSLhsl(317, 56%, 34%)
HSVhsv(317, 72%, 53%)
CMYKcmyk(0%, 71.9%, 20%, 47.1%)
CIE-LABlab(33.18, 48.19, -18.38)
CIE-LCHlch(33.18, 51.58, 339.12°)
OKLaboklab(44.41% 0.144 -0.0494)
OKLCHoklch(44.41% 0.152 341)
XYZxyz(13.3919, 7.6211, 14.9502)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87266C #268741
analogous
#722687 #87266C #87263C
triadic
#87266C #6C8726 #266C87
tetradic
#87266C #877226 #268741 #263C87
square
#87266C #877226 #268741 #263C87
split-complementary
#87266C #3C8726 #268772
monochromatic
#270B20 #571946 #87266C #B73392 #D058AE

Accessibility & contrast

On white

8.32
#87266C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#87266C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87266C
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87266C#FFFFFF#000000##FFFFFF
##87266C1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D446E
Deuteranopia (green-blind)
#4C546A
Tritanopia (blue-blind)
#8F2845
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #87266c;
/* rgb */ color: rgb(135, 38, 108);
/* oklch */ color: oklch(44.4% 0.152 341.0);
Tailwind
colors: {
  custom: {
    50: '#ad6996',
    500: '#87266c',
    950: '#000000',
  },
}
SCSS
$custom: #87266c;
$custom-light: #ad6996;
$custom-dark: #000000;
JSON
{
  "hex": "#87266c",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 108
  },
  "hsl": {
    "h": 316.701,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44407,
    "c": 0.15224,
    "h": 341
  },
  "luminance": 0.0762
}

Semantic roles & 50–950 ramp

primary
#87266C
secondary
#54B56F
accent
#DF7248
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #87266C

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

Preview Lab → · Contrast checker → · Palette generator →

#87266C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva