#CD42A9#CD42A9

#CD42A9 is a mid, highly saturated pink. Relative luminance 0.197; OKLCH L 60.9% C 0.205 H 339.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CD42A9
RGBrgb(205, 66, 169)
HSLhsl(316, 58%, 53%)
HSVhsv(316, 68%, 80%)
CMYKcmyk(0%, 67.8%, 17.6%, 19.6%)
CIE-LABlab(51.55, 64.79, -26.22)
CIE-LCHlch(51.55, 69.89, 337.96°)
OKLaboklab(60.93% 0.1926 -0.0707)
OKLCHoklch(60.93% 0.205 339.8)
XYZxyz(34.2873, 19.7433, 39.5335)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD42A9 #42CD66
analogous
#AC42CD #CD42A9 #CD4263
triadic
#CD42A9 #A9CD42 #42A9CD
tetradic
#CD42A9 #CDAC42 #42CD66 #4263CD
square
#CD42A9 #CDAC42 #42CD66 #4263CD
split-complementary
#CD42A9 #63CD42 #42CDAC
monochromatic
#761F5F #A62C86 #CD42A9 #DA72BF #E7A3D5

Accessibility & contrast

On white

4.24
#CD42A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CD42A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD42A9
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD42A9#FFFFFF#000000##000000
##CD42A91.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6DAC
Deuteranopia (green-blind)
#7683A6
Tritanopia (blue-blind)
#D94670
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd42a9;
/* rgb */ color: rgb(205, 66, 169);
/* oklch */ color: oklch(60.9% 0.205 339.8);
Tailwind
colors: {
  custom: {
    50: '#e081c3',
    500: '#cd42a9',
    950: '#000000',
  },
}
SCSS
$custom: #cd42a9;
$custom-light: #e081c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd42a9",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 169
  },
  "hsl": {
    "h": 315.54,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60932,
    "c": 0.20517,
    "h": 339.8
  },
  "luminance": 0.1974
}

Semantic roles & 50–950 ramp

primary
#CD42A9
secondary
#97D3A7
accent
#E16F46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD42A9

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

Preview Lab → · Contrast checker → · Palette generator →

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