#9D2B7D#9D2B7D

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

Color values

HEX#9D2B7D
RGBrgb(157, 43, 125)
HSLhsl(317, 57%, 39%)
HSVhsv(317, 73%, 62%)
CMYKcmyk(0%, 72.6%, 20.4%, 38.4%)
CIE-LABlab(38.51, 54.64, -20.51)
CIE-LCHlch(38.51, 58.36, 339.43°)
OKLaboklab(49.28% 0.1636 -0.0551)
OKLCHoklch(49.28% 0.173 341.4)
XYZxyz(18.4707, 10.3784, 20.4285)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2B7D #2B9D4B
analogous
#842B9D #9D2B7D #9D2B44
triadic
#9D2B7D #7D9D2B #2B7D9D
tetradic
#9D2B7D #9D842B #2B9D4B #2B449D
square
#9D2B7D #9D842B #2B9D4B #2B449D
split-complementary
#9D2B7D #449D2B #2B9D84
monochromatic
#3D1131 #6D1E57 #9D2B7D #CA3CA2 #D76CB9

Accessibility & contrast

On white

6.83
#9D2B7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9D2B7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2B7D
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2B7D#FFFFFF#000000##FFFFFF
##9D2B7D1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F7F
Deuteranopia (green-blind)
#58617A
Tritanopia (blue-blind)
#A72D50
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2b7d;
/* rgb */ color: rgb(157, 43, 125);
/* oklch */ color: oklch(49.3% 0.173 341.4);
Tailwind
colors: {
  custom: {
    50: '#be6fa3',
    500: '#9d2b7d',
    950: '#000000',
  },
}
SCSS
$custom: #9d2b7d;
$custom-light: #be6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2b7d",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 316.842,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49276,
    "c": 0.1726,
    "h": 341.4
  },
  "luminance": 0.10377
}

Semantic roles & 50–950 ramp

primary
#9D2B7D
secondary
#66BD7F
accent
#E07248
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9D2B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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