#CD399F#CD399F

#CD399F is a mid, highly saturated pink. Relative luminance 0.184; OKLCH L 59.7% C 0.210 H 343.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CD399F
RGBrgb(205, 57, 159)
HSLhsl(319, 60%, 51%)
HSVhsv(319, 72%, 80%)
CMYKcmyk(0%, 72.2%, 22.4%, 19.6%)
CIE-LABlab(49.99, 66.61, -22.72)
CIE-LCHlch(49.99, 70.38, 341.17°)
OKLaboklab(59.66% 0.2006 -0.0608)
OKLCHoklch(59.66% 0.21 343.1)
XYZxyz(32.8992, 18.4120, 34.6154)
Luminance0.1841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD399F #39CD67
analogous
#B139CD #CD399F #CD3955
triadic
#CD399F #9FCD39 #399FCD
tetradic
#CD399F #CDB139 #39CD67 #3955CD
square
#CD399F #CDB139 #39CD67 #3955CD
split-complementary
#CD399F #55CD39 #39CDB1
monochromatic
#6F1C56 #A0287B #CD399F #D96AB7 #E69BCE

Accessibility & contrast

On white

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

On black

4.68
#CD399F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD399F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD399F#FFFFFF#000000##000000
##CD399F1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4867A2
Deuteranopia (green-blind)
#76809C
Tritanopia (blue-blind)
#DA3967
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd399f;
/* rgb */ color: rgb(205, 57, 159);
/* oklch */ color: oklch(59.7% 0.210 343.1);
Tailwind
colors: {
  custom: {
    50: '#e07cbb',
    500: '#cd399f',
    950: '#000000',
  },
}
SCSS
$custom: #cd399f;
$custom-light: #e07cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd399f",
  "rgb": {
    "r": 205,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 318.649,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59663,
    "c": 0.20957,
    "h": 343.1
  },
  "luminance": 0.18409
}

Semantic roles & 50–950 ramp

primary
#CD399F
secondary
#90D2A5
accent
#E37645
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD399F

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

Preview Lab → · Contrast checker → · Palette generator →

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