#9D1A58#9D1A58

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

Color values

HEX#9D1A58
RGBrgb(157, 26, 88)
HSLhsl(332, 72%, 36%)
HSVhsv(332, 83%, 62%)
CMYKcmyk(0%, 83.4%, 43.9%, 38.4%)
CIE-LABlab(35.23, 55.47, -2.06)
CIE-LCHlch(35.23, 55.51, 357.88°)
OKLaboklab(46.41% 0.1708 -0.0047)
OKLCHoklch(46.41% 0.171 358.4)
XYZxyz(16.0367, 8.6136, 10.0488)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A58 #1A9D5F
analogous
#9D1A99 #9D1A58 #9D1D1A
triadic
#9D1A58 #589D1A #1A589D
tetradic
#9D1A58 #999D1A #1A9D5F #1D1A9D
square
#9D1A58 #999D1A #1A9D5F #1D1A9D
split-complementary
#9D1A58 #1A9D1D #1A999D
monochromatic
#34091D #68113B #9D1A58 #D22375 #E24F95

Accessibility & contrast

On white

7.71
#9D1A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1A58
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A58#FFFFFF#000000##FFFFFF
##9D1A581.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1a58;
/* rgb */ color: rgb(157, 26, 88);
/* oklch */ color: oklch(46.4% 0.171 358.4);
Tailwind
colors: {
  custom: {
    50: '#bf6787',
    500: '#9d1a58',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a58;
$custom-light: #bf6787;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a58",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 331.603,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46413,
    "c": 0.17084,
    "h": 358.4
  },
  "luminance": 0.08611
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D1A58

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

Preview Lab → · Contrast checker → · Palette generator →

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