#9D2D76#9D2D76

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

Color values

HEX#9D2D76
RGBrgb(157, 45, 118)
HSLhsl(321, 55%, 40%)
HSVhsv(321, 71%, 62%)
CMYKcmyk(0%, 71.3%, 24.8%, 38.4%)
CIE-LABlab(38.47, 52.94, -16.22)
CIE-LCHlch(38.47, 55.37, 342.97°)
OKLaboklab(49.15% 0.16 -0.0431)
OKLCHoklch(49.15% 0.166 344.9)
XYZxyz(18.1137, 10.3548, 18.1808)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2D76 #2D9D54
analogous
#8C2D9D #9D2D76 #9D2D3E
triadic
#9D2D76 #769D2D #2D769D
tetradic
#9D2D76 #9D8C2D #2D9D54 #2D3E9D
square
#9D2D76 #9D8C2D #2D9D54 #2D3E9D
split-complementary
#9D2D76 #3E9D2D #2D9D8C
monochromatic
#3E122E #6D1F52 #9D2D76 #C83F98 #D66FB2

Accessibility & contrast

On white

6.84
#9D2D76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9D2D76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2D76
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2D76#FFFFFF#000000##FFFFFF
##9D2D761.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4F78
Deuteranopia (green-blind)
#5B6173
Tritanopia (blue-blind)
#A72C4D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2d76;
/* rgb */ color: rgb(157, 45, 118);
/* oklch */ color: oklch(49.1% 0.166 344.9);
Tailwind
colors: {
  custom: {
    50: '#be709d',
    500: '#9d2d76',
    950: '#000000',
  },
}
SCSS
$custom: #9d2d76;
$custom-light: #be709d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2d76",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 320.893,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49147,
    "c": 0.16566,
    "h": 344.9
  },
  "luminance": 0.10353
}

Semantic roles & 50–950 ramp

primary
#9D2D76
secondary
#69BD86
accent
#DF7D49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2D76

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

Preview Lab → · Contrast checker → · Palette generator →

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