#9D2D81#9D2D81

#9D2D81 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.173 H 339.6°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9D2D81
RGBrgb(157, 45, 129)
HSLhsl(315, 55%, 40%)
HSVhsv(315, 71%, 62%)
CMYKcmyk(0%, 71.3%, 17.8%, 38.4%)
CIE-LABlab(38.95, 54.49, -22.30)
CIE-LCHlch(38.95, 58.88, 337.74°)
OKLaboklab(49.66% 0.162 -0.0602)
OKLCHoklch(49.66% 0.173 339.6)
XYZxyz(18.8059, 10.6316, 21.8263)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2D81 #2D9D49
analogous
#812D9D #9D2D81 #9D2D49
triadic
#9D2D81 #819D2D #2D819D
tetradic
#9D2D81 #9D812D #2D9D49 #2D499D
square
#9D2D81 #9D812D #2D9D49 #2D499D
split-complementary
#9D2D81 #499D2D #2D9D81
monochromatic
#3E1233 #6D1F5A #9D2D81 #C83FA6 #D66FBC

Accessibility & contrast

On white

6.72
#9D2D81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9D2D81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2D81
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2D81#FFFFFF#000000##FFFFFF
##9D2D811.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345083
Deuteranopia (green-blind)
#57627E
Tritanopia (blue-blind)
#A63153
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d2d81;
/* rgb */ color: rgb(157, 45, 129);
/* oklch */ color: oklch(49.7% 0.173 339.6);
Tailwind
colors: {
  custom: {
    50: '#bd70a6',
    500: '#9d2d81',
    950: '#000000',
  },
}
SCSS
$custom: #9d2d81;
$custom-light: #bd70a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2d81",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 129
  },
  "hsl": {
    "h": 315,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49655,
    "c": 0.17284,
    "h": 339.6
  },
  "luminance": 0.1063
}

Semantic roles & 50–950 ramp

primary
#9D2D81
secondary
#69BD7E
accent
#DF6E49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9D2D81

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

Preview Lab → · Contrast checker → · Palette generator →

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