#CD45A4#CD45A4

#CD45A4 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 61.0% C 0.198 H 341.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CD45A4
RGBrgb(205, 69, 164)
HSLhsl(318, 58%, 54%)
HSVhsv(318, 66%, 80%)
CMYKcmyk(0%, 66.3%, 20%, 19.6%)
CIE-LABlab(51.75, 62.95, -22.97)
CIE-LCHlch(51.75, 67.01, 339.95°)
OKLaboklab(61.01% 0.1883 -0.0616)
OKLCHoklch(61.01% 0.198 341.9)
XYZxyz(34.0068, 19.9190, 37.1685)
Luminance0.1992 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45A4 #45CD6E
analogous
#B245CD #CD45A4 #CD4560
triadic
#CD45A4 #A4CD45 #45A4CD
tetradic
#CD45A4 #CDB245 #45CD6E #4560CD
square
#CD45A4 #CDB245 #45CD6E #4560CD
split-complementary
#CD45A4 #60CD45 #45CDB2
monochromatic
#77205D #A82D83 #CD45A4 #DA75BC #E7A5D3

Accessibility & contrast

On white

4.21
#CD45A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CD45A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45A4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45A4#FFFFFF#000000##000000
##CD45A41.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#506DA7
Deuteranopia (green-blind)
#7983A1
Tritanopia (blue-blind)
#D9476E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd45a4;
/* rgb */ color: rgb(205, 69, 164);
/* oklch */ color: oklch(61.0% 0.198 341.9);
Tailwind
colors: {
  custom: {
    50: '#e082bf',
    500: '#cd45a4',
    950: '#000000',
  },
}
SCSS
$custom: #cd45a4;
$custom-light: #e082bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45a4",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 164
  },
  "hsl": {
    "h": 318.088,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61009,
    "c": 0.19809,
    "h": 341.9
  },
  "luminance": 0.19916
}

Semantic roles & 50–950 ramp

primary
#CD45A4
secondary
#9AD4AB
accent
#E17547
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD45A4

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

Preview Lab → · Contrast checker → · Palette generator →

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