#CD399A#CD399A

#CD399A is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.4% C 0.207 H 345.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CD399A
RGBrgb(205, 57, 154)
HSLhsl(321, 60%, 51%)
HSVhsv(321, 72%, 80%)
CMYKcmyk(0%, 72.2%, 24.9%, 19.6%)
CIE-LABlab(49.79, 65.97, -20.06)
CIE-LCHlch(49.79, 68.96, 343.09°)
OKLaboklab(59.45% 0.1996 -0.0534)
OKLCHoklch(59.45% 0.207 345)
XYZxyz(32.4740, 18.2419, 32.3764)
Luminance0.1824 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD399A #39CD6C
analogous
#B639CD #CD399A #CD3950
triadic
#CD399A #9ACD39 #399ACD
tetradic
#CD399A #CDB639 #39CD6C #3950CD
square
#CD399A #CDB639 #39CD6C #3950CD
split-complementary
#CD399A #50CD39 #39CDB6
monochromatic
#6F1C53 #A02877 #CD399A #D96AB3 #E69BCC

Accessibility & contrast

On white

4.52
#CD399A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#CD399A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD399A
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD399A#FFFFFF#000000##000000
##CD399A1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B669D
Deuteranopia (green-blind)
#777F97
Tritanopia (blue-blind)
#DB3765
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd399a;
/* rgb */ color: rgb(205, 57, 154);
/* oklch */ color: oklch(59.4% 0.207 345.0);
Tailwind
colors: {
  custom: {
    50: '#e17cb8',
    500: '#cd399a',
    950: '#000000',
  },
}
SCSS
$custom: #cd399a;
$custom-light: #e17cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd399a",
  "rgb": {
    "r": 205,
    "g": 57,
    "b": 154
  },
  "hsl": {
    "h": 320.676,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59449,
    "c": 0.20662,
    "h": 345
  },
  "luminance": 0.18238
}

Semantic roles & 50–950 ramp

primary
#CD399A
secondary
#90D2A7
accent
#E37B45
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CD399A

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

Preview Lab → · Contrast checker → · Palette generator →

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