#9D174A#9D174A

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

Color values

HEX#9D174A
RGBrgb(157, 23, 74)
HSLhsl(337, 74%, 35%)
HSVhsv(337, 85%, 62%)
CMYKcmyk(0%, 85.4%, 52.9%, 38.4%)
CIE-LABlab(34.55, 54.96, 6.06)
CIE-LCHlch(34.55, 55.29, 6.29°)
OKLaboklab(45.78% 0.1682 0.0158)
OKLCHoklch(45.78% 0.169 5.4)
XYZxyz(15.4485, 8.2775, 7.2615)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D174A #179D6A
analogous
#9D178D #9D174A #9D2717
triadic
#9D174A #4A9D17 #174A9D
tetradic
#9D174A #8D9D17 #179D6A #27179D
square
#9D174A #8D9D17 #179D6A #27179D
split-complementary
#9D174A #179D27 #178D9D
monochromatic
#320718 #680F31 #9D174A #D21F63 #E44A85

Accessibility & contrast

On white

7.91
#9D174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D174A
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D174A#FFFFFF#000000##FFFFFF
##9D174A1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414B
Deuteranopia (green-blind)
#5F5B47
Tritanopia (blue-blind)
#AC002F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d174a;
/* rgb */ color: rgb(157, 23, 74);
/* oklch */ color: oklch(45.8% 0.169 5.4);
Tailwind
colors: {
  custom: {
    50: '#c0667c',
    500: '#9d174a',
    950: '#000000',
  },
}
SCSS
$custom: #9d174a;
$custom-light: #c0667c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d174a",
  "rgb": {
    "r": 157,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 337.164,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45781,
    "c": 0.16893,
    "h": 5.4
  },
  "luminance": 0.08275
}

Semantic roles & 50–950 ramp

primary
#9D174A
secondary
#4AC697
accent
#F1AA37
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D174A

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

Preview Lab → · Contrast checker → · Palette generator →

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