#8D173E#8D173E

#8D173E is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.153 H 8.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#8D173E
RGBrgb(141, 23, 62)
HSLhsl(340, 72%, 32%)
HSVhsv(340, 84%, 55%)
CMYKcmyk(0%, 83.7%, 56%, 44.7%)
CIE-LABlab(30.94, 49.64, 8.39)
CIE-LCHlch(30.94, 50.34, 9.59°)
OKLaboklab(42.44% 0.1512 0.0214)
OKLCHoklch(42.44% 0.153 8.1)
XYZxyz(12.1616, 6.6251, 5.1949)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D173E #178D66
analogous
#8D1779 #8D173E #8D2B17
triadic
#8D173E #3E8D17 #173E8D
tetradic
#8D173E #798D17 #178D66 #2B178D
square
#8D173E #798D17 #178D66 #2B178D
split-complementary
#8D173E #178D2B #17798D
monochromatic
#240610 #580E27 #8D173E #C22055 #E03F74

Accessibility & contrast

On white

9.03
#8D173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8D173E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D173E
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D173E#FFFFFF#000000##FFFFFF
##8D173E1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383A3F
Deuteranopia (green-blind)
#57513B
Tritanopia (blue-blind)
#9A0029
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8d173e;
/* rgb */ color: rgb(141, 23, 62);
/* oklch */ color: oklch(42.4% 0.153 8.1);
Tailwind
colors: {
  custom: {
    50: '#b56372',
    500: '#8d173e',
    950: '#000000',
  },
}
SCSS
$custom: #8d173e;
$custom-light: #b56372;
$custom-dark: #000000;
JSON
{
  "hex": "#8d173e",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 340.169,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42438,
    "c": 0.15269,
    "h": 8.1
  },
  "luminance": 0.06623
}

Semantic roles & 50–950 ramp

primary
#8D173E
secondary
#40C096
accent
#EFB339
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8D173E

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

Preview Lab → · Contrast checker → · Palette generator →

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