#9D1E71#9D1E71

#9D1E71 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.179 H 346.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#9D1E71
RGBrgb(157, 30, 113)
HSLhsl(321, 68%, 37%)
HSVhsv(321, 81%, 62%)
CMYKcmyk(0%, 80.9%, 28%, 38.4%)
CIE-LABlab(36.54, 57.18, -16.04)
CIE-LCHlch(36.54, 59.38, 344.33°)
OKLaboklab(47.67% 0.174 -0.0425)
OKLCHoklch(47.67% 0.179 346.3)
XYZxyz(17.3504, 9.2909, 16.4992)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E71 #1E9D4A
analogous
#8A1E9D #9D1E71 #9D1E32
triadic
#9D1E71 #719D1E #1E719D
tetradic
#9D1E71 #9D8A1E #1E9D4A #1E329D
square
#9D1E71 #9D8A1E #1E9D4A #1E329D
split-complementary
#9D1E71 #329D1E #1E9D8A
monochromatic
#360A27 #6A144C #9D1E71 #D02896 #DF57B0

Accessibility & contrast

On white

7.35
#9D1E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9D1E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E71
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E71#FFFFFF#000000##FFFFFF
##9D1E711.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314873
Deuteranopia (green-blind)
#585E6E
Tritanopia (blue-blind)
#A81946
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d1e71;
/* rgb */ color: rgb(157, 30, 113);
/* oklch */ color: oklch(47.7% 0.179 346.3);
Tailwind
colors: {
  custom: {
    50: '#be699a',
    500: '#9d1e71',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e71;
$custom-light: #be699a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e71",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 320.787,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47673,
    "c": 0.17916,
    "h": 346.3
  },
  "luminance": 0.09289
}

Semantic roles & 50–950 ramp

primary
#9D1E71
secondary
#54C27B
accent
#EB793D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D1E71

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

Preview Lab → · Contrast checker → · Palette generator →

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