#CD399D#CD399D

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

Color values

HEX#CD399D
RGBrgb(205, 57, 157)
HSLhsl(319, 60%, 51%)
HSVhsv(319, 72%, 80%)
CMYKcmyk(0%, 72.2%, 23.4%, 19.6%)
CIE-LABlab(49.91, 66.36, -21.66)
CIE-LCHlch(49.91, 69.80, 341.92°)
OKLaboklab(59.58% 0.2002 -0.0578)
OKLCHoklch(59.58% 0.208 343.9)
XYZxyz(32.7270, 18.3431, 33.7088)
Luminance0.1834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD399D #39CD69
analogous
#B339CD #CD399D #CD3953
triadic
#CD399D #9DCD39 #399DCD
tetradic
#CD399D #CDB339 #39CD69 #3953CD
square
#CD399D #CDB339 #39CD69 #3953CD
split-complementary
#CD399D #53CD39 #39CDB3
monochromatic
#6F1C54 #A02879 #CD399D #D96AB5 #E69BCD

Accessibility & contrast

On white

4.50
#CD399D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#CD399D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD399D
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD399D#FFFFFF#000000##000000
##CD399D1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4967A0
Deuteranopia (green-blind)
#76809A
Tritanopia (blue-blind)
#DA3866
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd399d;
/* rgb */ color: rgb(205, 57, 157);
/* oklch */ color: oklch(59.6% 0.208 343.9);
Tailwind
colors: {
  custom: {
    50: '#e07cba',
    500: '#cd399d',
    950: '#000000',
  },
}
SCSS
$custom: #cd399d;
$custom-light: #e07cba;
$custom-dark: #000000;
JSON
{
  "hex": "#cd399d",
  "rgb": {
    "r": 205,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 319.459,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59577,
    "c": 0.20837,
    "h": 343.9
  },
  "luminance": 0.1834
}

Semantic roles & 50–950 ramp

primary
#CD399D
secondary
#90D2A5
accent
#E37845
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CD399D

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

Preview Lab → · Contrast checker → · Palette generator →

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