#9D1F79#9D1F79

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

Color values

HEX#9D1F79
RGBrgb(157, 31, 121)
HSLhsl(317, 67%, 37%)
HSVhsv(317, 80%, 62%)
CMYKcmyk(0%, 80.3%, 22.9%, 38.4%)
CIE-LABlab(36.99, 57.92, -20.38)
CIE-LCHlch(36.99, 61.40, 340.62°)
OKLaboklab(48.11% 0.1746 -0.0547)
OKLCHoklch(48.11% 0.183 342.6)
XYZxyz(17.8465, 9.5305, 18.9852)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F79 #1F9D43
analogous
#821F9D #9D1F79 #9D1F3A
triadic
#9D1F79 #799D1F #1F799D
tetradic
#9D1F79 #9D821F #1F9D43 #1F3A9D
square
#9D1F79 #9D821F #1F9D43 #1F3A9D
split-complementary
#9D1F79 #3A9D1F #1F9D82
monochromatic
#370B2A #6A1552 #9D1F79 #D029A0 #DE58B8

Accessibility & contrast

On white

7.23
#9D1F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9D1F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F79
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F79#FFFFFF#000000##FFFFFF
##9D1F791.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7B
Deuteranopia (green-blind)
#565E76
Tritanopia (blue-blind)
#A7204A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1f79;
/* rgb */ color: rgb(157, 31, 121);
/* oklch */ color: oklch(48.1% 0.183 342.6);
Tailwind
colors: {
  custom: {
    50: '#be6aa0',
    500: '#9d1f79',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f79;
$custom-light: #be6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f79",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 317.143,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48111,
    "c": 0.18297,
    "h": 342.6
  },
  "luminance": 0.09529
}

Semantic roles & 50–950 ramp

primary
#9D1F79
secondary
#56C275
accent
#EA6F3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D1F79

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

Preview Lab → · Contrast checker → · Palette generator →

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