#9D1A57#9D1A57

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

Color values

HEX#9D1A57
RGBrgb(157, 26, 87)
HSLhsl(332, 72%, 36%)
HSVhsv(332, 83%, 62%)
CMYKcmyk(0%, 83.4%, 44.6%, 38.4%)
CIE-LABlab(35.20, 55.38, -1.46)
CIE-LCHlch(35.20, 55.39, 358.49°)
OKLaboklab(46.38% 0.1704 -0.0032)
OKLCHoklch(46.38% 0.17 358.9)
XYZxyz(15.9956, 8.5972, 9.8321)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A57 #1A9D60
analogous
#9D1A98 #9D1A57 #9D1E1A
triadic
#9D1A57 #579D1A #1A579D
tetradic
#9D1A57 #989D1A #1A9D60 #1E1A9D
square
#9D1A57 #989D1A #1A9D60 #1E1A9D
split-complementary
#9D1A57 #1A9D1E #1A989D
monochromatic
#34091D #68113A #9D1A57 #D22374 #E24F94

Accessibility & contrast

On white

7.72
#9D1A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9D1A57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1A57
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A57#FFFFFF#000000##FFFFFF
##9D1A571.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1a57;
/* rgb */ color: rgb(157, 26, 87);
/* oklch */ color: oklch(46.4% 0.170 358.9);
Tailwind
colors: {
  custom: {
    50: '#bf6786',
    500: '#9d1a57',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a57;
$custom-light: #bf6786;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a57",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 87
  },
  "hsl": {
    "h": 332.061,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46378,
    "c": 0.17047,
    "h": 358.9
  },
  "luminance": 0.08595
}

Semantic roles & 50–950 ramp

primary
#9D1A57
secondary
#4EC48D
accent
#EE9A39
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D1A57

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

Preview Lab → · Contrast checker → · Palette generator →

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