#9D2079#9D2079

#9D2079 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.182 H 342.7°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#9D2079
RGBrgb(157, 32, 121)
HSLhsl(317, 66%, 37%)
HSVhsv(317, 80%, 62%)
CMYKcmyk(0%, 79.6%, 22.9%, 38.4%)
CIE-LABlab(37.08, 57.64, -20.23)
CIE-LCHlch(37.08, 61.09, 340.67°)
OKLaboklab(48.18% 0.1737 -0.0543)
OKLCHoklch(48.18% 0.182 342.7)
XYZxyz(17.8730, 9.5835, 18.9940)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2079 #209D44
analogous
#83209D #9D2079 #9D203B
triadic
#9D2079 #799D20 #20799D
tetradic
#9D2079 #9D8320 #209D44 #203B9D
square
#9D2079 #9D8320 #209D44 #203B9D
split-complementary
#9D2079 #3B9D20 #209D83
monochromatic
#370B2B #6A1652 #9D2079 #D02AA0 #DD5AB8

Accessibility & contrast

On white

7.20
#9D2079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9D2079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2079
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2079#FFFFFF#000000##FFFFFF
##9D20791.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4A7B
Deuteranopia (green-blind)
#565F76
Tritanopia (blue-blind)
#A7214B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d2079;
/* rgb */ color: rgb(157, 32, 121);
/* oklch */ color: oklch(48.2% 0.182 342.7);
Tailwind
colors: {
  custom: {
    50: '#be6aa0',
    500: '#9d2079',
    950: '#000000',
  },
}
SCSS
$custom: #9d2079;
$custom-light: #be6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2079",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 317.28,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48182,
    "c": 0.18203,
    "h": 342.7
  },
  "luminance": 0.09582
}

Semantic roles & 50–950 ramp

primary
#9D2079
secondary
#57C176
accent
#E9703F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D2079

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

Preview Lab → · Contrast checker → · Palette generator →

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