#9D2B79#9D2B79

#9D2B79 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.170 H 343.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9D2B79
RGBrgb(157, 43, 121)
HSLhsl(319, 57%, 39%)
HSVhsv(319, 73%, 62%)
CMYKcmyk(0%, 72.6%, 22.9%, 38.4%)
CIE-LABlab(38.34, 54.09, -18.29)
CIE-LCHlch(38.34, 57.10, 341.31°)
OKLaboklab(49.09% 0.1628 -0.0489)
OKLCHoklch(49.09% 0.17 343.3)
XYZxyz(18.2203, 10.2782, 19.1098)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2B79 #2B9D4F
analogous
#882B9D #9D2B79 #9D2B40
triadic
#9D2B79 #799D2B #2B799D
tetradic
#9D2B79 #9D882B #2B9D4F #2B409D
square
#9D2B79 #9D882B #2B9D4F #2B409D
split-complementary
#9D2B79 #409D2B #2B9D88
monochromatic
#3D112F #6D1E54 #9D2B79 #CA3C9D #D76CB5

Accessibility & contrast

On white

6.87
#9D2B79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9D2B79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2B79
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2B79#FFFFFF#000000##FFFFFF
##9D2B791.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d2b79;
/* rgb */ color: rgb(157, 43, 121);
/* oklch */ color: oklch(49.1% 0.170 343.3);
Tailwind
colors: {
  custom: {
    50: '#be6fa0',
    500: '#9d2b79',
    950: '#000000',
  },
}
SCSS
$custom: #9d2b79;
$custom-light: #be6fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2b79",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 318.947,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49091,
    "c": 0.17002,
    "h": 343.3
  },
  "luminance": 0.10276
}

Semantic roles & 50–950 ramp

primary
#9D2B79
secondary
#66BD82
accent
#E07848
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2B79

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

Preview Lab → · Contrast checker → · Palette generator →

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