#9D2D72#9D2D72

#9D2D72 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.163 H 346.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9D2D72
RGBrgb(157, 45, 114)
HSLhsl(323, 55%, 40%)
HSVhsv(323, 71%, 62%)
CMYKcmyk(0%, 71.3%, 27.4%, 38.4%)
CIE-LABlab(38.31, 52.41, -13.97)
CIE-LCHlch(38.31, 54.24, 345.08°)
OKLaboklab(48.97% 0.1591 -0.0369)
OKLCHoklch(48.97% 0.163 346.9)
XYZxyz(17.8811, 10.2617, 16.9554)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2D72 #2D9D58
analogous
#902D9D #9D2D72 #9D2D3A
triadic
#9D2D72 #729D2D #2D729D
tetradic
#9D2D72 #9D902D #2D9D58 #2D3A9D
square
#9D2D72 #9D902D #2D9D58 #2D3A9D
split-complementary
#9D2D72 #3A9D2D #2D9D90
monochromatic
#3E122D #6D1F4F #9D2D72 #C83F93 #D66FAE

Accessibility & contrast

On white

6.88
#9D2D72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9D2D72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2D72
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2D72#FFFFFF#000000##FFFFFF
##9D2D721.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4E74
Deuteranopia (green-blind)
#5C616F
Tritanopia (blue-blind)
#A82A4B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2d72;
/* rgb */ color: rgb(157, 45, 114);
/* oklch */ color: oklch(49.0% 0.163 346.9);
Tailwind
colors: {
  custom: {
    50: '#be709a',
    500: '#9d2d72',
    950: '#000000',
  },
}
SCSS
$custom: #9d2d72;
$custom-light: #be709a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2d72",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 323.036,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48974,
    "c": 0.16327,
    "h": 346.9
  },
  "luminance": 0.1026
}

Semantic roles & 50–950 ramp

primary
#9D2D72
secondary
#69BD89
accent
#DF8349
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2D72

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

Preview Lab → · Contrast checker → · Palette generator →

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