#9D2D77#9D2D77

#9D2D77 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.166 H 344.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9D2D77
RGBrgb(157, 45, 119)
HSLhsl(320, 55%, 40%)
HSVhsv(320, 71%, 62%)
CMYKcmyk(0%, 71.3%, 24.2%, 38.4%)
CIE-LABlab(38.51, 53.08, -16.77)
CIE-LCHlch(38.51, 55.67, 342.46°)
OKLaboklab(49.19% 0.1602 -0.0447)
OKLCHoklch(49.19% 0.166 344.4)
XYZxyz(18.1735, 10.3787, 18.4954)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2D77 #2D9D53
analogous
#8B2D9D #9D2D77 #9D2D3F
triadic
#9D2D77 #779D2D #2D779D
tetradic
#9D2D77 #9D8B2D #2D9D53 #2D3F9D
square
#9D2D77 #9D8B2D #2D9D53 #2D3F9D
split-complementary
#9D2D77 #3F9D2D #2D9D8B
monochromatic
#3E122F #6D1F53 #9D2D77 #C83F9A #D66FB3

Accessibility & contrast

On white

6.83
#9D2D77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9D2D77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2D77
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2D77#FFFFFF#000000##FFFFFF
##9D2D771.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F79
Deuteranopia (green-blind)
#5B6174
Tritanopia (blue-blind)
#A72C4E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2d77;
/* rgb */ color: rgb(157, 45, 119);
/* oklch */ color: oklch(49.2% 0.166 344.4);
Tailwind
colors: {
  custom: {
    50: '#be709e',
    500: '#9d2d77',
    950: '#000000',
  },
}
SCSS
$custom: #9d2d77;
$custom-light: #be709e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2d77",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 320.357,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49192,
    "c": 0.16629,
    "h": 344.4
  },
  "luminance": 0.10377
}

Semantic roles & 50–950 ramp

primary
#9D2D77
secondary
#69BD85
accent
#DF7C49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2D77

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

Preview Lab → · Contrast checker → · Palette generator →

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