#87316E#87316E

#87316E is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.7% C 0.138 H 340.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#87316E
RGBrgb(135, 49, 110)
HSLhsl(317, 47%, 36%)
HSVhsv(317, 64%, 53%)
CMYKcmyk(0%, 63.7%, 18.5%, 47.1%)
CIE-LABlab(34.95, 43.84, -16.92)
CIE-LCHlch(34.95, 46.99, 338.89°)
OKLaboklab(45.73% 0.1303 -0.0454)
OKLCHoklch(45.73% 0.138 340.8)
XYZxyz(13.9048, 8.4745, 15.6523)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87316E #31874A
analogous
#753187 #87316E #873143
triadic
#87316E #6E8731 #316E87
tetradic
#87316E #877531 #31874A #314387
square
#87316E #877531 #31874A #314387
split-complementary
#87316E #438731 #318775
monochromatic
#2D1025 #5A2149 #87316E #B44193 #C96AAD

Accessibility & contrast

On white

7.79
#87316E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#87316E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87316E
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87316E#FFFFFF#000000##FFFFFF
##87316E1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364970
Deuteranopia (green-blind)
#50576C
Tritanopia (blue-blind)
#8F334B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #87316e;
/* rgb */ color: rgb(135, 49, 110);
/* oklch */ color: oklch(45.7% 0.138 340.8);
Tailwind
colors: {
  custom: {
    50: '#ad6f97',
    500: '#87316e',
    950: '#000000',
  },
}
SCSS
$custom: #87316e;
$custom-light: #ad6f97;
$custom-dark: #000000;
JSON
{
  "hex": "#87316e",
  "rgb": {
    "r": 135,
    "g": 49,
    "b": 110
  },
  "hsl": {
    "h": 317.442,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45732,
    "c": 0.13799,
    "h": 340.8
  },
  "luminance": 0.08473
}

Semantic roles & 50–950 ramp

primary
#87316E
secondary
#64B07A
accent
#D67851
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #87316E

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

Preview Lab → · Contrast checker → · Palette generator →

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