#87396D#87396D

#87396D is a mid, vivid pink. Relative luminance 0.092; OKLCH L 46.7% C 0.124 H 342.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#87396D
RGBrgb(135, 57, 109)
HSLhsl(320, 41%, 38%)
HSVhsv(320, 58%, 53%)
CMYKcmyk(0%, 57.8%, 19.3%, 47.1%)
CIE-LABlab(36.33, 39.83, -14.17)
CIE-LCHlch(36.33, 42.28, 340.41°)
OKLaboklab(46.74% 0.1185 -0.0378)
OKLCHoklch(46.74% 0.124 342.3)
XYZxyz(14.2154, 9.1825, 15.4887)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87396D #398753
analogous
#7A3987 #87396D #873946
triadic
#87396D #6D8739 #396D87
tetradic
#87396D #877A39 #398753 #394687
square
#87396D #877A39 #398753 #394687
split-complementary
#87396D #468739 #39877A
monochromatic
#311528 #5C274A #87396D #B24B90 #C575AA

Accessibility & contrast

On white

7.40
#87396D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#87396D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87396D
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87396D#FFFFFF#000000##FFFFFF
##87396D1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4D6F
Deuteranopia (green-blind)
#545A6B
Tritanopia (blue-blind)
#8F3A4E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #87396d;
/* rgb */ color: rgb(135, 57, 109);
/* oklch */ color: oklch(46.7% 0.124 342.3);
Tailwind
colors: {
  custom: {
    50: '#ac7397',
    500: '#87396d',
    950: '#000000',
  },
}
SCSS
$custom: #87396d;
$custom-light: #ac7397;
$custom-dark: #000000;
JSON
{
  "hex": "#87396d",
  "rgb": {
    "r": 135,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 320,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46737,
    "c": 0.12439,
    "h": 342.3
  },
  "luminance": 0.09181
}

Semantic roles & 50–950 ramp

primary
#87396D
secondary
#6EAE83
accent
#D08057
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#10080D
muted
#7F7B7E

Preview Lab

Preview with #87396D

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

Preview Lab → · Contrast checker → · Palette generator →

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