#9D174D#9D174D

#9D174D is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.170 H 3.8°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#9D174D
RGBrgb(157, 23, 77)
HSLhsl(336, 74%, 35%)
HSVhsv(336, 85%, 62%)
CMYKcmyk(0%, 85.4%, 51%, 38.4%)
CIE-LABlab(34.64, 55.21, 4.22)
CIE-LCHlch(34.64, 55.37, 4.37°)
OKLaboklab(45.87% 0.1693 0.0113)
OKLCHoklch(45.87% 0.17 3.8)
XYZxyz(15.5520, 8.3189, 7.8065)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D174D #179D67
analogous
#9D1790 #9D174D #9D2417
triadic
#9D174D #4D9D17 #174D9D
tetradic
#9D174D #909D17 #179D67 #24179D
square
#9D174D #909D17 #179D67 #24179D
split-complementary
#9D174D #179D24 #17909D
monochromatic
#320719 #680F33 #9D174D #D21F67 #E44A88

Accessibility & contrast

On white

7.88
#9D174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D174D
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D174D#FFFFFF#000000##FFFFFF
##9D174D1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d174d;
/* rgb */ color: rgb(157, 23, 77);
/* oklch */ color: oklch(45.9% 0.170 3.8);
Tailwind
colors: {
  custom: {
    50: '#c0667e',
    500: '#9d174d',
    950: '#000000',
  },
}
SCSS
$custom: #9d174d;
$custom-light: #c0667e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d174d",
  "rgb": {
    "r": 157,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 335.821,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4587,
    "c": 0.16968,
    "h": 3.8
  },
  "luminance": 0.08317
}

Semantic roles & 50–950 ramp

primary
#9D174D
secondary
#4AC694
accent
#F1A637
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D174D

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

Preview Lab → · Contrast checker → · Palette generator →

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