#CD399E#CD399E

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

Color values

HEX#CD399E
RGBrgb(205, 57, 158)
HSLhsl(319, 60%, 51%)
HSVhsv(319, 72%, 80%)
CMYKcmyk(0%, 72.2%, 22.9%, 19.6%)
CIE-LABlab(49.95, 66.49, -22.19)
CIE-LCHlch(49.95, 70.09, 341.54°)
OKLaboklab(59.62% 0.2004 -0.0593)
OKLCHoklch(59.62% 0.209 343.5)
XYZxyz(32.8127, 18.3774, 34.1603)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD399E #39CD68
analogous
#B239CD #CD399E #CD3954
triadic
#CD399E #9ECD39 #399ECD
tetradic
#CD399E #CDB239 #39CD68 #3954CD
square
#CD399E #CDB239 #39CD68 #3954CD
split-complementary
#CD399E #54CD39 #39CDB2
monochromatic
#6F1C55 #A0287A #CD399E #D96AB6 #E69BCE

Accessibility & contrast

On white

4.49
#CD399E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD399E#FFFFFF#000000##000000
##CD399E1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4967A1
Deuteranopia (green-blind)
#76809B
Tritanopia (blue-blind)
#DA3967
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd399e;
/* rgb */ color: rgb(205, 57, 158);
/* oklch */ color: oklch(59.6% 0.209 343.5);
Tailwind
colors: {
  custom: {
    50: '#e07cbb',
    500: '#cd399e',
    950: '#000000',
  },
}
SCSS
$custom: #cd399e;
$custom-light: #e07cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd399e",
  "rgb": {
    "r": 205,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 319.054,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5962,
    "c": 0.20897,
    "h": 343.5
  },
  "luminance": 0.18374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD399E

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

Preview Lab → · Contrast checker → · Palette generator →

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