#CD42AA#CD42AA

#CD42AA is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 61.0% C 0.206 H 339.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CD42AA
RGBrgb(205, 66, 170)
HSLhsl(315, 58%, 53%)
HSVhsv(315, 68%, 80%)
CMYKcmyk(0%, 67.8%, 17.1%, 19.6%)
CIE-LABlab(51.59, 64.93, -26.74)
CIE-LCHlch(51.59, 70.22, 337.61°)
OKLaboklab(60.98% 0.1928 -0.0722)
OKLCHoklch(60.98% 0.206 339.5)
XYZxyz(34.3816, 19.7810, 40.0298)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD42AA #42CD65
analogous
#AA42CD #CD42AA #CD4264
triadic
#CD42AA #AACD42 #42AACD
tetradic
#CD42AA #CDAA42 #42CD65 #4264CD
square
#CD42AA #CDAA42 #42CD65 #4264CD
split-complementary
#CD42AA #64CD42 #42CDAA
monochromatic
#761F60 #A62C87 #CD42AA #DA72C0 #E7A3D6

Accessibility & contrast

On white

4.24
#CD42AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CD42AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD42AA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD42AA#FFFFFF#000000##000000
##CD42AA1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6DAD
Deuteranopia (green-blind)
#7583A7
Tritanopia (blue-blind)
#D94770
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd42aa;
/* rgb */ color: rgb(205, 66, 170);
/* oklch */ color: oklch(61.0% 0.206 339.5);
Tailwind
colors: {
  custom: {
    50: '#e081c3',
    500: '#cd42aa',
    950: '#000000',
  },
}
SCSS
$custom: #cd42aa;
$custom-light: #e081c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd42aa",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 315.108,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60977,
    "c": 0.20583,
    "h": 339.5
  },
  "luminance": 0.19778
}

Semantic roles & 50–950 ramp

primary
#CD42AA
secondary
#97D3A7
accent
#E16D46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD42AA

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

Preview Lab → · Contrast checker → · Palette generator →

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