#9D174C#9D174C

#9D174C is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.169 H 4.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#9D174C
RGBrgb(157, 23, 76)
HSLhsl(336, 74%, 35%)
HSVhsv(336, 85%, 62%)
CMYKcmyk(0%, 85.4%, 51.6%, 38.4%)
CIE-LABlab(34.61, 55.12, 4.83)
CIE-LCHlch(34.61, 55.34, 5.01°)
OKLaboklab(45.84% 0.1689 0.0128)
OKLCHoklch(45.84% 0.169 4.3)
XYZxyz(15.5170, 8.3049, 7.6220)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D174C #179D68
analogous
#9D178F #9D174C #9D2517
triadic
#9D174C #4C9D17 #174C9D
tetradic
#9D174C #8F9D17 #179D68 #25179D
square
#9D174C #8F9D17 #179D68 #25179D
split-complementary
#9D174C #179D25 #178F9D
monochromatic
#320718 #680F32 #9D174C #D21F66 #E44A87

Accessibility & contrast

On white

7.89
#9D174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9D174C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D174C
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D174C#FFFFFF#000000##FFFFFF
##9D174C1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414D
Deuteranopia (green-blind)
#5F5B49
Tritanopia (blue-blind)
#AB0030
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d174c;
/* rgb */ color: rgb(157, 23, 76);
/* oklch */ color: oklch(45.8% 0.169 4.3);
Tailwind
colors: {
  custom: {
    50: '#c0667d',
    500: '#9d174c',
    950: '#000000',
  },
}
SCSS
$custom: #9d174c;
$custom-light: #c0667d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d174c",
  "rgb": {
    "r": 157,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 336.269,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4584,
    "c": 0.16941,
    "h": 4.3
  },
  "luminance": 0.08303
}

Semantic roles & 50–950 ramp

primary
#9D174C
secondary
#4AC695
accent
#F1A737
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D174C

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

Preview Lab → · Contrast checker → · Palette generator →

#9D174C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva