#9D1C5C#9D1C5C

#9D1C5C is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.171 H 356.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9D1C5C
RGBrgb(157, 28, 92)
HSLhsl(330, 70%, 36%)
HSVhsv(330, 82%, 62%)
CMYKcmyk(0%, 82.2%, 41.4%, 38.4%)
CIE-LABlab(35.54, 55.35, -4.17)
CIE-LCHlch(35.54, 55.51, 355.69°)
OKLaboklab(46.69% 0.1704 -0.0103)
OKLCHoklch(46.69% 0.171 356.6)
XYZxyz(16.2529, 8.7734, 10.9607)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C5C #1C9D5D
analogous
#9D1C9D #9D1C5C #9D1D1C
triadic
#9D1C5C #5C9D1C #1C5C9D
tetradic
#9D1C5C #9D9D1C #1C9D5D #1D1C9D
square
#9D1C5C #9D9D1C #1C9D5D #1D1C9D
split-complementary
#9D1C5C #1C9D1D #1C9D9D
monochromatic
#35091F #69133E #9D1C5C #D1257A #E05399

Accessibility & contrast

On white

7.62
#9D1C5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9D1C5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1C5C
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C5C#FFFFFF#000000##FFFFFF
##9D1C5C1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A445E
Deuteranopia (green-blind)
#5D5C59
Tritanopia (blue-blind)
#AA013A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d1c5c;
/* rgb */ color: rgb(157, 28, 92);
/* oklch */ color: oklch(46.7% 0.171 356.6);
Tailwind
colors: {
  custom: {
    50: '#bf688a',
    500: '#9d1c5c',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c5c;
$custom-light: #bf688a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c5c",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 92
  },
  "hsl": {
    "h": 330.233,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46687,
    "c": 0.17068,
    "h": 356.6
  },
  "luminance": 0.08771
}

Semantic roles & 50–950 ramp

primary
#9D1C5C
secondary
#51C38B
accent
#ED953B
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D1C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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