#9D1E79#9D1E79

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

Color values

HEX#9D1E79
RGBrgb(157, 30, 121)
HSLhsl(317, 68%, 37%)
HSVhsv(317, 81%, 62%)
CMYKcmyk(0%, 80.9%, 22.9%, 38.4%)
CIE-LABlab(36.89, 58.20, -20.53)
CIE-LCHlch(36.89, 61.71, 340.57°)
OKLaboklab(48.04% 0.1755 -0.0551)
OKLCHoklch(48.04% 0.184 342.6)
XYZxyz(17.8208, 9.4790, 18.9766)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E79 #1E9D42
analogous
#821E9D #9D1E79 #9D1E3A
triadic
#9D1E79 #799D1E #1E799D
tetradic
#9D1E79 #9D821E #1E9D42 #1E3A9D
square
#9D1E79 #9D821E #1E9D42 #1E3A9D
split-complementary
#9D1E79 #3A9D1E #1E9D82
monochromatic
#360A2A #6A1451 #9D1E79 #D028A1 #DF57B8

Accessibility & contrast

On white

7.25
#9D1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1E79
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E79#FFFFFF#000000##FFFFFF
##9D1E791.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1e79;
/* rgb */ color: rgb(157, 30, 121);
/* oklch */ color: oklch(48.0% 0.184 342.6);
Tailwind
colors: {
  custom: {
    50: '#be6aa0',
    500: '#9d1e79',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e79;
$custom-light: #be6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e79",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 317.008,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48042,
    "c": 0.1839,
    "h": 342.6
  },
  "luminance": 0.09477
}

Semantic roles & 50–950 ramp

primary
#9D1E79
secondary
#54C274
accent
#EB6E3D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D1E79

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

Preview Lab → · Contrast checker → · Palette generator →

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