#CD42AE#CD42AE

#CD42AE is a mid, highly saturated pink. Relative luminance 0.199; OKLCH L 61.2% C 0.209 H 338.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CD42AE
RGBrgb(205, 66, 174)
HSLhsl(313, 58%, 53%)
HSVhsv(313, 68%, 80%)
CMYKcmyk(0%, 67.8%, 15.1%, 19.6%)
CIE-LABlab(51.76, 65.50, -28.82)
CIE-LCHlch(51.76, 71.56, 336.25°)
OKLaboklab(61.16% 0.1934 -0.0781)
OKLCHoklch(61.16% 0.209 338)
XYZxyz(34.7657, 19.9347, 42.0530)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD42AE #42CD61
analogous
#A642CD #CD42AE #CD4268
triadic
#CD42AE #AECD42 #42AECD
tetradic
#CD42AE #CDA642 #42CD61 #4268CD
square
#CD42AE #CDA642 #42CD61 #4268CD
split-complementary
#CD42AE #68CD42 #42CDA6
monochromatic
#761F62 #A62C8B #CD42AE #DA72C3 #E7A3D7

Accessibility & contrast

On white

4.21
#CD42AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CD42AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD42AE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD42AE#FFFFFF#000000##000000
##CD42AE1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#476EB1
Deuteranopia (green-blind)
#7483AB
Tritanopia (blue-blind)
#D84872
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd42ae;
/* rgb */ color: rgb(205, 66, 174);
/* oklch */ color: oklch(61.2% 0.209 338.0);
Tailwind
colors: {
  custom: {
    50: '#e081c6',
    500: '#cd42ae',
    950: '#000000',
  },
}
SCSS
$custom: #cd42ae;
$custom-light: #e081c6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd42ae",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 313.381,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61161,
    "c": 0.20853,
    "h": 338
  },
  "luminance": 0.19932
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD42AE

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

Preview Lab → · Contrast checker → · Palette generator →

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