#CD399B#CD399B

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

Color values

HEX#CD399B
RGBrgb(205, 57, 155)
HSLhsl(320, 60%, 51%)
HSVhsv(320, 72%, 80%)
CMYKcmyk(0%, 72.2%, 24.4%, 19.6%)
CIE-LABlab(49.83, 66.10, -20.60)
CIE-LCHlch(49.83, 69.24, 342.69°)
OKLaboklab(59.49% 0.1998 -0.0548)
OKLCHoklch(59.49% 0.207 344.6)
XYZxyz(32.5577, 18.2754, 32.8169)
Luminance0.1827 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD399B #39CD6B
analogous
#B539CD #CD399B #CD3951
triadic
#CD399B #9BCD39 #399BCD
tetradic
#CD399B #CDB539 #39CD6B #3951CD
square
#CD399B #CDB539 #39CD6B #3951CD
split-complementary
#CD399B #51CD39 #39CDB5
monochromatic
#6F1C53 #A02878 #CD399B #D96AB4 #E69BCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD399B#FFFFFF#000000##000000
##CD399B1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A679E
Deuteranopia (green-blind)
#778098
Tritanopia (blue-blind)
#DB3765
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd399b;
/* rgb */ color: rgb(205, 57, 155);
/* oklch */ color: oklch(59.5% 0.207 344.6);
Tailwind
colors: {
  custom: {
    50: '#e07cb8',
    500: '#cd399b',
    950: '#000000',
  },
}
SCSS
$custom: #cd399b;
$custom-light: #e07cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd399b",
  "rgb": {
    "r": 205,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 320.27,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59491,
    "c": 0.2072,
    "h": 344.6
  },
  "luminance": 0.18272
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD399B

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

Preview Lab → · Contrast checker → · Palette generator →

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