#CD428C#CD428C

#CD428C is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.7% C 0.188 H 351.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CD428C
RGBrgb(205, 66, 140)
HSLhsl(328, 58%, 53%)
HSVhsv(328, 68%, 80%)
CMYKcmyk(0%, 67.8%, 31.7%, 19.6%)
CIE-LABlab(50.42, 61.04, -10.75)
CIE-LCHlch(50.42, 61.97, 350.01°)
OKLaboklab(59.74% 0.1863 -0.0278)
OKLCHoklch(59.74% 0.188 351.5)
XYZxyz(31.8604, 18.7725, 26.7515)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD428C #42CD83
analogous
#C942CD #CD428C #CD4246
triadic
#CD428C #8CCD42 #428CCD
tetradic
#CD428C #CDC942 #42CD83 #4246CD
square
#CD428C #CDC942 #42CD83 #4246CD
split-complementary
#CD428C #46CD42 #42CDC9
monochromatic
#761F4D #A62C6D #CD428C #DA72A9 #E7A3C7

Accessibility & contrast

On white

4.42
#CD428C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CD428C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD428C
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD428C#FFFFFF#000000##000000
##CD428C1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#58688E
Deuteranopia (green-blind)
#7F8189
Tritanopia (blue-blind)
#DC3961
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd428c;
/* rgb */ color: rgb(205, 66, 140);
/* oklch */ color: oklch(59.7% 0.188 351.5);
Tailwind
colors: {
  custom: {
    50: '#e180ad',
    500: '#cd428c',
    950: '#000000',
  },
}
SCSS
$custom: #cd428c;
$custom-light: #e180ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cd428c",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 140
  },
  "hsl": {
    "h": 328.058,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5974,
    "c": 0.18833,
    "h": 351.5
  },
  "luminance": 0.18769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD428C

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

Preview Lab → · Contrast checker → · Palette generator →

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