#8D175B#8D175B

#8D175B is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.4% C 0.163 H 351.5°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#8D175B
RGBrgb(141, 23, 91)
HSLhsl(325, 72%, 32%)
HSVhsv(325, 84%, 55%)
CMYKcmyk(0%, 83.7%, 35.5%, 44.7%)
CIE-LABlab(31.88, 52.42, -9.33)
CIE-LCHlch(31.88, 53.24, 349.90°)
OKLaboklab(43.44% 0.161 -0.0242)
OKLCHoklch(43.44% 0.163 351.5)
XYZxyz(13.1801, 7.0325, 10.5588)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D175B #178D49
analogous
#84178D #8D175B #8D1720
triadic
#8D175B #5B8D17 #175B8D
tetradic
#8D175B #8D8417 #178D49 #17208D
square
#8D175B #8D8417 #178D49 #17208D
split-complementary
#8D175B #208D17 #178D84
monochromatic
#240617 #580E39 #8D175B #C2207D #E03F9B

Accessibility & contrast

On white

8.73
#8D175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8D175B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D175B
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D175B#FFFFFF#000000##FFFFFF
##8D175B1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3E5D
Deuteranopia (green-blind)
#515258
Tritanopia (blue-blind)
#980838
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8d175b;
/* rgb */ color: rgb(141, 23, 91);
/* oklch */ color: oklch(43.4% 0.163 351.5);
Tailwind
colors: {
  custom: {
    50: '#b36489',
    500: '#8d175b',
    950: '#000000',
  },
}
SCSS
$custom: #8d175b;
$custom-light: #b36489;
$custom-dark: #000000;
JSON
{
  "hex": "#8d175b",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 325.424,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43435,
    "c": 0.16278,
    "h": 351.5
  },
  "luminance": 0.07031
}

Semantic roles & 50–950 ramp

primary
#8D175B
secondary
#40C076
accent
#EF8639
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8D175B

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

Preview Lab → · Contrast checker → · Palette generator →

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