#9D1D79#9D1D79

#9D1D79 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.185 H 342.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9D1D79
RGBrgb(157, 29, 121)
HSLhsl(317, 69%, 36%)
HSVhsv(317, 82%, 62%)
CMYKcmyk(0%, 81.5%, 22.9%, 38.4%)
CIE-LABlab(36.80, 58.47, -20.67)
CIE-LCHlch(36.80, 62.01, 340.53°)
OKLaboklab(47.98% 0.1763 -0.0555)
OKLCHoklch(47.98% 0.185 342.5)
XYZxyz(17.7959, 9.4292, 18.9683)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D79 #1D9D41
analogous
#811D9D #9D1D79 #9D1D39
triadic
#9D1D79 #799D1D #1D799D
tetradic
#9D1D79 #9D811D #1D9D41 #1D399D
square
#9D1D79 #9D811D #1D9D41 #1D399D
split-complementary
#9D1D79 #399D1D #1D9D81
monochromatic
#360A29 #691351 #9D1D79 #D127A1 #E055B9

Accessibility & contrast

On white

7.28
#9D1D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9D1D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1D79
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1D79#FFFFFF#000000##FFFFFF
##9D1D791.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C497B
Deuteranopia (green-blind)
#555E76
Tritanopia (blue-blind)
#A71E4A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1d79;
/* rgb */ color: rgb(157, 29, 121);
/* oklch */ color: oklch(48.0% 0.185 342.5);
Tailwind
colors: {
  custom: {
    50: '#be69a0',
    500: '#9d1d79',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d79;
$custom-light: #be69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d79",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 316.875,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47976,
    "c": 0.18481,
    "h": 342.5
  },
  "luminance": 0.09427
}

Semantic roles & 50–950 ramp

primary
#9D1D79
secondary
#53C372
accent
#EC6E3C
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D1D79

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

Preview Lab → · Contrast checker → · Palette generator →

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