#8B173E#8B173E

#8B173E is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.151 H 7.6°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#8B173E
RGBrgb(139, 23, 62)
HSLhsl(340, 72%, 32%)
HSVhsv(340, 83%, 55%)
CMYKcmyk(0%, 83.5%, 55.4%, 45.5%)
CIE-LABlab(30.52, 49.07, 7.75)
CIE-LCHlch(30.52, 49.68, 8.97°)
OKLaboklab(42.06% 0.1496 0.0199)
OKLCHoklch(42.06% 0.151 7.6)
XYZxyz(11.8245, 6.4513, 5.1791)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B173E #178B64
analogous
#8B1778 #8B173E #8B2A17
triadic
#8B173E #3E8B17 #173E8B
tetradic
#8B173E #788B17 #178B64 #2A178B
square
#8B173E #788B17 #178B64 #2A178B
split-complementary
#8B173E #178B2A #17788B
monochromatic
#22060F #560E27 #8B173E #C02055 #DF3D74

Accessibility & contrast

On white

9.17
#8B173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B173E
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B173E#FFFFFF#000000##FFFFFF
##8B173E1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37393F
Deuteranopia (green-blind)
#55503B
Tritanopia (blue-blind)
#980029
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8b173e;
/* rgb */ color: rgb(139, 23, 62);
/* oklch */ color: oklch(42.1% 0.151 7.6);
Tailwind
colors: {
  custom: {
    50: '#b36273',
    500: '#8b173e',
    950: '#000000',
  },
}
SCSS
$custom: #8b173e;
$custom-light: #b36273;
$custom-dark: #000000;
JSON
{
  "hex": "#8b173e",
  "rgb": {
    "r": 139,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 339.828,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4206,
    "c": 0.1509,
    "h": 7.6
  },
  "luminance": 0.0645
}

Semantic roles & 50–950 ramp

primary
#8B173E
secondary
#3FBF94
accent
#EEB239
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8B173E

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

Preview Lab → · Contrast checker → · Palette generator →

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