#87315D#87315D

#87315D is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.0% C 0.127 H 351.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#87315D
RGBrgb(135, 49, 93)
HSLhsl(329, 47%, 36%)
HSVhsv(329, 64%, 53%)
CMYKcmyk(0%, 63.7%, 31.1%, 47.1%)
CIE-LABlab(34.27, 41.37, -7.14)
CIE-LCHlch(34.27, 41.98, 350.21°)
OKLaboklab(45.01% 0.1258 -0.0184)
OKLCHoklch(45.01% 0.127 351.7)
XYZxyz(13.0664, 8.1392, 11.2367)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87315D #31875B
analogous
#863187 #87315D #873132
triadic
#87315D #5D8731 #315D87
tetradic
#87315D #878631 #31875B #313287
square
#87315D #878631 #31875B #313287
split-complementary
#87315D #328731 #318786
monochromatic
#2D101F #5A213E #87315D #B4417C #C96A9A

Accessibility & contrast

On white

7.99
#87315D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#87315D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87315D
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87315D#FFFFFF#000000##FFFFFF
##87315D1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D475E
Deuteranopia (green-blind)
#55565B
Tritanopia (blue-blind)
#912D43
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #87315d;
/* rgb */ color: rgb(135, 49, 93);
/* oklch */ color: oklch(45.0% 0.127 351.7);
Tailwind
colors: {
  custom: {
    50: '#ad6e8a',
    500: '#87315d',
    950: '#000000',
  },
}
SCSS
$custom: #87315d;
$custom-light: #ad6e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#87315d",
  "rgb": {
    "r": 135,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 329.302,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45006,
    "c": 0.12714,
    "h": 351.7
  },
  "luminance": 0.08138
}

Semantic roles & 50–950 ramp

primary
#87315D
secondary
#64B089
accent
#D69251
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #87315D

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

Preview Lab → · Contrast checker → · Palette generator →

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