#9D1B58#9D1B58

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

Color values

HEX#9D1B58
RGBrgb(157, 27, 88)
HSLhsl(332, 71%, 36%)
HSVhsv(332, 83%, 62%)
CMYKcmyk(0%, 82.8%, 43.9%, 38.4%)
CIE-LABlab(35.32, 55.22, -1.92)
CIE-LCHlch(35.32, 55.25, 358.00°)
OKLaboklab(46.48% 0.17 -0.0044)
OKLCHoklch(46.48% 0.17 358.5)
XYZxyz(16.0593, 8.6587, 10.0563)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1B58 #1B9D60
analogous
#9D1B99 #9D1B58 #9D1F1B
triadic
#9D1B58 #589D1B #1B589D
tetradic
#9D1B58 #999D1B #1B9D60 #1F1B9D
square
#9D1B58 #999D1B #1B9D60 #1F1B9D
split-complementary
#9D1B58 #1B9D1F #1B999D
monochromatic
#35091D #69123B #9D1B58 #D12475 #E15195

Accessibility & contrast

On white

7.69
#9D1B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1B58
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1B58#FFFFFF#000000##FFFFFF
##9D1B581.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1b58;
/* rgb */ color: rgb(157, 27, 88);
/* oklch */ color: oklch(46.5% 0.170 358.5);
Tailwind
colors: {
  custom: {
    50: '#bf6887',
    500: '#9d1b58',
    950: '#000000',
  },
}
SCSS
$custom: #9d1b58;
$custom-light: #bf6887;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1b58",
  "rgb": {
    "r": 157,
    "g": 27,
    "b": 88
  },
  "hsl": {
    "h": 331.846,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46478,
    "c": 0.17001,
    "h": 358.5
  },
  "luminance": 0.08657
}

Semantic roles & 50–950 ramp

primary
#9D1B58
secondary
#50C48D
accent
#ED993A
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D1B58

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

Preview Lab → · Contrast checker → · Palette generator →

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