#CD42A4#CD42A4

#CD42A4 is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 60.7% C 0.202 H 341.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CD42A4
RGBrgb(205, 66, 164)
HSLhsl(318, 58%, 53%)
HSVhsv(318, 68%, 80%)
CMYKcmyk(0%, 67.8%, 20%, 19.6%)
CIE-LABlab(51.34, 64.10, -23.61)
CIE-LCHlch(51.34, 68.30, 339.78°)
OKLaboklab(60.71% 0.1917 -0.0633)
OKLCHoklch(60.71% 0.202 341.7)
XYZxyz(33.8269, 19.5592, 37.1086)
Luminance0.1956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD42A4 #42CD6B
analogous
#B042CD #CD42A4 #CD425E
triadic
#CD42A4 #A4CD42 #42A4CD
tetradic
#CD42A4 #CDB042 #42CD6B #425ECD
square
#CD42A4 #CDB042 #42CD6B #425ECD
split-complementary
#CD42A4 #5ECD42 #42CDB0
monochromatic
#761F5C #A62C82 #CD42A4 #DA72BB #E7A3D3

Accessibility & contrast

On white

4.28
#CD42A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CD42A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD42A4
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD42A4#FFFFFF#000000##000000
##CD42A41.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6CA7
Deuteranopia (green-blind)
#7883A1
Tritanopia (blue-blind)
#D9446D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd42a4;
/* rgb */ color: rgb(205, 66, 164);
/* oklch */ color: oklch(60.7% 0.202 341.7);
Tailwind
colors: {
  custom: {
    50: '#e081bf',
    500: '#cd42a4',
    950: '#000000',
  },
}
SCSS
$custom: #cd42a4;
$custom-light: #e081bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd42a4",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 164
  },
  "hsl": {
    "h": 317.698,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.6071,
    "c": 0.20193,
    "h": 341.7
  },
  "luminance": 0.19556
}

Semantic roles & 50–950 ramp

primary
#CD42A4
secondary
#97D3A9
accent
#E17446
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD42A4

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

Preview Lab → · Contrast checker → · Palette generator →

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