#87173F#87173F

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

Color values

HEX#87173F
RGBrgb(135, 23, 63)
HSLhsl(339, 71%, 31%)
HSVhsv(339, 83%, 53%)
CMYKcmyk(0%, 83%, 53.3%, 47.1%)
CIE-LABlab(29.72, 48.02, 5.84)
CIE-LCHlch(29.72, 48.37, 6.93°)
OKLaboklab(41.33% 0.1468 0.0152)
OKLCHoklch(41.33% 0.148 5.9)
XYZxyz(11.1963, 6.1242, 5.2942)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87173F #17875F
analogous
#871777 #87173F #872717
triadic
#87173F #3F8717 #173F87
tetradic
#87173F #778717 #17875F #271787
square
#87173F #778717 #17875F #271787
split-complementary
#87173F #178727 #177787
monochromatic
#1E050E #530E27 #87173F #BB2057 #DE3B75

Accessibility & contrast

On white

9.44
#87173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87173F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87173F#FFFFFF#000000##FFFFFF
##87173F1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.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: #87173f;
/* rgb */ color: rgb(135, 23, 63);
/* oklch */ color: oklch(41.3% 0.148 5.9);
Tailwind
colors: {
  custom: {
    50: '#b06273',
    500: '#87173f',
    950: '#000000',
  },
}
SCSS
$custom: #87173f;
$custom-light: #b06273;
$custom-dark: #000000;
JSON
{
  "hex": "#87173f",
  "rgb": {
    "r": 135,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 338.571,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41334,
    "c": 0.14755,
    "h": 5.9
  },
  "luminance": 0.06123
}

Semantic roles & 50–950 ramp

primary
#87173F
secondary
#3FBB8F
accent
#EEAE3A
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #87173F

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

Preview Lab → · Contrast checker → · Palette generator →

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