#9D2D78#9D2D78

#9D2D78 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.167 H 343.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9D2D78
RGBrgb(157, 45, 120)
HSLhsl(320, 55%, 40%)
HSVhsv(320, 71%, 62%)
CMYKcmyk(0%, 71.3%, 23.6%, 38.4%)
CIE-LABlab(38.56, 53.22, -17.33)
CIE-LCHlch(38.56, 55.97, 341.96°)
OKLaboklab(49.24% 0.1604 -0.0462)
OKLCHoklch(49.24% 0.167 343.9)
XYZxyz(18.2338, 10.4028, 18.8133)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2D78 #2D9D52
analogous
#8A2D9D #9D2D78 #9D2D40
triadic
#9D2D78 #789D2D #2D789D
tetradic
#9D2D78 #9D8A2D #2D9D52 #2D409D
square
#9D2D78 #9D8A2D #2D9D52 #2D409D
split-complementary
#9D2D78 #409D2D #2D9D8A
monochromatic
#3E122F #6D1F54 #9D2D78 #C83F9B #D66FB4

Accessibility & contrast

On white

6.82
#9D2D78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2D78
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2D78#FFFFFF#000000##FFFFFF
##9D2D781.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F7A
Deuteranopia (green-blind)
#5B6275
Tritanopia (blue-blind)
#A72D4E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2d78;
/* rgb */ color: rgb(157, 45, 120);
/* oklch */ color: oklch(49.2% 0.167 343.9);
Tailwind
colors: {
  custom: {
    50: '#be709f',
    500: '#9d2d78',
    950: '#000000',
  },
}
SCSS
$custom: #9d2d78;
$custom-light: #be709f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2d78",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 319.821,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49236,
    "c": 0.1669,
    "h": 343.9
  },
  "luminance": 0.10401
}

Semantic roles & 50–950 ramp

primary
#9D2D78
secondary
#69BD85
accent
#DF7A49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2D78

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

Preview Lab → · Contrast checker → · Palette generator →

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