#9D2177#9D2177

#9D2177 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.180 H 343.6°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#9D2177
RGBrgb(157, 33, 119)
HSLhsl(318, 65%, 37%)
HSVhsv(318, 79%, 62%)
CMYKcmyk(0%, 79%, 24.2%, 38.4%)
CIE-LABlab(37.10, 57.09, -18.96)
CIE-LCHlch(37.10, 60.16, 341.63°)
OKLaboklab(48.16% 0.1725 -0.0507)
OKLCHoklch(48.16% 0.18 343.6)
XYZxyz(17.7790, 9.5896, 18.3639)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2177 #219D47
analogous
#85219D #9D2177 #9D2139
triadic
#9D2177 #779D21 #21779D
tetradic
#9D2177 #9D8521 #219D47 #21399D
square
#9D2177 #9D8521 #219D47 #21399D
split-complementary
#9D2177 #399D21 #219D85
monochromatic
#380C2A #6A1651 #9D2177 #D02C9D #DD5CB5

Accessibility & contrast

On white

7.20
#9D2177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9D2177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2177
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2177#FFFFFF#000000##FFFFFF
##9D21771.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304A79
Deuteranopia (green-blind)
#575F74
Tritanopia (blue-blind)
#A8214A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d2177;
/* rgb */ color: rgb(157, 33, 119);
/* oklch */ color: oklch(48.2% 0.180 343.6);
Tailwind
colors: {
  custom: {
    50: '#be6b9e',
    500: '#9d2177',
    950: '#000000',
  },
}
SCSS
$custom: #9d2177;
$custom-light: #be6b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2177",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 318.387,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48161,
    "c": 0.17982,
    "h": 343.6
  },
  "luminance": 0.09588
}

Semantic roles & 50–950 ramp

primary
#9D2177
secondary
#59C179
accent
#E87340
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D2177

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

Preview Lab → · Contrast checker → · Palette generator →

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