#9D2D7A#9D2D7A

#9D2D7A is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.168 H 342.9°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9D2D7A
RGBrgb(157, 45, 122)
HSLhsl(319, 55%, 40%)
HSVhsv(319, 71%, 62%)
CMYKcmyk(0%, 71.3%, 22.3%, 38.4%)
CIE-LABlab(38.64, 53.49, -18.45)
CIE-LCHlch(38.64, 56.58, 340.97°)
OKLaboklab(49.33% 0.1608 -0.0494)
OKLCHoklch(49.33% 0.168 342.9)
XYZxyz(18.3565, 10.4519, 19.4593)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2D7A #2D9D50
analogous
#882D9D #9D2D7A #9D2D42
triadic
#9D2D7A #7A9D2D #2D7A9D
tetradic
#9D2D7A #9D882D #2D9D50 #2D429D
square
#9D2D7A #9D882D #2D9D50 #2D429D
split-complementary
#9D2D7A #429D2D #2D9D88
monochromatic
#3E1230 #6D1F55 #9D2D7A #C83F9D #D66FB5

Accessibility & contrast

On white

6.80
#9D2D7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2D7A
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2D7A#FFFFFF#000000##FFFFFF
##9D2D7A1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384F7C
Deuteranopia (green-blind)
#5A6277
Tritanopia (blue-blind)
#A72D4F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2d7a;
/* rgb */ color: rgb(157, 45, 122);
/* oklch */ color: oklch(49.3% 0.168 342.9);
Tailwind
colors: {
  custom: {
    50: '#be70a0',
    500: '#9d2d7a',
    950: '#000000',
  },
}
SCSS
$custom: #9d2d7a;
$custom-light: #be70a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2d7a",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 122
  },
  "hsl": {
    "h": 318.75,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49327,
    "c": 0.16819,
    "h": 342.9
  },
  "luminance": 0.1045
}

Semantic roles & 50–950 ramp

primary
#9D2D7A
secondary
#69BD83
accent
#DF7849
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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