#CD42A2#CD42A2

#CD42A2 is a mid, highly saturated pink. Relative luminance 0.195; OKLCH L 60.6% C 0.201 H 342.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CD42A2
RGBrgb(205, 66, 162)
HSLhsl(319, 58%, 53%)
HSVhsv(319, 68%, 80%)
CMYKcmyk(0%, 67.8%, 21%, 19.6%)
CIE-LABlab(51.25, 63.82, -22.55)
CIE-LCHlch(51.25, 67.69, 340.54°)
OKLaboklab(60.62% 0.1914 -0.0604)
OKLCHoklch(60.62% 0.201 342.5)
XYZxyz(33.6477, 19.4875, 36.1648)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD42A2 #42CD6D
analogous
#B242CD #CD42A2 #CD425C
triadic
#CD42A2 #A2CD42 #42A2CD
tetradic
#CD42A2 #CDB242 #42CD6D #425CCD
square
#CD42A2 #CDB242 #42CD6D #425CCD
split-complementary
#CD42A2 #5CCD42 #42CDB2
monochromatic
#761F5B #A62C80 #CD42A2 #DA72BA #E7A3D2

Accessibility & contrast

On white

4.29
#CD42A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CD42A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD42A2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD42A2#FFFFFF#000000##000000
##CD42A21.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6CA5
Deuteranopia (green-blind)
#78829F
Tritanopia (blue-blind)
#DA436C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd42a2;
/* rgb */ color: rgb(205, 66, 162);
/* oklch */ color: oklch(60.6% 0.201 342.5);
Tailwind
colors: {
  custom: {
    50: '#e081bd',
    500: '#cd42a2',
    950: '#000000',
  },
}
SCSS
$custom: #cd42a2;
$custom-light: #e081bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd42a2",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 162
  },
  "hsl": {
    "h": 318.561,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60622,
    "c": 0.20066,
    "h": 342.5
  },
  "luminance": 0.19484
}

Semantic roles & 50–950 ramp

primary
#CD42A2
secondary
#97D3AA
accent
#E17646
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD42A2

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

Preview Lab → · Contrast checker → · Palette generator →

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