#CD2D99#CD2D99

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

Color values

HEX#CD2D99
RGBrgb(205, 45, 153)
HSLhsl(320, 64%, 49%)
HSVhsv(320, 78%, 80%)
CMYKcmyk(0%, 78%, 25.4%, 19.6%)
CIE-LABlab(48.46, 69.51, -21.51)
CIE-LCHlch(48.46, 72.76, 342.81°)
OKLaboklab(58.47% 0.2107 -0.0573)
OKLCHoklch(58.47% 0.218 344.8)
XYZxyz(31.8664, 17.1593, 31.7647)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2D99 #2DCD61
analogous
#B12DCD #CD2D99 #CD2D49
triadic
#CD2D99 #99CD2D #2D99CD
tetradic
#CD2D99 #CDB12D #2DCD61 #2D49CD
square
#CD2D99 #CDB12D #2DCD61 #2D49CD
split-complementary
#CD2D99 #49CD2D #2DCDB1
monochromatic
#69174E #9B2274 #CD2D99 #DB5CB2 #E68ECA

Accessibility & contrast

On white

4.74
#CD2D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#CD2D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD2D99
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2D99#FFFFFF#000000##FFFFFF
##CD2D991.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43629C
Deuteranopia (green-blind)
#747D95
Tritanopia (blue-blind)
#DB2A60
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cd2d99;
/* rgb */ color: rgb(205, 45, 153);
/* oklch */ color: oklch(58.5% 0.218 344.8);
Tailwind
colors: {
  custom: {
    50: '#e177b7',
    500: '#cd2d99',
    950: '#000000',
  },
}
SCSS
$custom: #cd2d99;
$custom-light: #e177b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2d99",
  "rgb": {
    "r": 205,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 319.5,
    "s": 64,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58471,
    "c": 0.21838,
    "h": 344.8
  },
  "luminance": 0.17156
}

Semantic roles & 50–950 ramp

primary
#CD2D99
secondary
#85D19E
accent
#E77741
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #CD2D99

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

Preview Lab → · Contrast checker → · Palette generator →

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