#87266E#87266E

#87266E is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.5% C 0.154 H 340.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#87266E
RGBrgb(135, 38, 110)
HSLhsl(315, 56%, 34%)
HSVhsv(315, 72%, 53%)
CMYKcmyk(0%, 71.9%, 18.5%, 47.1%)
CIE-LABlab(33.27, 48.49, -19.51)
CIE-LCHlch(33.27, 52.27, 338.08°)
OKLaboklab(44.51% 0.1443 -0.0526)
OKLCHoklch(44.51% 0.154 340)
XYZxyz(13.4996, 7.6642, 15.5172)
Luminance0.0766 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87266E #26873F
analogous
#702687 #87266E #87263E
triadic
#87266E #6E8726 #266E87
tetradic
#87266E #877026 #26873F #263E87
square
#87266E #877026 #26873F #263E87
split-complementary
#87266E #3E8726 #268770
monochromatic
#270B20 #571947 #87266E #B73395 #D058B1

Accessibility & contrast

On white

8.29
#87266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#87266E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87266E
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87266E#FFFFFF#000000##FFFFFF
##87266E1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4470
Deuteranopia (green-blind)
#4B546C
Tritanopia (blue-blind)
#8F2946
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #87266e;
/* rgb */ color: rgb(135, 38, 110);
/* oklch */ color: oklch(44.5% 0.154 340.0);
Tailwind
colors: {
  custom: {
    50: '#ad6997',
    500: '#87266e',
    950: '#000000',
  },
}
SCSS
$custom: #87266e;
$custom-light: #ad6997;
$custom-dark: #000000;
JSON
{
  "hex": "#87266e",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 315.464,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44505,
    "c": 0.15363,
    "h": 340
  },
  "luminance": 0.07663
}

Semantic roles & 50–950 ramp

primary
#87266E
secondary
#54B56D
accent
#DF6F48
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #87266E

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

Preview Lab → · Contrast checker → · Palette generator →

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