#9D1F50#9D1F50

#9D1F50 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.164 H 3.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9D1F50
RGBrgb(157, 31, 80)
HSLhsl(337, 67%, 37%)
HSVhsv(337, 80%, 62%)
CMYKcmyk(0%, 80.3%, 49%, 38.4%)
CIE-LABlab(35.46, 53.37, 3.45)
CIE-LCHlch(35.46, 53.49, 3.70°)
OKLaboklab(46.5% 0.1636 0.0094)
OKLCHoklch(46.5% 0.164 3.3)
XYZxyz(15.8439, 8.7295, 8.4385)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F50 #1F9D6C
analogous
#9D1F8F #9D1F50 #9D2D1F
triadic
#9D1F50 #509D1F #1F509D
tetradic
#9D1F50 #8F9D1F #1F9D6C #2D1F9D
square
#9D1F50 #8F9D1F #1F9D6C #2D1F9D
split-complementary
#9D1F50 #1F9D2D #1F8F9D
monochromatic
#370B1C #6A1536 #9D1F50 #D0296A #DE588C

Accessibility & contrast

On white

7.65
#9D1F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1F50
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F50#FFFFFF#000000##FFFFFF
##9D1F501.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4451
Deuteranopia (green-blind)
#605C4D
Tritanopia (blue-blind)
#AB0035
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d1f50;
/* rgb */ color: rgb(157, 31, 80);
/* oklch */ color: oklch(46.5% 0.164 3.3);
Tailwind
colors: {
  custom: {
    50: '#c06980',
    500: '#9d1f50',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f50;
$custom-light: #c06980;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f50",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 80
  },
  "hsl": {
    "h": 336.667,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.465,
    "c": 0.16391,
    "h": 3.3
  },
  "luminance": 0.08727
}

Semantic roles & 50–950 ramp

primary
#9D1F50
secondary
#56C298
accent
#EAA73E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1F50

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

Preview Lab → · Contrast checker → · Palette generator →

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