#CD42A6#CD42A6

#CD42A6 is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 60.8% C 0.203 H 341.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CD42A6
RGBrgb(205, 66, 166)
HSLhsl(317, 58%, 53%)
HSVhsv(317, 68%, 80%)
CMYKcmyk(0%, 67.8%, 19%, 19.6%)
CIE-LABlab(51.42, 64.37, -24.66)
CIE-LCHlch(51.42, 68.93, 339.04°)
OKLaboklab(60.8% 0.1921 -0.0663)
OKLCHoklch(60.8% 0.203 341)
XYZxyz(34.0089, 19.6320, 38.0673)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD42A6 #42CD69
analogous
#AF42CD #CD42A6 #CD4260
triadic
#CD42A6 #A6CD42 #42A6CD
tetradic
#CD42A6 #CDAF42 #42CD69 #4260CD
square
#CD42A6 #CDAF42 #42CD69 #4260CD
split-complementary
#CD42A6 #60CD42 #42CDAF
monochromatic
#761F5D #A62C84 #CD42A6 #DA72BD #E7A3D4

Accessibility & contrast

On white

4.26
#CD42A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CD42A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD42A6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD42A6#FFFFFF#000000##000000
##CD42A61.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6CA9
Deuteranopia (green-blind)
#7783A3
Tritanopia (blue-blind)
#D9456E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd42a6;
/* rgb */ color: rgb(205, 66, 166);
/* oklch */ color: oklch(60.8% 0.203 341.0);
Tailwind
colors: {
  custom: {
    50: '#e081c0',
    500: '#cd42a6',
    950: '#000000',
  },
}
SCSS
$custom: #cd42a6;
$custom-light: #e081c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd42a6",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 166
  },
  "hsl": {
    "h": 316.835,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60798,
    "c": 0.20321,
    "h": 341
  },
  "luminance": 0.19629
}

Semantic roles & 50–950 ramp

primary
#CD42A6
secondary
#97D3A8
accent
#E17246
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD42A6

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

Preview Lab → · Contrast checker → · Palette generator →

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