#9D2A79#9D2A79

#9D2A79 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.171 H 343.2°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9D2A79
RGBrgb(157, 42, 121)
HSLhsl(319, 58%, 39%)
HSVhsv(319, 73%, 62%)
CMYKcmyk(0%, 73.2%, 22.9%, 38.4%)
CIE-LABlab(38.21, 54.44, -18.49)
CIE-LCHlch(38.21, 57.50, 341.24°)
OKLaboklab(49% 0.1639 -0.0494)
OKLCHoklch(49% 0.171 343.2)
XYZxyz(18.1844, 10.2064, 19.0978)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A79 #2A9D4E
analogous
#882A9D #9D2A79 #9D2A3F
triadic
#9D2A79 #799D2A #2A799D
tetradic
#9D2A79 #9D882A #2A9D4E #2A3F9D
square
#9D2A79 #9D882A #2A9D4E #2A3F9D
split-complementary
#9D2A79 #3F9D2A #2A9D88
monochromatic
#3C102F #6D1D54 #9D2A79 #CA3A9D #D76AB5

Accessibility & contrast

On white

6.91
#9D2A79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9D2A79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2A79
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A79#FFFFFF#000000##FFFFFF
##9D2A791.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364E7B
Deuteranopia (green-blind)
#596176
Tritanopia (blue-blind)
#A72A4E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2a79;
/* rgb */ color: rgb(157, 42, 121);
/* oklch */ color: oklch(49.0% 0.171 343.2);
Tailwind
colors: {
  custom: {
    50: '#be6ea0',
    500: '#9d2a79',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a79;
$custom-light: #be6ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a79",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 318.783,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48999,
    "c": 0.17122,
    "h": 343.2
  },
  "luminance": 0.10205
}

Semantic roles & 50–950 ramp

primary
#9D2A79
secondary
#65BE81
accent
#E17747
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2A79

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

Preview Lab → · Contrast checker → · Palette generator →

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