#CD428E#CD428E

#CD428E is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.8% C 0.189 H 350.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CD428E
RGBrgb(205, 66, 142)
HSLhsl(327, 58%, 53%)
HSVhsv(327, 68%, 80%)
CMYKcmyk(0%, 67.8%, 30.7%, 19.6%)
CIE-LABlab(50.49, 61.27, -11.84)
CIE-LCHlch(50.49, 62.41, 349.07°)
OKLaboklab(59.81% 0.1868 -0.0308)
OKLCHoklch(59.81% 0.189 350.6)
XYZxyz(32.0092, 18.8321, 27.5352)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD428E #42CD81
analogous
#C642CD #CD428E #CD4248
triadic
#CD428E #8ECD42 #428ECD
tetradic
#CD428E #CDC642 #42CD81 #4248CD
square
#CD428E #CDC642 #42CD81 #4248CD
split-complementary
#CD428E #48CD42 #42CDC6
monochromatic
#761F4E #A62C6F #CD428E #DA72AB #E7A3C8

Accessibility & contrast

On white

4.41
#CD428E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#CD428E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD428E
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD428E#FFFFFF#000000##000000
##CD428E1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#576890
Deuteranopia (green-blind)
#7E818B
Tritanopia (blue-blind)
#DC3A62
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd428e;
/* rgb */ color: rgb(205, 66, 142);
/* oklch */ color: oklch(59.8% 0.189 350.6);
Tailwind
colors: {
  custom: {
    50: '#e080af',
    500: '#cd428e',
    950: '#000000',
  },
}
SCSS
$custom: #cd428e;
$custom-light: #e080af;
$custom-dark: #000000;
JSON
{
  "hex": "#cd428e",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 327.194,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59814,
    "c": 0.18932,
    "h": 350.6
  },
  "luminance": 0.18829
}

Semantic roles & 50–950 ramp

primary
#CD428E
secondary
#97D3B3
accent
#E18D46
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD428E

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

Preview Lab → · Contrast checker → · Palette generator →

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