#87276B#87276B

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

Color values

HEX#87276B
RGBrgb(135, 39, 107)
HSLhsl(318, 55%, 34%)
HSVhsv(318, 71%, 53%)
CMYKcmyk(0%, 71.1%, 20.7%, 47.1%)
CIE-LABlab(33.27, 47.65, -17.60)
CIE-LCHlch(33.27, 50.80, 339.73°)
OKLaboklab(44.46% 0.1426 -0.0473)
OKLCHoklch(44.46% 0.15 341.7)
XYZxyz(13.3714, 7.6648, 14.6823)
Luminance0.0766 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87276B #278743
analogous
#732787 #87276B #87273B
triadic
#87276B #6B8727 #276B87
tetradic
#87276B #877327 #278743 #273B87
square
#87276B #877327 #278743 #273B87
split-complementary
#87276B #3B8727 #278773
monochromatic
#280C20 #581945 #87276B #B63591 #CF59AD

Accessibility & contrast

On white

8.29
#87276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#87276B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87276B
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87276B#FFFFFF#000000##FFFFFF
##87276B1.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)
#2F446D
Deuteranopia (green-blind)
#4C5469
Tritanopia (blue-blind)
#8F2845
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #87276b;
/* rgb */ color: rgb(135, 39, 107);
/* oklch */ color: oklch(44.5% 0.150 341.7);
Tailwind
colors: {
  custom: {
    50: '#ad6a95',
    500: '#87276b',
    950: '#000000',
  },
}
SCSS
$custom: #87276b;
$custom-light: #ad6a95;
$custom-dark: #000000;
JSON
{
  "hex": "#87276b",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 317.5,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44461,
    "c": 0.15024,
    "h": 341.7
  },
  "luminance": 0.07663
}

Semantic roles & 50–950 ramp

primary
#87276B
secondary
#56B471
accent
#DF7549
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #87276B

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

Preview Lab → · Contrast checker → · Palette generator →

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