#9D2176#9D2176

#9D2176 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.179 H 344.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9D2176
RGBrgb(157, 33, 118)
HSLhsl(319, 65%, 37%)
HSVhsv(319, 79%, 62%)
CMYKcmyk(0%, 79%, 24.8%, 38.4%)
CIE-LABlab(37.05, 56.96, -18.40)
CIE-LCHlch(37.05, 59.86, 342.10°)
OKLaboklab(48.12% 0.1724 -0.0491)
OKLCHoklch(48.12% 0.179 344.1)
XYZxyz(17.7192, 9.5657, 18.0493)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2176 #219D48
analogous
#86219D #9D2176 #9D2138
triadic
#9D2176 #769D21 #21769D
tetradic
#9D2176 #9D8621 #219D48 #21389D
square
#9D2176 #9D8621 #219D48 #21389D
split-complementary
#9D2176 #389D21 #219D86
monochromatic
#380C2A #6A1650 #9D2176 #D02C9C #DD5CB4

Accessibility & contrast

On white

7.21
#9D2176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9D2176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2176
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2176#FFFFFF#000000##FFFFFF
##9D21761.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314A78
Deuteranopia (green-blind)
#575F73
Tritanopia (blue-blind)
#A82049
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d2176;
/* rgb */ color: rgb(157, 33, 118);
/* oklch */ color: oklch(48.1% 0.179 344.1);
Tailwind
colors: {
  custom: {
    50: '#be6b9d',
    500: '#9d2176',
    950: '#000000',
  },
}
SCSS
$custom: #9d2176;
$custom-light: #be6b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2176",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 318.871,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48115,
    "c": 0.17922,
    "h": 344.1
  },
  "luminance": 0.09564
}

Semantic roles & 50–950 ramp

primary
#9D2176
secondary
#59C17A
accent
#E87540
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D2176

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

Preview Lab → · Contrast checker → · Palette generator →

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