#CD42AC#CD42AC

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

Color values

HEX#CD42AC
RGBrgb(205, 66, 172)
HSLhsl(314, 58%, 53%)
HSVhsv(314, 68%, 80%)
CMYKcmyk(0%, 67.8%, 16.1%, 19.6%)
CIE-LABlab(51.68, 65.21, -27.78)
CIE-LCHlch(51.68, 70.88, 336.93°)
OKLaboklab(61.07% 0.1931 -0.0751)
OKLCHoklch(61.07% 0.207 338.7)
XYZxyz(34.5722, 19.8573, 41.0338)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD42AC #42CD63
analogous
#A942CD #CD42AC #CD4266
triadic
#CD42AC #ACCD42 #42ACCD
tetradic
#CD42AC #CDA942 #42CD63 #4266CD
square
#CD42AC #CDA942 #42CD63 #4266CD
split-complementary
#CD42AC #66CD42 #42CDA9
monochromatic
#761F61 #A62C89 #CD42AC #DA72C1 #E7A3D7

Accessibility & contrast

On white

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

On black

4.97
#CD42AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD42AC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD42AC#FFFFFF#000000##000000
##CD42AC1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#496DAF
Deuteranopia (green-blind)
#7583A9
Tritanopia (blue-blind)
#D84771
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd42ac;
/* rgb */ color: rgb(205, 66, 172);
/* oklch */ color: oklch(61.1% 0.207 338.7);
Tailwind
colors: {
  custom: {
    50: '#e081c5',
    500: '#cd42ac',
    950: '#000000',
  },
}
SCSS
$custom: #cd42ac;
$custom-light: #e081c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd42ac",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 172
  },
  "hsl": {
    "h": 314.245,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61069,
    "c": 0.20718,
    "h": 338.7
  },
  "luminance": 0.19854
}

Semantic roles & 50–950 ramp

primary
#CD42AC
secondary
#97D3A6
accent
#E16B46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD42AC

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

Preview Lab → · Contrast checker → · Palette generator →

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