#CD2D9C#CD2D9C

#CD2D9C is a mid, highly saturated pink. Relative luminance 0.173; OKLCH L 58.6% C 0.220 H 343.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CD2D9C
RGBrgb(205, 45, 156)
HSLhsl(318, 64%, 49%)
HSVhsv(318, 78%, 80%)
CMYKcmyk(0%, 78%, 23.9%, 19.6%)
CIE-LABlab(48.59, 69.87, -23.11)
CIE-LCHlch(48.59, 73.59, 341.70°)
OKLaboklab(58.6% 0.2112 -0.0618)
OKLCHoklch(58.6% 0.22 343.7)
XYZxyz(32.1173, 17.2597, 33.0861)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2D9C #2DCD5E
analogous
#AE2DCD #CD2D9C #CD2D4C
triadic
#CD2D9C #9CCD2D #2D9CCD
tetradic
#CD2D9C #CDAE2D #2DCD5E #2D4CCD
square
#CD2D9C #CDAE2D #2DCD5E #2D4CCD
split-complementary
#CD2D9C #4CCD2D #2DCDAE
monochromatic
#691750 #9B2276 #CD2D9C #DB5CB4 #E68ECB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD2D9C#FFFFFF#000000##FFFFFF
##CD2D9C1.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)
#41639F
Deuteranopia (green-blind)
#737D98
Tritanopia (blue-blind)
#DB2C62
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cd2d9c;
/* rgb */ color: rgb(205, 45, 156);
/* oklch */ color: oklch(58.6% 0.220 343.7);
Tailwind
colors: {
  custom: {
    50: '#e178b9',
    500: '#cd2d9c',
    950: '#000000',
  },
}
SCSS
$custom: #cd2d9c;
$custom-light: #e178b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2d9c",
  "rgb": {
    "r": 205,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 318.375,
    "s": 64,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58603,
    "c": 0.22009,
    "h": 343.7
  },
  "luminance": 0.17256
}

Semantic roles & 50–950 ramp

primary
#CD2D9C
secondary
#85D19C
accent
#E77441
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #CD2D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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