#9D1E7C#9D1E7C

#9D1E7C is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.186 H 341.2°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9D1E7C
RGBrgb(157, 30, 124)
HSLhsl(316, 68%, 37%)
HSVhsv(316, 81%, 62%)
CMYKcmyk(0%, 80.9%, 21%, 38.4%)
CIE-LABlab(37.03, 58.60, -22.18)
CIE-LCHlch(37.03, 62.66, 339.26°)
OKLaboklab(48.19% 0.1759 -0.0598)
OKLCHoklch(48.19% 0.186 341.2)
XYZxyz(18.0076, 9.5538, 19.9606)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E7C #1E9D3F
analogous
#7F1E9D #9D1E7C #9D1E3C
triadic
#9D1E7C #7C9D1E #1E7C9D
tetradic
#9D1E7C #9D7F1E #1E9D3F #1E3C9D
square
#9D1E7C #9D7F1E #1E9D3F #1E3C9D
split-complementary
#9D1E7C #3C9D1E #1E9D7F
monochromatic
#360A2B #6A1453 #9D1E7C #D028A5 #DF57BB

Accessibility & contrast

On white

7.22
#9D1E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1E7C
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E7C#FFFFFF#000000##FFFFFF
##9D1E7C1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4A7E
Deuteranopia (green-blind)
#545E79
Tritanopia (blue-blind)
#A7214C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1e7c;
/* rgb */ color: rgb(157, 30, 124);
/* oklch */ color: oklch(48.2% 0.186 341.2);
Tailwind
colors: {
  custom: {
    50: '#be6aa2',
    500: '#9d1e7c',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e7c;
$custom-light: #be6aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e7c",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 315.591,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48188,
    "c": 0.18577,
    "h": 341.2
  },
  "luminance": 0.09552
}

Semantic roles & 50–950 ramp

primary
#9D1E7C
secondary
#54C271
accent
#EB6A3D
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D1E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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