#9D1E5C#9D1E5C

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

Color values

HEX#9D1E5C
RGBrgb(157, 30, 92)
HSLhsl(331, 68%, 37%)
HSVhsv(331, 81%, 62%)
CMYKcmyk(0%, 80.9%, 41.4%, 38.4%)
CIE-LABlab(35.74, 54.80, -3.88)
CIE-LCHlch(35.74, 54.94, 355.95°)
OKLaboklab(46.83% 0.1686 -0.0095)
OKLCHoklch(46.83% 0.169 356.8)
XYZxyz(16.3019, 8.8715, 10.9771)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E5C #1E9D5F
analogous
#9D1E9C #9D1E5C #9D201E
triadic
#9D1E5C #5C9D1E #1E5C9D
tetradic
#9D1E5C #9C9D1E #1E9D5F #201E9D
square
#9D1E5C #9C9D1E #1E9D5F #201E9D
split-complementary
#9D1E5C #1E9D20 #1E9C9D
monochromatic
#360A20 #6A143E #9D1E5C #D0287A #DF5799

Accessibility & contrast

On white

7.57
#9D1E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1E5C
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E5C#FFFFFF#000000##FFFFFF
##9D1E5C1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B455D
Deuteranopia (green-blind)
#5D5D59
Tritanopia (blue-blind)
#AA053B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d1e5c;
/* rgb */ color: rgb(157, 30, 92);
/* oklch */ color: oklch(46.8% 0.169 356.8);
Tailwind
colors: {
  custom: {
    50: '#bf698a',
    500: '#9d1e5c',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e5c;
$custom-light: #bf698a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e5c",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 92
  },
  "hsl": {
    "h": 330.709,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46826,
    "c": 0.1689,
    "h": 356.8
  },
  "luminance": 0.08869
}

Semantic roles & 50–950 ramp

primary
#9D1E5C
secondary
#54C28D
accent
#EB963D
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D1E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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