#9D173F#9D173F

#9D173F is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.167 H 11.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#9D173F
RGBrgb(157, 23, 63)
HSLhsl(342, 74%, 35%)
HSVhsv(342, 85%, 62%)
CMYKcmyk(0%, 85.4%, 59.9%, 38.4%)
CIE-LABlab(34.28, 54.15, 12.85)
CIE-LCHlch(34.28, 55.65, 13.35°)
OKLaboklab(45.49% 0.1639 0.0319)
OKLCHoklch(45.49% 0.167 11)
XYZxyz(15.1098, 8.1421, 5.4776)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D173F #179D75
analogous
#9D1782 #9D173F #9D3217
triadic
#9D173F #3F9D17 #173F9D
tetradic
#9D173F #829D17 #179D75 #32179D
square
#9D173F #829D17 #179D75 #32179D
split-complementary
#9D173F #179D32 #17829D
monochromatic
#320714 #680F2A #9D173F #D21F54 #E44A78

Accessibility & contrast

On white

7.99
#9D173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#9D173F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D173F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D173F#FFFFFF#000000##FFFFFF
##9D173F1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3F40
Deuteranopia (green-blind)
#615A3C
Tritanopia (blue-blind)
#AC0029
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d173f;
/* rgb */ color: rgb(157, 23, 63);
/* oklch */ color: oklch(45.5% 0.167 11.0);
Tailwind
colors: {
  custom: {
    50: '#c16573',
    500: '#9d173f',
    950: '#000000',
  },
}
SCSS
$custom: #9d173f;
$custom-light: #c16573;
$custom-dark: #000000;
JSON
{
  "hex": "#9d173f",
  "rgb": {
    "r": 157,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 342.09,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45488,
    "c": 0.16698,
    "h": 11
  },
  "luminance": 0.0814
}

Semantic roles & 50–950 ramp

primary
#9D173F
secondary
#4AC6A1
accent
#F1B937
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #9D173F

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

Preview Lab → · Contrast checker → · Palette generator →

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