#87336C#87336C

#87336C is a mid, vivid pink. Relative luminance 0.086; OKLCH L 45.9% C 0.133 H 342.2°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#87336C
RGBrgb(135, 51, 108)
HSLhsl(319, 45%, 36%)
HSVhsv(319, 62%, 53%)
CMYKcmyk(0%, 62.2%, 20%, 47.1%)
CIE-LABlab(35.21, 42.60, -15.27)
CIE-LCHlch(35.21, 45.25, 340.28°)
OKLaboklab(45.89% 0.1271 -0.0408)
OKLCHoklch(45.89% 0.133 342.2)
XYZxyz(13.8826, 8.6025, 15.1137)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87336C #33874E
analogous
#783387 #87336C #873342
triadic
#87336C #6C8733 #336C87
tetradic
#87336C #877833 #33874E #334287
square
#87336C #877833 #33874E #334287
split-complementary
#87336C #428733 #338778
monochromatic
#2E1125 #5B2248 #87336C #B34490 #C86DAA

Accessibility & contrast

On white

7.72
#87336C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#87336C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87336C
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87336C#FFFFFF#000000##FFFFFF
##87336C1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394A6E
Deuteranopia (green-blind)
#51586A
Tritanopia (blue-blind)
#8F344B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #87336c;
/* rgb */ color: rgb(135, 51, 108);
/* oklch */ color: oklch(45.9% 0.133 342.2);
Tailwind
colors: {
  custom: {
    50: '#ad7096',
    500: '#87336c',
    950: '#000000',
  },
}
SCSS
$custom: #87336c;
$custom-light: #ad7096;
$custom-dark: #000000;
JSON
{
  "hex": "#87336c",
  "rgb": {
    "r": 135,
    "g": 51,
    "b": 108
  },
  "hsl": {
    "h": 319.286,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45891,
    "c": 0.13345,
    "h": 342.2
  },
  "luminance": 0.08601
}

Semantic roles & 50–950 ramp

primary
#87336C
secondary
#66B07E
accent
#D57D53
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10080D
muted
#7F7B7E

Preview Lab

Preview with #87336C

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

Preview Lab → · Contrast checker → · Palette generator →

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