#9D1E72#9D1E72

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

Color values

HEX#9D1E72
RGBrgb(157, 30, 114)
HSLhsl(320, 68%, 37%)
HSVhsv(320, 81%, 62%)
CMYKcmyk(0%, 80.9%, 27.4%, 38.4%)
CIE-LABlab(36.58, 57.30, -16.61)
CIE-LCHlch(36.58, 59.66, 343.84°)
OKLaboklab(47.72% 0.1742 -0.0441)
OKLCHoklch(47.72% 0.18 345.8)
XYZxyz(17.4070, 9.3135, 16.7973)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E72 #1E9D49
analogous
#891E9D #9D1E72 #9D1E33
triadic
#9D1E72 #729D1E #1E729D
tetradic
#9D1E72 #9D891E #1E9D49 #1E339D
square
#9D1E72 #9D891E #1E9D49 #1E339D
split-complementary
#9D1E72 #339D1E #1E9D89
monochromatic
#360A27 #6A144D #9D1E72 #D02897 #DF57B1

Accessibility & contrast

On white

7.34
#9D1E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1E72
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E72#FFFFFF#000000##FFFFFF
##9D1E721.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314874
Deuteranopia (green-blind)
#585E6F
Tritanopia (blue-blind)
#A81A46
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d1e72;
/* rgb */ color: rgb(157, 30, 114);
/* oklch */ color: oklch(47.7% 0.180 345.8);
Tailwind
colors: {
  custom: {
    50: '#be699a',
    500: '#9d1e72',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e72;
$custom-light: #be699a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e72",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 320.315,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47718,
    "c": 0.17974,
    "h": 345.8
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#9D1E72
secondary
#54C27A
accent
#EB783D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D1E72

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

Preview Lab → · Contrast checker → · Palette generator →

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