#CD42AD#CD42AD

#CD42AD is a mid, highly saturated pink. Relative luminance 0.199; OKLCH L 61.1% C 0.208 H 338.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CD42AD
RGBrgb(205, 66, 173)
HSLhsl(314, 58%, 53%)
HSVhsv(314, 68%, 80%)
CMYKcmyk(0%, 67.8%, 15.6%, 19.6%)
CIE-LABlab(51.72, 65.35, -28.30)
CIE-LCHlch(51.72, 71.22, 336.59°)
OKLaboklab(61.11% 0.1932 -0.0766)
OKLCHoklch(61.11% 0.208 338.4)
XYZxyz(34.6686, 19.8958, 41.5415)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD42AD #42CD62
analogous
#A742CD #CD42AD #CD4267
triadic
#CD42AD #ADCD42 #42ADCD
tetradic
#CD42AD #CDA742 #42CD62 #4267CD
square
#CD42AD #CDA742 #42CD62 #4267CD
split-complementary
#CD42AD #67CD42 #42CDA7
monochromatic
#761F62 #A62C8A #CD42AD #DA72C2 #E7A3D7

Accessibility & contrast

On white

4.22
#CD42AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CD42AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD42AD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD42AD#FFFFFF#000000##000000
##CD42AD1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#486DB0
Deuteranopia (green-blind)
#7483AA
Tritanopia (blue-blind)
#D84872
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd42ad;
/* rgb */ color: rgb(205, 66, 173);
/* oklch */ color: oklch(61.1% 0.208 338.4);
Tailwind
colors: {
  custom: {
    50: '#e081c5',
    500: '#cd42ad',
    950: '#000000',
  },
}
SCSS
$custom: #cd42ad;
$custom-light: #e081c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd42ad",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 313.813,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61115,
    "c": 0.20785,
    "h": 338.4
  },
  "luminance": 0.19893
}

Semantic roles & 50–950 ramp

primary
#CD42AD
secondary
#97D3A5
accent
#E16A46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD42AD

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

Preview Lab → · Contrast checker → · Palette generator →

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