#CD45A1#CD45A1

#CD45A1 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.9% C 0.196 H 343.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CD45A1
RGBrgb(205, 69, 161)
HSLhsl(319, 58%, 54%)
HSVhsv(319, 66%, 80%)
CMYKcmyk(0%, 66.3%, 21.5%, 19.6%)
CIE-LABlab(51.62, 62.54, -21.39)
CIE-LCHlch(51.62, 66.10, 341.12°)
OKLaboklab(60.88% 0.1877 -0.0572)
OKLCHoklch(60.88% 0.196 343.1)
XYZxyz(33.7391, 19.8119, 35.7585)
Luminance0.1981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45A1 #45CD71
analogous
#B545CD #CD45A1 #CD455D
triadic
#CD45A1 #A1CD45 #45A1CD
tetradic
#CD45A1 #CDB545 #45CD71 #455DCD
square
#CD45A1 #CDB545 #45CD71 #455DCD
split-complementary
#CD45A1 #5DCD45 #45CDB5
monochromatic
#77205B #A82D80 #CD45A1 #DA75B9 #E7A5D2

Accessibility & contrast

On white

4.23
#CD45A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CD45A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45A1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45A1#FFFFFF#000000##000000
##CD45A11.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#516DA4
Deuteranopia (green-blind)
#7A839E
Tritanopia (blue-blind)
#DA456D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd45a1;
/* rgb */ color: rgb(205, 69, 161);
/* oklch */ color: oklch(60.9% 0.196 343.1);
Tailwind
colors: {
  custom: {
    50: '#e082bd',
    500: '#cd45a1',
    950: '#000000',
  },
}
SCSS
$custom: #cd45a1;
$custom-light: #e082bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45a1",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 161
  },
  "hsl": {
    "h": 319.412,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6088,
    "c": 0.19619,
    "h": 343.1
  },
  "luminance": 0.19809
}

Semantic roles & 50–950 ramp

primary
#CD45A1
secondary
#9AD4AD
accent
#E17947
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD45A1

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

Preview Lab → · Contrast checker → · Palette generator →

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