#CD42AB#CD42AB

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

Color values

HEX#CD42AB
RGBrgb(205, 66, 171)
HSLhsl(315, 58%, 53%)
HSVhsv(315, 68%, 80%)
CMYKcmyk(0%, 67.8%, 16.6%, 19.6%)
CIE-LABlab(51.63, 65.07, -27.26)
CIE-LCHlch(51.63, 70.55, 337.27°)
OKLaboklab(61.02% 0.1929 -0.0737)
OKLCHoklch(61.02% 0.207 339.1)
XYZxyz(34.4765, 19.8190, 40.5299)
Luminance0.1982 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD42AB #42CD64
analogous
#A942CD #CD42AB #CD4265
triadic
#CD42AB #ABCD42 #42ABCD
tetradic
#CD42AB #CDA942 #42CD64 #4265CD
square
#CD42AB #CDA942 #42CD64 #4265CD
split-complementary
#CD42AB #65CD42 #42CDA9
monochromatic
#761F60 #A62C88 #CD42AB #DA72C1 #E7A3D6

Accessibility & contrast

On white

4.23
#CD42AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD42AB#FFFFFF#000000##000000
##CD42AB1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd42ab;
/* rgb */ color: rgb(205, 66, 171);
/* oklch */ color: oklch(61.0% 0.206 339.1);
Tailwind
colors: {
  custom: {
    50: '#e081c4',
    500: '#cd42ab',
    950: '#000000',
  },
}
SCSS
$custom: #cd42ab;
$custom-light: #e081c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd42ab",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 171
  },
  "hsl": {
    "h": 314.676,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61023,
    "c": 0.2065,
    "h": 339.1
  },
  "luminance": 0.19816
}

Semantic roles & 50–950 ramp

primary
#CD42AB
secondary
#97D3A6
accent
#E16C46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD42AB

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

Preview Lab → · Contrast checker → · Palette generator →

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