#CD45A2#CD45A2

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

Color values

HEX#CD45A2
RGBrgb(205, 69, 162)
HSLhsl(319, 58%, 54%)
HSVhsv(319, 66%, 80%)
CMYKcmyk(0%, 66.3%, 21%, 19.6%)
CIE-LABlab(51.66, 62.68, -21.92)
CIE-LCHlch(51.66, 66.40, 340.72°)
OKLaboklab(60.92% 0.1879 -0.0586)
OKLCHoklch(60.92% 0.197 342.7)
XYZxyz(33.8276, 19.8473, 36.2248)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45A2 #45CD70
analogous
#B445CD #CD45A2 #CD455E
triadic
#CD45A2 #A2CD45 #45A2CD
tetradic
#CD45A2 #CDB445 #45CD70 #455ECD
square
#CD45A2 #CDB445 #45CD70 #455ECD
split-complementary
#CD45A2 #5ECD45 #45CDB4
monochromatic
#77205C #A82D81 #CD45A2 #DA75BA #E7A5D2

Accessibility & contrast

On white

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

On black

4.97
#CD45A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45A2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45A2#FFFFFF#000000##000000
##CD45A21.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#516DA5
Deuteranopia (green-blind)
#7A839F
Tritanopia (blue-blind)
#D9466D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd45a2;
/* rgb */ color: rgb(205, 69, 162);
/* oklch */ color: oklch(60.9% 0.197 342.7);
Tailwind
colors: {
  custom: {
    50: '#e082bd',
    500: '#cd45a2',
    950: '#000000',
  },
}
SCSS
$custom: #cd45a2;
$custom-light: #e082bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45a2",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 318.971,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60923,
    "c": 0.19682,
    "h": 342.7
  },
  "luminance": 0.19844
}

Semantic roles & 50–950 ramp

primary
#CD45A2
secondary
#9AD4AC
accent
#E17847
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD45A2

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

Preview Lab → · Contrast checker → · Palette generator →

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