#87163F#87163F

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

Color values

HEX#87163F
RGBrgb(135, 22, 63)
HSLhsl(338, 72%, 31%)
HSVhsv(338, 84%, 53%)
CMYKcmyk(0%, 83.7%, 53.3%, 47.1%)
CIE-LABlab(29.63, 48.30, 5.70)
CIE-LCHlch(29.63, 48.63, 6.73°)
OKLaboklab(41.26% 0.1477 0.0149)
OKLCHoklch(41.26% 0.148 5.7)
XYZxyz(11.1768, 6.0852, 5.2877)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87163F #16875E
analogous
#871677 #87163F #872516
triadic
#87163F #3F8716 #163F87
tetradic
#87163F #778716 #16875E #251687
square
#87163F #778716 #16875E #251687
split-complementary
#87163F #168725 #167787
monochromatic
#1E050E #520D26 #87163F #BC1F58 #DF3975

Accessibility & contrast

On white

9.47
#87163F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#87163F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87163F
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87163F#FFFFFF#000000##FFFFFF
##87163F1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353840
Deuteranopia (green-blind)
#524E3C
Tritanopia (blue-blind)
#940029
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #87163f;
/* rgb */ color: rgb(135, 22, 63);
/* oklch */ color: oklch(41.3% 0.148 5.7);
Tailwind
colors: {
  custom: {
    50: '#b06173',
    500: '#87163f',
    950: '#000000',
  },
}
SCSS
$custom: #87163f;
$custom-light: #b06173;
$custom-dark: #000000;
JSON
{
  "hex": "#87163f",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 63
  },
  "hsl": {
    "h": 338.23,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41262,
    "c": 0.14841,
    "h": 5.7
  },
  "luminance": 0.06084
}

Semantic roles & 50–950 ramp

primary
#87163F
secondary
#3EBB8E
accent
#EFAD39
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #87163F

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

Preview Lab → · Contrast checker → · Palette generator →

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