#9D1C7A#9D1C7A

#9D1C7A is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.186 H 342.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9D1C7A
RGBrgb(157, 28, 122)
HSLhsl(316, 70%, 36%)
HSVhsv(316, 82%, 62%)
CMYKcmyk(0%, 82.2%, 22.3%, 38.4%)
CIE-LABlab(36.75, 58.86, -21.36)
CIE-LCHlch(36.75, 62.61, 340.05°)
OKLaboklab(47.96% 0.1772 -0.0574)
OKLCHoklch(47.96% 0.186 342)
XYZxyz(17.8334, 9.4057, 19.2849)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C7A #1C9D3F
analogous
#801C9D #9D1C7A #9D1C3A
triadic
#9D1C7A #7A9D1C #1C7A9D
tetradic
#9D1C7A #9D801C #1C9D3F #1C3A9D
square
#9D1C7A #9D801C #1C9D3F #1C3A9D
split-complementary
#9D1C7A #3A9D1C #1C9D80
monochromatic
#350929 #691352 #9D1C7A #D125A2 #E053BA

Accessibility & contrast

On white

7.29
#9D1C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9D1C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1C7A
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C7A#FFFFFF#000000##FFFFFF
##9D1C7A1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B497C
Deuteranopia (green-blind)
#545E77
Tritanopia (blue-blind)
#A71E4A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d1c7a;
/* rgb */ color: rgb(157, 28, 122);
/* oklch */ color: oklch(48.0% 0.186 342.0);
Tailwind
colors: {
  custom: {
    50: '#be69a0',
    500: '#9d1c7a',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c7a;
$custom-light: #be69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c7a",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 316.279,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47959,
    "c": 0.1863,
    "h": 342
  },
  "luminance": 0.09404
}

Semantic roles & 50–950 ramp

primary
#9D1C7A
secondary
#51C370
accent
#ED6B3B
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9D1C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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