#87163C#87163C

#87163C is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.148 H 7.6°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#87163C
RGBrgb(135, 22, 60)
HSLhsl(340, 72%, 31%)
HSVhsv(340, 84%, 53%)
CMYKcmyk(0%, 83.7%, 55.6%, 47.1%)
CIE-LABlab(29.54, 48.05, 7.59)
CIE-LCHlch(29.54, 48.65, 8.98°)
OKLaboklab(41.18% 0.1465 0.0194)
OKLCHoklch(41.18% 0.148 7.6)
XYZxyz(11.0953, 6.0526, 4.8581)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87163C #168761
analogous
#871674 #87163C #872816
triadic
#87163C #3C8716 #163C87
tetradic
#87163C #748716 #168761 #281687
square
#87163C #748716 #168761 #281687
split-complementary
#87163C #168728 #167487
monochromatic
#1E050D #520D25 #87163C #BC1F53 #DF3971

Accessibility & contrast

On white

9.50
#87163C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#87163C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87163C
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87163C#FFFFFF#000000##FFFFFF
##87163C1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35373D
Deuteranopia (green-blind)
#534E39
Tritanopia (blue-blind)
#940027
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #87163c;
/* rgb */ color: rgb(135, 22, 60);
/* oklch */ color: oklch(41.2% 0.148 7.6);
Tailwind
colors: {
  custom: {
    50: '#b06171',
    500: '#87163c',
    950: '#000000',
  },
}
SCSS
$custom: #87163c;
$custom-light: #b06171;
$custom-dark: #000000;
JSON
{
  "hex": "#87163c",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 60
  },
  "hsl": {
    "h": 339.823,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41176,
    "c": 0.14776,
    "h": 7.6
  },
  "luminance": 0.06051
}

Semantic roles & 50–950 ramp

primary
#87163C
secondary
#3EBB91
accent
#EFB239
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #87163C

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

Preview Lab → · Contrast checker → · Palette generator →

#87163C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva