#CD45AB#CD45AB

#CD45AB is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.3% C 0.203 H 339.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CD45AB
RGBrgb(205, 69, 171)
HSLhsl(315, 58%, 54%)
HSVhsv(315, 66%, 80%)
CMYKcmyk(0%, 66.3%, 16.6%, 19.6%)
CIE-LABlab(52.04, 63.94, -26.63)
CIE-LCHlch(52.04, 69.26, 337.39°)
OKLaboklab(61.32% 0.1895 -0.0719)
OKLCHoklch(61.32% 0.203 339.2)
XYZxyz(34.6564, 20.1788, 40.5899)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45AB #45CD67
analogous
#AB45CD #CD45AB #CD4567
triadic
#CD45AB #ABCD45 #45ABCD
tetradic
#CD45AB #CDAB45 #45CD67 #4567CD
square
#CD45AB #CDAB45 #45CD67 #4567CD
split-complementary
#CD45AB #67CD45 #45CDAB
monochromatic
#772062 #A82D89 #CD45AB #DA75C1 #E7A5D7

Accessibility & contrast

On white

4.17
#CD45AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CD45AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45AB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45AB#FFFFFF#000000##000000
##CD45AB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6EAE
Deuteranopia (green-blind)
#7684A8
Tritanopia (blue-blind)
#D84A72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd45ab;
/* rgb */ color: rgb(205, 69, 171);
/* oklch */ color: oklch(61.3% 0.203 339.2);
Tailwind
colors: {
  custom: {
    50: '#e082c4',
    500: '#cd45ab',
    950: '#000000',
  },
}
SCSS
$custom: #cd45ab;
$custom-light: #e082c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45ab",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 315,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61319,
    "c": 0.20269,
    "h": 339.2
  },
  "luminance": 0.20176
}

Semantic roles & 50–950 ramp

primary
#CD45AB
secondary
#9AD4A8
accent
#E16D47
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD45AB

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

Preview Lab → · Contrast checker → · Palette generator →

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