#CD3399#CD3399

#CD3399 is a mid, highly saturated pink. Relative luminance 0.176; OKLCH L 58.9% C 0.213 H 345.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CD3399
RGBrgb(205, 51, 153)
HSLhsl(320, 61%, 50%)
HSVhsv(320, 75%, 80%)
CMYKcmyk(0%, 75.1%, 25.4%, 19.6%)
CIE-LABlab(49.07, 67.77, -20.57)
CIE-LCHlch(49.07, 70.82, 343.11°)
OKLaboklab(58.91% 0.2054 -0.0547)
OKLCHoklch(58.91% 0.213 345.1)
XYZxyz(32.1118, 17.6502, 31.8465)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3399 #33CD67
analogous
#B433CD #CD3399 #CD334C
triadic
#CD3399 #99CD33 #3399CD
tetradic
#CD3399 #CDB433 #33CD67 #334CCD
square
#CD3399 #CDB433 #33CD67 #334CCD
split-complementary
#CD3399 #4CCD33 #33CDB4
monochromatic
#6B1A50 #9C2675 #CD3399 #D964B2 #E595CA

Accessibility & contrast

On white

4.64
#CD3399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#CD3399 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CD3399
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3399#FFFFFF#000000##FFFFFF
##CD33991.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47649C
Deuteranopia (green-blind)
#767E96
Tritanopia (blue-blind)
#DB3062
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cd3399;
/* rgb */ color: rgb(205, 51, 153);
/* oklch */ color: oklch(58.9% 0.213 345.1);
Tailwind
colors: {
  custom: {
    50: '#e17ab7',
    500: '#cd3399',
    950: '#000000',
  },
}
SCSS
$custom: #cd3399;
$custom-light: #e17ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3399",
  "rgb": {
    "r": 205,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 320.26,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58912,
    "c": 0.21253,
    "h": 345.1
  },
  "luminance": 0.17647
}

Semantic roles & 50–950 ramp

primary
#CD3399
secondary
#8BD0A3
accent
#E47A44
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #CD3399

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

Preview Lab → · Contrast checker → · Palette generator →

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