#CD42A0#CD42A0

#CD42A0 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.5% C 0.199 H 343.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CD42A0
RGBrgb(205, 66, 160)
HSLhsl(319, 58%, 53%)
HSVhsv(319, 68%, 80%)
CMYKcmyk(0%, 67.8%, 22%, 19.6%)
CIE-LABlab(51.17, 63.55, -21.50)
CIE-LCHlch(51.17, 67.09, 341.31°)
OKLaboklab(60.54% 0.191 -0.0574)
OKLCHoklch(60.54% 0.199 343.3)
XYZxyz(33.4713, 19.4169, 35.2360)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD42A0 #42CD6F
analogous
#B442CD #CD42A0 #CD425B
triadic
#CD42A0 #A0CD42 #42A0CD
tetradic
#CD42A0 #CDB442 #42CD6F #425BCD
square
#CD42A0 #CDB442 #42CD6F #425BCD
split-complementary
#CD42A0 #5BCD42 #42CDB4
monochromatic
#761F5A #A62C7E #CD42A0 #DA72B8 #E7A3D1

Accessibility & contrast

On white

4.30
#CD42A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CD42A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD42A0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD42A0#FFFFFF#000000##000000
##CD42A01.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6BA3
Deuteranopia (green-blind)
#79829D
Tritanopia (blue-blind)
#DA426B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd42a0;
/* rgb */ color: rgb(205, 66, 160);
/* oklch */ color: oklch(60.5% 0.199 343.3);
Tailwind
colors: {
  custom: {
    50: '#e081bc',
    500: '#cd42a0',
    950: '#000000',
  },
}
SCSS
$custom: #cd42a0;
$custom-light: #e081bc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd42a0",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 160
  },
  "hsl": {
    "h": 319.424,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60537,
    "c": 0.19943,
    "h": 343.3
  },
  "luminance": 0.19414
}

Semantic roles & 50–950 ramp

primary
#CD42A0
secondary
#97D3AB
accent
#E17946
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD42A0

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

Preview Lab → · Contrast checker → · Palette generator →

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