#CD45A9#CD45A9

#CD45A9 is a mid, highly saturated pink. Relative luminance 0.201; OKLCH L 61.2% C 0.201 H 340.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CD45A9
RGBrgb(205, 69, 169)
HSLhsl(316, 58%, 54%)
HSVhsv(316, 66%, 80%)
CMYKcmyk(0%, 66.3%, 17.6%, 19.6%)
CIE-LABlab(51.95, 63.65, -25.59)
CIE-LCHlch(51.95, 68.60, 338.10°)
OKLaboklab(61.23% 0.1892 -0.069)
OKLCHoklch(61.23% 0.201 340)
XYZxyz(34.4672, 20.1031, 39.5935)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45A9 #45CD69
analogous
#AD45CD #CD45A9 #CD4565
triadic
#CD45A9 #A9CD45 #45A9CD
tetradic
#CD45A9 #CDAD45 #45CD69 #4565CD
square
#CD45A9 #CDAD45 #45CD69 #4565CD
split-complementary
#CD45A9 #65CD45 #45CDAD
monochromatic
#772060 #A82D87 #CD45A9 #DA75BF #E7A5D6

Accessibility & contrast

On white

4.18
#CD45A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CD45A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45A9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45A9#FFFFFF#000000##000000
##CD45A91.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6EAC
Deuteranopia (green-blind)
#7784A6
Tritanopia (blue-blind)
#D94971
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd45a9;
/* rgb */ color: rgb(205, 69, 169);
/* oklch */ color: oklch(61.2% 0.201 340.0);
Tailwind
colors: {
  custom: {
    50: '#e082c2',
    500: '#cd45a9',
    950: '#000000',
  },
}
SCSS
$custom: #cd45a9;
$custom-light: #e082c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45a9",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 169
  },
  "hsl": {
    "h": 315.882,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61229,
    "c": 0.20135,
    "h": 340
  },
  "luminance": 0.201
}

Semantic roles & 50–950 ramp

primary
#CD45A9
secondary
#9AD4A9
accent
#E17047
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD45A9

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

Preview Lab → · Contrast checker → · Palette generator →

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