#9D2C77#9D2C77

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

Color values

HEX#9D2C77
RGBrgb(157, 44, 119)
HSLhsl(320, 56%, 39%)
HSVhsv(320, 72%, 62%)
CMYKcmyk(0%, 72%, 24.2%, 38.4%)
CIE-LABlab(38.38, 53.45, -16.98)
CIE-LCHlch(38.38, 56.08, 342.38°)
OKLaboklab(49.1% 0.1613 -0.0452)
OKLCHoklch(49.1% 0.168 344.3)
XYZxyz(18.1358, 10.3032, 18.4828)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2C77 #2C9D52
analogous
#8B2C9D #9D2C77 #9D2C3F
triadic
#9D2C77 #779D2C #2C779D
tetradic
#9D2C77 #9D8B2C #2C9D52 #2C3F9D
square
#9D2C77 #9D8B2C #2C9D52 #2C3F9D
split-complementary
#9D2C77 #3F9D2C #2C9D8B
monochromatic
#3D112F #6D1F53 #9D2C77 #C93D9A #D66DB3

Accessibility & contrast

On white

6.86
#9D2C77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2C77
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2C77#FFFFFF#000000##FFFFFF
##9D2C771.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E79
Deuteranopia (green-blind)
#5B6174
Tritanopia (blue-blind)
#A72B4D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2c77;
/* rgb */ color: rgb(157, 44, 119);
/* oklch */ color: oklch(49.1% 0.168 344.3);
Tailwind
colors: {
  custom: {
    50: '#be6f9e',
    500: '#9d2c77',
    950: '#000000',
  },
}
SCSS
$custom: #9d2c77;
$custom-light: #be6f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2c77",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 119
  },
  "hsl": {
    "h": 320.177,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49095,
    "c": 0.16753,
    "h": 344.3
  },
  "luminance": 0.10301
}

Semantic roles & 50–950 ramp

primary
#9D2C77
secondary
#68BD84
accent
#E07B48
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2C77

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

Preview Lab → · Contrast checker → · Palette generator →

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