#CD2E99#CD2E99

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

Color values

HEX#CD2E99
RGBrgb(205, 46, 153)
HSLhsl(320, 63%, 49%)
HSVhsv(320, 78%, 80%)
CMYKcmyk(0%, 77.6%, 25.4%, 19.6%)
CIE-LABlab(48.56, 69.23, -21.36)
CIE-LCHlch(48.56, 72.45, 342.85°)
OKLaboklab(58.54% 0.2099 -0.0569)
OKLCHoklch(58.54% 0.217 344.8)
XYZxyz(31.9050, 17.2366, 31.7776)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2E99 #2ECD62
analogous
#B22ECD #CD2E99 #CD2E49
triadic
#CD2E99 #99CD2E #2E99CD
tetradic
#CD2E99 #CDB22E #2ECD62 #2E49CD
square
#CD2E99 #CDB22E #2ECD62 #2E49CD
split-complementary
#CD2E99 #49CD2E #2ECDB2
monochromatic
#69184E #9B2374 #CD2E99 #DB5DB2 #E68FCA

Accessibility & contrast

On white

4.72
#CD2E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#CD2E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD2E99
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2E99#FFFFFF#000000##FFFFFF
##CD2E991.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd2e99;
/* rgb */ color: rgb(205, 46, 153);
/* oklch */ color: oklch(58.5% 0.217 344.8);
Tailwind
colors: {
  custom: {
    50: '#e178b7',
    500: '#cd2e99',
    950: '#000000',
  },
}
SCSS
$custom: #cd2e99;
$custom-light: #e178b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2e99",
  "rgb": {
    "r": 205,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 319.623,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58541,
    "c": 0.21746,
    "h": 344.8
  },
  "luminance": 0.17233
}

Semantic roles & 50–950 ramp

primary
#CD2E99
secondary
#86D09F
accent
#E67741
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #CD2E99

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

Preview Lab → · Contrast checker → · Palette generator →

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