#8B173C#8B173C

#8B173C is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.151 H 8.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#8B173C
RGBrgb(139, 23, 60)
HSLhsl(341, 72%, 32%)
HSVhsv(341, 83%, 55%)
CMYKcmyk(0%, 83.5%, 56.8%, 45.5%)
CIE-LABlab(30.47, 48.92, 9.01)
CIE-LCHlch(30.47, 49.74, 10.43°)
OKLaboklab(42.01% 0.1488 0.0229)
OKLCHoklch(42.01% 0.151 8.7)
XYZxyz(11.7706, 6.4297, 4.8954)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B173C #178B66
analogous
#8B1776 #8B173C #8B2C17
triadic
#8B173C #3C8B17 #173C8B
tetradic
#8B173C #768B17 #178B66 #2C178B
square
#8B173C #768B17 #178B66 #2C178B
split-complementary
#8B173C #178B2C #17768B
monochromatic
#22060F #560E25 #8B173C #C02053 #DF3D71

Accessibility & contrast

On white

9.19
#8B173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8B173C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B173C
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B173C#FFFFFF#000000##FFFFFF
##8B173C1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38393D
Deuteranopia (green-blind)
#555039
Tritanopia (blue-blind)
#980028
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8b173c;
/* rgb */ color: rgb(139, 23, 60);
/* oklch */ color: oklch(42.0% 0.151 8.7);
Tailwind
colors: {
  custom: {
    50: '#b36271',
    500: '#8b173c',
    950: '#000000',
  },
}
SCSS
$custom: #8b173c;
$custom-light: #b36271;
$custom-dark: #000000;
JSON
{
  "hex": "#8b173c",
  "rgb": {
    "r": 139,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 340.862,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42005,
    "c": 0.15053,
    "h": 8.7
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#8B173C
secondary
#3FBF96
accent
#EEB539
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8B173C

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

Preview Lab → · Contrast checker → · Palette generator →

#8B173C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva