#9D1E7A#9D1E7A

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

Color values

HEX#9D1E7A
RGBrgb(157, 30, 122)
HSLhsl(317, 68%, 37%)
HSVhsv(317, 81%, 62%)
CMYKcmyk(0%, 80.9%, 22.3%, 38.4%)
CIE-LABlab(36.94, 58.33, -21.08)
CIE-LCHlch(36.94, 62.02, 340.13°)
OKLaboklab(48.09% 0.1756 -0.0567)
OKLCHoklch(48.09% 0.185 342.1)
XYZxyz(17.8824, 9.5037, 19.3012)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E7A #1E9D41
analogous
#811E9D #9D1E7A #9D1E3B
triadic
#9D1E7A #7A9D1E #1E7A9D
tetradic
#9D1E7A #9D811E #1E9D41 #1E3B9D
square
#9D1E7A #9D811E #1E9D41 #1E3B9D
split-complementary
#9D1E7A #3B9D1E #1E9D81
monochromatic
#360A2A #6A1452 #9D1E7A #D028A2 #DF57B9

Accessibility & contrast

On white

7.24
#9D1E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9D1E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E7A
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E7A#FFFFFF#000000##FFFFFF
##9D1E7A1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4A7C
Deuteranopia (green-blind)
#555E77
Tritanopia (blue-blind)
#A7204B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1e7a;
/* rgb */ color: rgb(157, 30, 122);
/* oklch */ color: oklch(48.1% 0.185 342.1);
Tailwind
colors: {
  custom: {
    50: '#be6aa0',
    500: '#9d1e7a',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e7a;
$custom-light: #be6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e7a",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 316.535,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4809,
    "c": 0.18452,
    "h": 342.1
  },
  "luminance": 0.09502
}

Semantic roles & 50–950 ramp

primary
#9D1E7A
secondary
#54C273
accent
#EB6D3D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D1E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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