#CD45A3#CD45A3

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

Color values

HEX#CD45A3
RGBrgb(205, 69, 163)
HSLhsl(319, 58%, 54%)
HSVhsv(319, 66%, 80%)
CMYKcmyk(0%, 66.3%, 20.5%, 19.6%)
CIE-LABlab(51.70, 62.82, -22.45)
CIE-LCHlch(51.70, 66.71, 340.33°)
OKLaboklab(60.97% 0.1881 -0.0601)
OKLCHoklch(60.97% 0.197 342.3)
XYZxyz(33.9168, 19.8830, 36.6948)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45A3 #45CD6F
analogous
#B345CD #CD45A3 #CD455F
triadic
#CD45A3 #A3CD45 #45A3CD
tetradic
#CD45A3 #CDB345 #45CD6F #455FCD
square
#CD45A3 #CDB345 #45CD6F #455FCD
split-complementary
#CD45A3 #5FCD45 #45CDB3
monochromatic
#77205D #A82D82 #CD45A3 #DA75BB #E7A5D3

Accessibility & contrast

On white

4.22
#CD45A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD45A3#FFFFFF#000000##000000
##CD45A31.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#506DA6
Deuteranopia (green-blind)
#7983A0
Tritanopia (blue-blind)
#D9466E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd45a3;
/* rgb */ color: rgb(205, 69, 163);
/* oklch */ color: oklch(61.0% 0.197 342.3);
Tailwind
colors: {
  custom: {
    50: '#e082be',
    500: '#cd45a3',
    950: '#000000',
  },
}
SCSS
$custom: #cd45a3;
$custom-light: #e082be;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45a3",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 318.529,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60966,
    "c": 0.19746,
    "h": 342.3
  },
  "luminance": 0.1988
}

Semantic roles & 50–950 ramp

primary
#CD45A3
secondary
#9AD4AC
accent
#E17647
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD45A3

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

Preview Lab → · Contrast checker → · Palette generator →

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