#9D1E5B#9D1E5B

#9D1E5B is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.169 H 357.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#9D1E5B
RGBrgb(157, 30, 91)
HSLhsl(331, 68%, 37%)
HSVhsv(331, 81%, 62%)
CMYKcmyk(0%, 80.9%, 42%, 38.4%)
CIE-LABlab(35.70, 54.70, -3.29)
CIE-LCHlch(35.70, 54.80, 356.56°)
OKLaboklab(46.79% 0.1683 -0.008)
OKLCHoklch(46.79% 0.169 357.3)
XYZxyz(16.2584, 8.8541, 10.7484)
Luminance0.0885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E5B #1E9D60
analogous
#9D1E9B #9D1E5B #9D211E
triadic
#9D1E5B #5B9D1E #1E5B9D
tetradic
#9D1E5B #9B9D1E #1E9D60 #211E9D
square
#9D1E5B #9B9D1E #1E9D60 #211E9D
split-complementary
#9D1E5B #1E9D21 #1E9B9D
monochromatic
#360A1F #6A143D #9D1E5B #D02879 #DF5798

Accessibility & contrast

On white

7.58
#9D1E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9D1E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E5B
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E5B#FFFFFF#000000##FFFFFF
##9D1E5B1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B455C
Deuteranopia (green-blind)
#5E5C58
Tritanopia (blue-blind)
#AA043A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d1e5b;
/* rgb */ color: rgb(157, 30, 91);
/* oklch */ color: oklch(46.8% 0.169 357.3);
Tailwind
colors: {
  custom: {
    50: '#bf6989',
    500: '#9d1e5b',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e5b;
$custom-light: #bf6989;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e5b",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 91
  },
  "hsl": {
    "h": 331.181,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46791,
    "c": 0.1685,
    "h": 357.3
  },
  "luminance": 0.08852
}

Semantic roles & 50–950 ramp

primary
#9D1E5B
secondary
#54C28E
accent
#EB973D
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D1E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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