#87266D#87266D

#87266D is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.5% C 0.153 H 340.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#87266D
RGBrgb(135, 38, 109)
HSLhsl(316, 56%, 34%)
HSVhsv(316, 72%, 53%)
CMYKcmyk(0%, 71.9%, 19.3%, 47.1%)
CIE-LABlab(33.23, 48.34, -18.95)
CIE-LCHlch(33.23, 51.92, 338.59°)
OKLaboklab(44.46% 0.1442 -0.051)
OKLCHoklch(44.46% 0.153 340.5)
XYZxyz(13.4455, 7.6425, 15.2321)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87266D #268740
analogous
#712687 #87266D #87263D
triadic
#87266D #6D8726 #266D87
tetradic
#87266D #877126 #268740 #263D87
square
#87266D #877126 #268740 #263D87
split-complementary
#87266D #3D8726 #268771
monochromatic
#270B20 #571946 #87266D #B73394 #D058B0

Accessibility & contrast

On white

8.31
#87266D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87266D
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87266D#FFFFFF#000000##FFFFFF
##87266D1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D446F
Deuteranopia (green-blind)
#4B546B
Tritanopia (blue-blind)
#8F2846
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #87266d;
/* rgb */ color: rgb(135, 38, 109);
/* oklch */ color: oklch(44.5% 0.153 340.5);
Tailwind
colors: {
  custom: {
    50: '#ad6997',
    500: '#87266d',
    950: '#000000',
  },
}
SCSS
$custom: #87266d;
$custom-light: #ad6997;
$custom-dark: #000000;
JSON
{
  "hex": "#87266d",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 109
  },
  "hsl": {
    "h": 316.082,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44456,
    "c": 0.15293,
    "h": 340.5
  },
  "luminance": 0.07641
}

Semantic roles & 50–950 ramp

primary
#87266D
secondary
#54B56E
accent
#DF7148
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #87266D

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

Preview Lab → · Contrast checker → · Palette generator →

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