#CD45AD#CD45AD

#CD45AD is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.4% C 0.204 H 338.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CD45AD
RGBrgb(205, 69, 173)
HSLhsl(314, 58%, 54%)
HSVhsv(314, 66%, 80%)
CMYKcmyk(0%, 66.3%, 15.6%, 19.6%)
CIE-LABlab(52.13, 64.22, -27.67)
CIE-LCHlch(52.13, 69.93, 336.69°)
OKLaboklab(61.41% 0.1898 -0.0748)
OKLCHoklch(61.41% 0.204 338.5)
XYZxyz(34.8485, 20.2556, 41.6014)
Luminance0.2025 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45AD #45CD65
analogous
#A945CD #CD45AD #CD4569
triadic
#CD45AD #ADCD45 #45ADCD
tetradic
#CD45AD #CDA945 #45CD65 #4569CD
square
#CD45AD #CDA945 #45CD65 #4569CD
split-complementary
#CD45AD #69CD45 #45CDA9
monochromatic
#772063 #A82D8B #CD45AD #DA75C2 #E7A5D8

Accessibility & contrast

On white

4.16
#CD45AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CD45AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45AD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45AD#FFFFFF#000000##000000
##CD45AD1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6FB0
Deuteranopia (green-blind)
#7684AA
Tritanopia (blue-blind)
#D84A73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd45ad;
/* rgb */ color: rgb(205, 69, 173);
/* oklch */ color: oklch(61.4% 0.204 338.5);
Tailwind
colors: {
  custom: {
    50: '#e082c5',
    500: '#cd45ad',
    950: '#000000',
  },
}
SCSS
$custom: #cd45ad;
$custom-light: #e082c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45ad",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 314.118,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6141,
    "c": 0.20404,
    "h": 338.5
  },
  "luminance": 0.20253
}

Semantic roles & 50–950 ramp

primary
#CD45AD
secondary
#9AD4A8
accent
#E16B47
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD45AD

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

Preview Lab → · Contrast checker → · Palette generator →

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