#87336F#87336F

#87336F is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.0% C 0.136 H 340.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#87336F
RGBrgb(135, 51, 111)
HSLhsl(317, 45%, 36%)
HSVhsv(317, 62%, 53%)
CMYKcmyk(0%, 62.2%, 17.8%, 47.1%)
CIE-LABlab(35.34, 43.06, -16.96)
CIE-LCHlch(35.34, 46.28, 338.50°)
OKLaboklab(46.03% 0.1277 -0.0456)
OKLCHoklch(46.03% 0.136 340.4)
XYZxyz(14.0450, 8.6675, 15.9691)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87336F #33874B
analogous
#753387 #87336F #873345
triadic
#87336F #6F8733 #336F87
tetradic
#87336F #877533 #33874B #334587
square
#87336F #877533 #33874B #334587
split-complementary
#87336F #458733 #338775
monochromatic
#2E1126 #5B224A #87336F #B34494 #C86DAE

Accessibility & contrast

On white

7.68
#87336F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#87336F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87336F
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87336F#FFFFFF#000000##FFFFFF
##87336F1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384B71
Deuteranopia (green-blind)
#51586D
Tritanopia (blue-blind)
#8F354C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #87336f;
/* rgb */ color: rgb(135, 51, 111);
/* oklch */ color: oklch(46.0% 0.136 340.4);
Tailwind
colors: {
  custom: {
    50: '#ad7098',
    500: '#87336f',
    950: '#000000',
  },
}
SCSS
$custom: #87336f;
$custom-light: #ad7098;
$custom-dark: #000000;
JSON
{
  "hex": "#87336f",
  "rgb": {
    "r": 135,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 317.143,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46028,
    "c": 0.13562,
    "h": 340.4
  },
  "luminance": 0.08666
}

Semantic roles & 50–950 ramp

primary
#87336F
secondary
#66B07B
accent
#D57853
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#10080D
muted
#7F7B7E

Preview Lab

Preview with #87336F

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

Preview Lab → · Contrast checker → · Palette generator →

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