#9D1C79#9D1C79

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

Color values

HEX#9D1C79
RGBrgb(157, 28, 121)
HSLhsl(317, 70%, 36%)
HSVhsv(317, 82%, 62%)
CMYKcmyk(0%, 82.2%, 22.9%, 38.4%)
CIE-LABlab(36.71, 58.72, -20.81)
CIE-LCHlch(36.71, 62.30, 340.49°)
OKLaboklab(47.91% 0.1771 -0.0559)
OKLCHoklch(47.91% 0.186 342.5)
XYZxyz(17.7718, 9.3810, 18.9603)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C79 #1C9D40
analogous
#811C9D #9D1C79 #9D1C39
triadic
#9D1C79 #799D1C #1C799D
tetradic
#9D1C79 #9D811C #1C9D40 #1C399D
square
#9D1C79 #9D811C #1C9D40 #1C399D
split-complementary
#9D1C79 #399D1C #1C9D81
monochromatic
#350929 #691351 #9D1C79 #D125A1 #E053B9

Accessibility & contrast

On white

7.30
#9D1C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9D1C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1C79
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C79#FFFFFF#000000##FFFFFF
##9D1C791.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B497B
Deuteranopia (green-blind)
#555E76
Tritanopia (blue-blind)
#A71D4A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d1c79;
/* rgb */ color: rgb(157, 28, 121);
/* oklch */ color: oklch(47.9% 0.186 342.5);
Tailwind
colors: {
  custom: {
    50: '#be69a0',
    500: '#9d1c79',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c79;
$custom-light: #be69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c79",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 316.744,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47911,
    "c": 0.18568,
    "h": 342.5
  },
  "luminance": 0.09379
}

Semantic roles & 50–950 ramp

primary
#9D1C79
secondary
#51C371
accent
#ED6D3B
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D1C79

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

Preview Lab → · Contrast checker → · Palette generator →

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