#8B173D#8B173D

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

Color values

HEX#8B173D
RGBrgb(139, 23, 61)
HSLhsl(340, 72%, 32%)
HSVhsv(340, 83%, 55%)
CMYKcmyk(0%, 83.5%, 56.1%, 45.5%)
CIE-LABlab(30.50, 48.99, 8.38)
CIE-LCHlch(30.50, 49.70, 9.70°)
OKLaboklab(42.03% 0.1492 0.0214)
OKLCHoklch(42.03% 0.151 8.1)
XYZxyz(11.7973, 6.4404, 5.0359)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B173D #178B65
analogous
#8B1777 #8B173D #8B2B17
triadic
#8B173D #3D8B17 #173D8B
tetradic
#8B173D #778B17 #178B65 #2B178B
square
#8B173D #778B17 #178B65 #2B178B
split-complementary
#8B173D #178B2B #17778B
monochromatic
#22060F #560E26 #8B173D #C02054 #DF3D72

Accessibility & contrast

On white

9.18
#8B173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B173D
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B173D#FFFFFF#000000##FFFFFF
##8B173D1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37393E
Deuteranopia (green-blind)
#55503A
Tritanopia (blue-blind)
#980028
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8b173d;
/* rgb */ color: rgb(139, 23, 61);
/* oklch */ color: oklch(42.0% 0.151 8.1);
Tailwind
colors: {
  custom: {
    50: '#b36272',
    500: '#8b173d',
    950: '#000000',
  },
}
SCSS
$custom: #8b173d;
$custom-light: #b36272;
$custom-dark: #000000;
JSON
{
  "hex": "#8b173d",
  "rgb": {
    "r": 139,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 340.345,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42032,
    "c": 0.15071,
    "h": 8.1
  },
  "luminance": 0.06439
}

Semantic roles & 50–950 ramp

primary
#8B173D
secondary
#3FBF95
accent
#EEB339
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8B173D

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

Preview Lab → · Contrast checker → · Palette generator →

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