#CD45A5#CD45A5

#CD45A5 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 61.1% C 0.199 H 341.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CD45A5
RGBrgb(205, 69, 165)
HSLhsl(318, 58%, 54%)
HSVhsv(318, 66%, 80%)
CMYKcmyk(0%, 66.3%, 19.5%, 19.6%)
CIE-LABlab(51.79, 63.09, -23.50)
CIE-LCHlch(51.79, 67.33, 339.57°)
OKLaboklab(61.05% 0.1885 -0.0631)
OKLCHoklch(61.05% 0.199 341.5)
XYZxyz(34.0974, 19.9552, 37.6460)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45A5 #45CD6D
analogous
#B145CD #CD45A5 #CD4561
triadic
#CD45A5 #A5CD45 #45A5CD
tetradic
#CD45A5 #CDB145 #45CD6D #4561CD
square
#CD45A5 #CDB145 #45CD6D #4561CD
split-complementary
#CD45A5 #61CD45 #45CDB1
monochromatic
#77205E #A82D84 #CD45A5 #DA75BC #E7A5D4

Accessibility & contrast

On white

4.21
#CD45A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CD45A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45A5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45A5#FFFFFF#000000##000000
##CD45A51.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6DA8
Deuteranopia (green-blind)
#7984A2
Tritanopia (blue-blind)
#D9476F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd45a5;
/* rgb */ color: rgb(205, 69, 165);
/* oklch */ color: oklch(61.1% 0.199 341.5);
Tailwind
colors: {
  custom: {
    50: '#e082c0',
    500: '#cd45a5',
    950: '#000000',
  },
}
SCSS
$custom: #cd45a5;
$custom-light: #e082c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45a5",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 165
  },
  "hsl": {
    "h": 317.647,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61053,
    "c": 0.19873,
    "h": 341.5
  },
  "luminance": 0.19952
}

Semantic roles & 50–950 ramp

primary
#CD45A5
secondary
#9AD4AB
accent
#E17447
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD45A5

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

Preview Lab → · Contrast checker → · Palette generator →

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