#9D1E7B#9D1E7B

#9D1E7B is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.1% C 0.185 H 341.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9D1E7B
RGBrgb(157, 30, 123)
HSLhsl(316, 68%, 37%)
HSVhsv(316, 81%, 62%)
CMYKcmyk(0%, 80.9%, 21.7%, 38.4%)
CIE-LABlab(36.98, 58.46, -21.63)
CIE-LCHlch(36.98, 62.34, 339.69°)
OKLaboklab(48.14% 0.1758 -0.0582)
OKLCHoklch(48.14% 0.185 341.7)
XYZxyz(17.9447, 9.5286, 19.6292)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E7B #1E9D40
analogous
#801E9D #9D1E7B #9D1E3C
triadic
#9D1E7B #7B9D1E #1E7B9D
tetradic
#9D1E7B #9D801E #1E9D40 #1E3C9D
square
#9D1E7B #9D801E #1E9D40 #1E3C9D
split-complementary
#9D1E7B #3C9D1E #1E9D80
monochromatic
#360A2A #6A1453 #9D1E7B #D028A3 #DF57BA

Accessibility & contrast

On white

7.23
#9D1E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9D1E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E7B
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E7B#FFFFFF#000000##FFFFFF
##9D1E7B1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4A7D
Deuteranopia (green-blind)
#555E78
Tritanopia (blue-blind)
#A7214B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1e7b;
/* rgb */ color: rgb(157, 30, 123);
/* oklch */ color: oklch(48.1% 0.185 341.7);
Tailwind
colors: {
  custom: {
    50: '#be6aa1',
    500: '#9d1e7b',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e7b;
$custom-light: #be6aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e7b",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 316.063,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48139,
    "c": 0.18514,
    "h": 341.7
  },
  "luminance": 0.09527
}

Semantic roles & 50–950 ramp

primary
#9D1E7B
secondary
#54C272
accent
#EB6C3D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9D1E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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