#9D1752#9D1752

#9D1752 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.171 H 1.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#9D1752
RGBrgb(157, 23, 82)
HSLhsl(334, 74%, 35%)
HSVhsv(334, 85%, 62%)
CMYKcmyk(0%, 85.4%, 47.8%, 38.4%)
CIE-LABlab(34.79, 55.64, 1.18)
CIE-LCHlch(34.79, 55.65, 1.22°)
OKLaboklab(46.03% 0.1711 0.0036)
OKLCHoklch(46.03% 0.171 1.2)
XYZxyz(15.7354, 8.3923, 8.7723)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1752 #179D62
analogous
#9D1795 #9D1752 #9D1F17
triadic
#9D1752 #529D17 #17529D
tetradic
#9D1752 #959D17 #179D62 #1F179D
square
#9D1752 #959D17 #179D62 #1F179D
split-complementary
#9D1752 #179D1F #17959D
monochromatic
#32071A #680F36 #9D1752 #D21F6E #E44A8E

Accessibility & contrast

On white

7.84
#9D1752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9D1752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1752
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1752#FFFFFF#000000##FFFFFF
##9D17521.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4253
Deuteranopia (green-blind)
#5E5B4F
Tritanopia (blue-blind)
#AB0033
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1752;
/* rgb */ color: rgb(157, 23, 82);
/* oklch */ color: oklch(46.0% 0.171 1.2);
Tailwind
colors: {
  custom: {
    50: '#c06682',
    500: '#9d1752',
    950: '#000000',
  },
}
SCSS
$custom: #9d1752;
$custom-light: #c06682;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1752",
  "rgb": {
    "r": 157,
    "g": 23,
    "b": 82
  },
  "hsl": {
    "h": 333.582,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46027,
    "c": 0.17112,
    "h": 1.2
  },
  "luminance": 0.0839
}

Semantic roles & 50–950 ramp

primary
#9D1752
secondary
#4AC68F
accent
#F19F37
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1752

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

Preview Lab → · Contrast checker → · Palette generator →

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