#87396B#87396B

#87396B is a mid, vivid pink. Relative luminance 0.091; OKLCH L 46.7% C 0.123 H 343.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#87396B
RGBrgb(135, 57, 107)
HSLhsl(322, 41%, 38%)
HSVhsv(322, 58%, 53%)
CMYKcmyk(0%, 57.8%, 20.7%, 47.1%)
CIE-LABlab(36.25, 39.52, -13.04)
CIE-LCHlch(36.25, 41.61, 341.74°)
OKLaboklab(46.65% 0.118 -0.0347)
OKLCHoklch(46.65% 0.123 343.6)
XYZxyz(14.1090, 9.1399, 14.9282)
Luminance0.0914 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87396B #398755
analogous
#7C3987 #87396B #873944
triadic
#87396B #6B8739 #396B87
tetradic
#87396B #877C39 #398755 #394487
square
#87396B #877C39 #398755 #394487
split-complementary
#87396B #448739 #39877C
monochromatic
#311527 #5C2749 #87396B #B24B8D #C575A8

Accessibility & contrast

On white

7.43
#87396B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#87396B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87396B
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87396B#FFFFFF#000000##FFFFFF
##87396B1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4D6D
Deuteranopia (green-blind)
#555A69
Tritanopia (blue-blind)
#8F394D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #87396b;
/* rgb */ color: rgb(135, 57, 107);
/* oklch */ color: oklch(46.7% 0.123 343.6);
Tailwind
colors: {
  custom: {
    50: '#ac7395',
    500: '#87396b',
    950: '#000000',
  },
}
SCSS
$custom: #87396b;
$custom-light: #ac7395;
$custom-dark: #000000;
JSON
{
  "hex": "#87396b",
  "rgb": {
    "r": 135,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 321.538,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4665,
    "c": 0.12297,
    "h": 343.6
  },
  "luminance": 0.09139
}

Semantic roles & 50–950 ramp

primary
#87396B
secondary
#6EAE85
accent
#D08357
background
#FAF7F9
surface
#F4EDF1
border
#CEC8CB
text
#10080D
muted
#7F7B7E

Preview Lab

Preview with #87396B

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

Preview Lab → · Contrast checker → · Palette generator →

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