#87315E#87315E

#87315E is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.0% C 0.128 H 351.0°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#87315E
RGBrgb(135, 49, 94)
HSLhsl(329, 47%, 36%)
HSVhsv(329, 64%, 53%)
CMYKcmyk(0%, 63.7%, 30.4%, 47.1%)
CIE-LABlab(34.31, 41.50, -7.72)
CIE-LCHlch(34.31, 42.22, 349.46°)
OKLaboklab(45.05% 0.1261 -0.02)
OKLCHoklch(45.05% 0.128 351)
XYZxyz(13.1110, 8.1570, 11.4715)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87315E #31875A
analogous
#853187 #87315E #873133
triadic
#87315E #5E8731 #315E87
tetradic
#87315E #878531 #31875A #313387
square
#87315E #878531 #31875A #313387
split-complementary
#87315E #338731 #318785
monochromatic
#2D101F #5A213F #87315E #B4417D #C96A9B

Accessibility & contrast

On white

7.98
#87315E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87315E
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87315E#FFFFFF#000000##FFFFFF
##87315E1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87315e;
/* rgb */ color: rgb(135, 49, 94);
/* oklch */ color: oklch(45.0% 0.128 351.0);
Tailwind
colors: {
  custom: {
    50: '#ad6e8b',
    500: '#87315e',
    950: '#000000',
  },
}
SCSS
$custom: #87315e;
$custom-light: #ad6e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#87315e",
  "rgb": {
    "r": 135,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 328.605,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45045,
    "c": 0.12768,
    "h": 351
  },
  "luminance": 0.08156
}

Semantic roles & 50–950 ramp

primary
#87315E
secondary
#64B088
accent
#D69151
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #87315E

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

Preview Lab → · Contrast checker → · Palette generator →

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