#87276C#87276C

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

Color values

HEX#87276C
RGBrgb(135, 39, 108)
HSLhsl(317, 55%, 34%)
HSVhsv(317, 71%, 53%)
CMYKcmyk(0%, 71.1%, 20%, 47.1%)
CIE-LABlab(33.32, 47.80, -18.17)
CIE-LCHlch(33.32, 51.14, 339.19°)
OKLaboklab(44.51% 0.1428 -0.0488)
OKLCHoklch(44.51% 0.151 341.1)
XYZxyz(13.4243, 7.6859, 14.9610)
Luminance0.0769 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87276C #278742
analogous
#722787 #87276C #87273C
triadic
#87276C #6C8727 #276C87
tetradic
#87276C #877227 #278742 #273C87
square
#87276C #877227 #278742 #273C87
split-complementary
#87276C #3C8727 #278772
monochromatic
#280C20 #581946 #87276C #B63592 #CF59AE

Accessibility & contrast

On white

8.28
#87276C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#87276C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87276C
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87276C#FFFFFF#000000##FFFFFF
##87276C1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87276c;
/* rgb */ color: rgb(135, 39, 108);
/* oklch */ color: oklch(44.5% 0.151 341.1);
Tailwind
colors: {
  custom: {
    50: '#ad6a96',
    500: '#87276c',
    950: '#000000',
  },
}
SCSS
$custom: #87276c;
$custom-light: #ad6a96;
$custom-dark: #000000;
JSON
{
  "hex": "#87276c",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 316.875,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44508,
    "c": 0.15092,
    "h": 341.1
  },
  "luminance": 0.07685
}

Semantic roles & 50–950 ramp

primary
#87276C
secondary
#56B470
accent
#DF7349
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #87276C

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

Preview Lab → · Contrast checker → · Palette generator →

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