#CD399C#CD399C

#CD399C is a mid, highly saturated pink. Relative luminance 0.183; OKLCH L 59.5% C 0.208 H 344.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CD399C
RGBrgb(205, 57, 156)
HSLhsl(320, 60%, 51%)
HSVhsv(320, 72%, 80%)
CMYKcmyk(0%, 72.2%, 23.9%, 19.6%)
CIE-LABlab(49.87, 66.23, -21.13)
CIE-LCHlch(49.87, 69.52, 342.31°)
OKLaboklab(59.53% 0.2 -0.0563)
OKLCHoklch(59.53% 0.208 344.3)
XYZxyz(32.6420, 18.3091, 33.2610)
Luminance0.1831 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD399C #39CD6A
analogous
#B439CD #CD399C #CD3952
triadic
#CD399C #9CCD39 #399CCD
tetradic
#CD399C #CDB439 #39CD6A #3952CD
square
#CD399C #CDB439 #39CD6A #3952CD
split-complementary
#CD399C #52CD39 #39CDB4
monochromatic
#6F1C54 #A02879 #CD399C #D96AB4 #E69BCD

Accessibility & contrast

On white

4.51
#CD399C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#CD399C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD399C
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD399C#FFFFFF#000000##000000
##CD399C1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A679F
Deuteranopia (green-blind)
#778099
Tritanopia (blue-blind)
#DA3866
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd399c;
/* rgb */ color: rgb(205, 57, 156);
/* oklch */ color: oklch(59.5% 0.208 344.3);
Tailwind
colors: {
  custom: {
    50: '#e07cb9',
    500: '#cd399c',
    950: '#000000',
  },
}
SCSS
$custom: #cd399c;
$custom-light: #e07cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd399c",
  "rgb": {
    "r": 205,
    "g": 57,
    "b": 156
  },
  "hsl": {
    "h": 319.865,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59534,
    "c": 0.20778,
    "h": 344.3
  },
  "luminance": 0.18306
}

Semantic roles & 50–950 ramp

primary
#CD399C
secondary
#90D2A6
accent
#E37945
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CD399C

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

Preview Lab → · Contrast checker → · Palette generator →

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