#9D1B57#9D1B57

#9D1B57 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.170 H 359.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#9D1B57
RGBrgb(157, 27, 87)
HSLhsl(332, 71%, 36%)
HSVhsv(332, 83%, 62%)
CMYKcmyk(0%, 82.8%, 44.6%, 38.4%)
CIE-LABlab(35.29, 55.12, -1.33)
CIE-LCHlch(35.29, 55.14, 358.62°)
OKLaboklab(46.44% 0.1696 -0.0028)
OKLCHoklch(46.44% 0.17 359)
XYZxyz(16.0181, 8.6423, 9.8396)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1B57 #1B9D61
analogous
#9D1B98 #9D1B57 #9D201B
triadic
#9D1B57 #579D1B #1B579D
tetradic
#9D1B57 #989D1B #1B9D61 #201B9D
square
#9D1B57 #989D1B #1B9D61 #201B9D
split-complementary
#9D1B57 #1B9D20 #1B989D
monochromatic
#35091D #69123A #9D1B57 #D12474 #E15194

Accessibility & contrast

On white

7.70
#9D1B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9D1B57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1B57
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1B57#FFFFFF#000000##FFFFFF
##9D1B571.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4358
Deuteranopia (green-blind)
#5E5C54
Tritanopia (blue-blind)
#AB0037
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d1b57;
/* rgb */ color: rgb(157, 27, 87);
/* oklch */ color: oklch(46.4% 0.170 359.0);
Tailwind
colors: {
  custom: {
    50: '#bf6786',
    500: '#9d1b57',
    950: '#000000',
  },
}
SCSS
$custom: #9d1b57;
$custom-light: #bf6786;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1b57",
  "rgb": {
    "r": 157,
    "g": 27,
    "b": 87
  },
  "hsl": {
    "h": 332.308,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46444,
    "c": 0.16964,
    "h": 359
  },
  "luminance": 0.0864
}

Semantic roles & 50–950 ramp

primary
#9D1B57
secondary
#50C48E
accent
#ED9B3A
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D1B57

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

Preview Lab → · Contrast checker → · Palette generator →

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