#CD45B2#CD45B2

#CD45B2 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.6% C 0.208 H 336.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CD45B2
RGBrgb(205, 69, 178)
HSLhsl(312, 58%, 54%)
HSVhsv(312, 66%, 80%)
CMYKcmyk(0%, 66.3%, 13.2%, 19.6%)
CIE-LABlab(52.35, 64.95, -30.25)
CIE-LCHlch(52.35, 71.65, 335.03°)
OKLaboklab(61.64% 0.1906 -0.0822)
OKLCHoklch(61.64% 0.208 336.7)
XYZxyz(35.3414, 20.4528, 44.1973)
Luminance0.2045 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45B2 #45CD60
analogous
#A445CD #CD45B2 #CD456E
triadic
#CD45B2 #B2CD45 #45B2CD
tetradic
#CD45B2 #CDA445 #45CD60 #456ECD
square
#CD45B2 #CDA445 #45CD60 #456ECD
split-complementary
#CD45B2 #6ECD45 #45CDA4
monochromatic
#772066 #A82D8F #CD45B2 #DA75C6 #E7A5DA

Accessibility & contrast

On white

4.13
#CD45B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CD45B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45B2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45B2#FFFFFF#000000##000000
##CD45B21.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4870B5
Deuteranopia (green-blind)
#7484AF
Tritanopia (blue-blind)
#D74C75
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd45b2;
/* rgb */ color: rgb(205, 69, 178);
/* oklch */ color: oklch(61.6% 0.208 336.7);
Tailwind
colors: {
  custom: {
    50: '#e083c9',
    500: '#cd45b2',
    950: '#000000',
  },
}
SCSS
$custom: #cd45b2;
$custom-light: #e083c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45b2",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 311.912,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61643,
    "c": 0.20751,
    "h": 336.7
  },
  "luminance": 0.2045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD45B2

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

Preview Lab → · Contrast checker → · Palette generator →

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