#CD45B4#CD45B4

#CD45B4 is a mid, highly saturated pink. Relative luminance 0.205; OKLCH L 61.7% C 0.209 H 336.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CD45B4
RGBrgb(205, 69, 180)
HSLhsl(311, 58%, 54%)
HSVhsv(311, 66%, 80%)
CMYKcmyk(0%, 66.3%, 12.2%, 19.6%)
CIE-LABlab(52.44, 65.25, -31.27)
CIE-LCHlch(52.44, 72.36, 334.39°)
OKLaboklab(61.74% 0.1908 -0.0851)
OKLCHoklch(61.74% 0.209 336)
XYZxyz(35.5436, 20.5337, 45.2626)
Luminance0.2053 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45B4 #45CD5E
analogous
#A245CD #CD45B4 #CD4570
triadic
#CD45B4 #B4CD45 #45B4CD
tetradic
#CD45B4 #CDA245 #45CD5E #4570CD
square
#CD45B4 #CDA245 #45CD5E #4570CD
split-complementary
#CD45B4 #70CD45 #45CDA2
monochromatic
#772067 #A82D91 #CD45B4 #DA75C7 #E7A5DB

Accessibility & contrast

On white

4.11
#CD45B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CD45B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45B4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45B4#FFFFFF#000000##000000
##CD45B41.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4670B7
Deuteranopia (green-blind)
#7385B1
Tritanopia (blue-blind)
#D74D76
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd45b4;
/* rgb */ color: rgb(205, 69, 180);
/* oklch */ color: oklch(61.7% 0.209 336.0);
Tailwind
colors: {
  custom: {
    50: '#e083cb',
    500: '#cd45b4',
    950: '#000000',
  },
}
SCSS
$custom: #cd45b4;
$custom-light: #e083cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45b4",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 180
  },
  "hsl": {
    "h": 311.029,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61738,
    "c": 0.20893,
    "h": 336
  },
  "luminance": 0.20531
}

Semantic roles & 50–950 ramp

primary
#CD45B4
secondary
#9AD4A5
accent
#E16347
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD45B4

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

Preview Lab → · Contrast checker → · Palette generator →

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