#87336B#87336B

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

Color values

HEX#87336B
RGBrgb(135, 51, 107)
HSLhsl(320, 45%, 36%)
HSVhsv(320, 62%, 53%)
CMYKcmyk(0%, 62.2%, 20.7%, 47.1%)
CIE-LABlab(35.17, 42.44, -14.70)
CIE-LCHlch(35.17, 44.92, 340.90°)
OKLaboklab(45.85% 0.1268 -0.0392)
OKLCHoklch(45.85% 0.133 342.8)
XYZxyz(13.8297, 8.5813, 14.8351)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87336B #33874F
analogous
#793387 #87336B #873341
triadic
#87336B #6B8733 #336B87
tetradic
#87336B #877933 #33874F #334187
square
#87336B #877933 #33874F #334187
split-complementary
#87336B #418733 #338779
monochromatic
#2E1125 #5B2248 #87336B #B3448E #C86DA9

Accessibility & contrast

On white

7.73
#87336B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87336B
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87336B#FFFFFF#000000##FFFFFF
##87336B1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4A6D
Deuteranopia (green-blind)
#525869
Tritanopia (blue-blind)
#8F334A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #87336b;
/* rgb */ color: rgb(135, 51, 107);
/* oklch */ color: oklch(45.8% 0.133 342.8);
Tailwind
colors: {
  custom: {
    50: '#ad7095',
    500: '#87336b',
    950: '#000000',
  },
}
SCSS
$custom: #87336b;
$custom-light: #ad7095;
$custom-dark: #000000;
JSON
{
  "hex": "#87336b",
  "rgb": {
    "r": 135,
    "g": 51,
    "b": 107
  },
  "hsl": {
    "h": 320,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45846,
    "c": 0.13274,
    "h": 342.8
  },
  "luminance": 0.0858
}

Semantic roles & 50–950 ramp

primary
#87336B
secondary
#66B07F
accent
#D57E53
background
#FAF6F9
surface
#F5ECF1
border
#CFC7CB
text
#11080D
muted
#807B7E

Preview Lab

Preview with #87336B

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

Preview Lab → · Contrast checker → · Palette generator →

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