#9D2D7F#9D2D7F

#9D2D7F is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.171 H 340.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9D2D7F
RGBrgb(157, 45, 127)
HSLhsl(316, 55%, 40%)
HSVhsv(316, 71%, 62%)
CMYKcmyk(0%, 71.3%, 19.1%, 38.4%)
CIE-LABlab(38.86, 54.20, -21.21)
CIE-LCHlch(38.86, 58.20, 338.63°)
OKLaboklab(49.56% 0.1617 -0.0571)
OKLCHoklch(49.56% 0.171 340.5)
XYZxyz(18.6743, 10.5790, 21.1330)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2D7F #2D9D4B
analogous
#832D9D #9D2D7F #9D2D47
triadic
#9D2D7F #7F9D2D #2D7F9D
tetradic
#9D2D7F #9D832D #2D9D4B #2D479D
square
#9D2D7F #9D832D #2D9D4B #2D479D
split-complementary
#9D2D7F #479D2D #2D9D83
monochromatic
#3E1232 #6D1F59 #9D2D7F #C83FA3 #D66FBA

Accessibility & contrast

On white

6.74
#9D2D7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9D2D7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2D7F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2D7F#FFFFFF#000000##FFFFFF
##9D2D7F1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355081
Deuteranopia (green-blind)
#58627C
Tritanopia (blue-blind)
#A63052
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2d7f;
/* rgb */ color: rgb(157, 45, 127);
/* oklch */ color: oklch(49.6% 0.171 340.5);
Tailwind
colors: {
  custom: {
    50: '#bd70a4',
    500: '#9d2d7f',
    950: '#000000',
  },
}
SCSS
$custom: #9d2d7f;
$custom-light: #bd70a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2d7f",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 127
  },
  "hsl": {
    "h": 316.071,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49559,
    "c": 0.17148,
    "h": 340.5
  },
  "luminance": 0.10577
}

Semantic roles & 50–950 ramp

primary
#9D2D7F
secondary
#69BD7F
accent
#DF7149
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9D2D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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