#8B173A#8B173A

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

Color values

HEX#8B173A
RGBrgb(139, 23, 58)
HSLhsl(342, 72%, 32%)
HSVhsv(342, 83%, 55%)
CMYKcmyk(0%, 83.5%, 58.3%, 45.5%)
CIE-LABlab(30.42, 48.76, 10.27)
CIE-LCHlch(30.42, 49.83, 11.89°)
OKLaboklab(41.95% 0.148 0.0258)
OKLCHoklch(41.95% 0.15 9.9)
XYZxyz(11.7187, 6.4090, 4.6222)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B173A #178B68
analogous
#8B1774 #8B173A #8B2E17
triadic
#8B173A #3A8B17 #173A8B
tetradic
#8B173A #748B17 #178B68 #2E178B
square
#8B173A #748B17 #178B68 #2E178B
split-complementary
#8B173A #178B2E #17748B
monochromatic
#22060E #560E24 #8B173A #C02050 #DF3D6E

Accessibility & contrast

On white

9.20
#8B173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8B173A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B173A
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B173A#FFFFFF#000000##FFFFFF
##8B173A1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38393B
Deuteranopia (green-blind)
#565037
Tritanopia (blue-blind)
#980027
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8b173a;
/* rgb */ color: rgb(139, 23, 58);
/* oklch */ color: oklch(42.0% 0.150 9.9);
Tailwind
colors: {
  custom: {
    50: '#b3626f',
    500: '#8b173a',
    950: '#000000',
  },
}
SCSS
$custom: #8b173a;
$custom-light: #b3626f;
$custom-dark: #000000;
JSON
{
  "hex": "#8b173a",
  "rgb": {
    "r": 139,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 341.897,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41952,
    "c": 0.15023,
    "h": 9.9
  },
  "luminance": 0.06407
}

Semantic roles & 50–950 ramp

primary
#8B173A
secondary
#3FBF98
accent
#EEB839
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8B173A

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

Preview Lab → · Contrast checker → · Palette generator →

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