#9D1B52#9D1B52

#9D1B52 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.168 H 1.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#9D1B52
RGBrgb(157, 27, 82)
HSLhsl(335, 71%, 36%)
HSVhsv(335, 83%, 62%)
CMYKcmyk(0%, 82.8%, 47.8%, 38.4%)
CIE-LABlab(35.13, 54.66, 1.68)
CIE-LCHlch(35.13, 54.68, 1.76°)
OKLaboklab(46.28% 0.1679 0.0049)
OKLCHoklch(46.28% 0.168 1.7)
XYZxyz(15.8209, 8.5634, 8.8008)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1B52 #1B9D66
analogous
#9D1B93 #9D1B52 #9D251B
triadic
#9D1B52 #529D1B #1B529D
tetradic
#9D1B52 #939D1B #1B9D66 #251B9D
square
#9D1B52 #939D1B #1B9D66 #251B9D
split-complementary
#9D1B52 #1B9D25 #1B939D
monochromatic
#35091B #691237 #9D1B52 #D1246D #E1518E

Accessibility & contrast

On white

7.74
#9D1B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9D1B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1B52
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1B52#FFFFFF#000000##FFFFFF
##9D1B521.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4353
Deuteranopia (green-blind)
#5F5B4F
Tritanopia (blue-blind)
#AB0034
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d1b52;
/* rgb */ color: rgb(157, 27, 82);
/* oklch */ color: oklch(46.3% 0.168 1.7);
Tailwind
colors: {
  custom: {
    50: '#c06782',
    500: '#9d1b52',
    950: '#000000',
  },
}
SCSS
$custom: #9d1b52;
$custom-light: #c06782;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1b52",
  "rgb": {
    "r": 157,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 334.615,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46278,
    "c": 0.16798,
    "h": 1.7
  },
  "luminance": 0.08561
}

Semantic roles & 50–950 ramp

primary
#9D1B52
secondary
#50C493
accent
#EDA23A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1B52

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

Preview Lab → · Contrast checker → · Palette generator →

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