#CD2D9A#CD2D9A

#CD2D9A is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.5% C 0.219 H 344.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CD2D9A
RGBrgb(205, 45, 154)
HSLhsl(319, 64%, 49%)
HSVhsv(319, 78%, 80%)
CMYKcmyk(0%, 78%, 24.9%, 19.6%)
CIE-LABlab(48.50, 69.63, -22.04)
CIE-LCHlch(48.50, 73.03, 342.43°)
OKLaboklab(58.51% 0.2109 -0.0588)
OKLCHoklch(58.51% 0.219 344.4)
XYZxyz(31.9493, 17.1925, 32.2015)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2D9A #2DCD60
analogous
#B02DCD #CD2D9A #CD2D4A
triadic
#CD2D9A #9ACD2D #2D9ACD
tetradic
#CD2D9A #CDB02D #2DCD60 #2D4ACD
square
#CD2D9A #CDB02D #2DCD60 #2D4ACD
split-complementary
#CD2D9A #4ACD2D #2DCDB0
monochromatic
#69174F #9B2274 #CD2D9A #DB5CB3 #E68ECA

Accessibility & contrast

On white

4.73
#CD2D9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#CD2D9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD2D9A
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2D9A#FFFFFF#000000##FFFFFF
##CD2D9A1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42629D
Deuteranopia (green-blind)
#747D96
Tritanopia (blue-blind)
#DB2B61
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cd2d9a;
/* rgb */ color: rgb(205, 45, 154);
/* oklch */ color: oklch(58.5% 0.219 344.4);
Tailwind
colors: {
  custom: {
    50: '#e177b8',
    500: '#cd2d9a',
    950: '#000000',
  },
}
SCSS
$custom: #cd2d9a;
$custom-light: #e177b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2d9a",
  "rgb": {
    "r": 205,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 319.125,
    "s": 64,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58514,
    "c": 0.21895,
    "h": 344.4
  },
  "luminance": 0.17189
}

Semantic roles & 50–950 ramp

primary
#CD2D9A
secondary
#85D19D
accent
#E77641
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #CD2D9A

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

Preview Lab → · Contrast checker → · Palette generator →

#CD2D9A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva