#9D2E77#9D2E77

#9D2E77 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.165 H 344.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9D2E77
RGBrgb(157, 46, 119)
HSLhsl(321, 55%, 40%)
HSVhsv(321, 71%, 62%)
CMYKcmyk(0%, 70.7%, 24.2%, 38.4%)
CIE-LABlab(38.65, 52.70, -16.57)
CIE-LCHlch(38.65, 55.24, 342.55°)
OKLaboklab(49.29% 0.159 -0.0441)
OKLCHoklch(49.29% 0.165 344.5)
XYZxyz(18.2121, 10.4559, 18.5082)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E77 #2E9D54
analogous
#8C2E9D #9D2E77 #9D2E3F
triadic
#9D2E77 #779D2E #2E779D
tetradic
#9D2E77 #9D8C2E #2E9D54 #2E3F9D
square
#9D2E77 #9D8C2E #2E9D54 #2E3F9D
split-complementary
#9D2E77 #3F9D2E #2E9D8C
monochromatic
#3E122F #6E2053 #9D2E77 #C74199 #D570B3

Accessibility & contrast

On white

6.79
#9D2E77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9D2E77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2E77
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E77#FFFFFF#000000##FFFFFF
##9D2E771.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4F79
Deuteranopia (green-blind)
#5B6274
Tritanopia (blue-blind)
#A72D4E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2e77;
/* rgb */ color: rgb(157, 46, 119);
/* oklch */ color: oklch(49.3% 0.165 344.5);
Tailwind
colors: {
  custom: {
    50: '#be709e',
    500: '#9d2e77',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e77;
$custom-light: #be709e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e77",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 320.541,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4929,
    "c": 0.16501,
    "h": 344.5
  },
  "luminance": 0.10454
}

Semantic roles & 50–950 ramp

primary
#9D2E77
secondary
#6ABD86
accent
#DE7D4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2E77

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

Preview Lab → · Contrast checker → · Palette generator →

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