#9D1F52#9D1F52

#9D1F52 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.164 H 2.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9D1F52
RGBrgb(157, 31, 82)
HSLhsl(336, 67%, 37%)
HSVhsv(336, 80%, 62%)
CMYKcmyk(0%, 80.3%, 47.8%, 38.4%)
CIE-LABlab(35.52, 53.55, 2.24)
CIE-LCHlch(35.52, 53.60, 2.40°)
OKLaboklab(46.56% 0.1644 0.0063)
OKLCHoklch(46.56% 0.164 2.2)
XYZxyz(15.9189, 8.7594, 8.8335)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F52 #1F9D6A
analogous
#9D1F91 #9D1F52 #9D2B1F
triadic
#9D1F52 #529D1F #1F529D
tetradic
#9D1F52 #919D1F #1F9D6A #2B1F9D
square
#9D1F52 #919D1F #1F9D6A #2B1F9D
split-complementary
#9D1F52 #1F9D2B #1F919D
monochromatic
#370B1D #6A1537 #9D1F52 #D0296D #DE588E

Accessibility & contrast

On white

7.63
#9D1F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9D1F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F52
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F52#FFFFFF#000000##FFFFFF
##9D1F521.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4453
Deuteranopia (green-blind)
#605C4F
Tritanopia (blue-blind)
#AB0036
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d1f52;
/* rgb */ color: rgb(157, 31, 82);
/* oklch */ color: oklch(46.6% 0.164 2.2);
Tailwind
colors: {
  custom: {
    50: '#c06982',
    500: '#9d1f52',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f52;
$custom-light: #c06982;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f52",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 335.714,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46562,
    "c": 0.16448,
    "h": 2.2
  },
  "luminance": 0.08757
}

Semantic roles & 50–950 ramp

primary
#9D1F52
secondary
#56C296
accent
#EAA43E
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1F52

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

Preview Lab → · Contrast checker → · Palette generator →

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