#CD45A0#CD45A0

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

Color values

HEX#CD45A0
RGBrgb(205, 69, 160)
HSLhsl(320, 58%, 54%)
HSVhsv(320, 66%, 80%)
CMYKcmyk(0%, 66.3%, 22%, 19.6%)
CIE-LABlab(51.58, 62.41, -20.86)
CIE-LCHlch(51.58, 65.80, 341.51°)
OKLaboklab(60.84% 0.1875 -0.0557)
OKLCHoklch(60.84% 0.196 343.5)
XYZxyz(33.6512, 19.7767, 35.2959)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45A0 #45CD72
analogous
#B645CD #CD45A0 #CD455C
triadic
#CD45A0 #A0CD45 #45A0CD
tetradic
#CD45A0 #CDB645 #45CD72 #455CCD
square
#CD45A0 #CDB645 #45CD72 #455CCD
split-complementary
#CD45A0 #5CCD45 #45CDB6
monochromatic
#77205B #A82D7F #CD45A0 #DA75B9 #E7A5D1

Accessibility & contrast

On white

4.24
#CD45A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CD45A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45A0
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45A0#FFFFFF#000000##000000
##CD45A01.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#526DA3
Deuteranopia (green-blind)
#7A839D
Tritanopia (blue-blind)
#DA456C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd45a0;
/* rgb */ color: rgb(205, 69, 160);
/* oklch */ color: oklch(60.8% 0.196 343.5);
Tailwind
colors: {
  custom: {
    50: '#e082bc',
    500: '#cd45a0',
    950: '#000000',
  },
}
SCSS
$custom: #cd45a0;
$custom-light: #e082bc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45a0",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 160
  },
  "hsl": {
    "h": 319.853,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60838,
    "c": 0.19558,
    "h": 343.5
  },
  "luminance": 0.19773
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD45A0

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

Preview Lab → · Contrast checker → · Palette generator →

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