#CD45B0#CD45B0

#CD45B0 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.5% C 0.206 H 337.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CD45B0
RGBrgb(205, 69, 176)
HSLhsl(313, 58%, 54%)
HSVhsv(313, 66%, 80%)
CMYKcmyk(0%, 66.3%, 14.1%, 19.6%)
CIE-LABlab(52.26, 64.66, -29.22)
CIE-LCHlch(52.26, 70.95, 335.68°)
OKLaboklab(61.55% 0.1903 -0.0792)
OKLCHoklch(61.55% 0.206 337.4)
XYZxyz(35.1420, 20.3730, 43.1475)
Luminance0.2037 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45B0 #45CD62
analogous
#A645CD #CD45B0 #CD456C
triadic
#CD45B0 #B0CD45 #45B0CD
tetradic
#CD45B0 #CDA645 #45CD62 #456CCD
square
#CD45B0 #CDA645 #45CD62 #456CCD
split-complementary
#CD45B0 #6CCD45 #45CDA6
monochromatic
#772065 #A82D8E #CD45B0 #DA75C4 #E7A5D9

Accessibility & contrast

On white

4.14
#CD45B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CD45B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45B0
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45B0#FFFFFF#000000##000000
##CD45B01.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#496FB3
Deuteranopia (green-blind)
#7584AD
Tritanopia (blue-blind)
#D84C74
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd45b0;
/* rgb */ color: rgb(205, 69, 176);
/* oklch */ color: oklch(61.5% 0.206 337.4);
Tailwind
colors: {
  custom: {
    50: '#e083c8',
    500: '#cd45b0',
    950: '#000000',
  },
}
SCSS
$custom: #cd45b0;
$custom-light: #e083c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45b0",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 176
  },
  "hsl": {
    "h": 312.794,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61549,
    "c": 0.20611,
    "h": 337.4
  },
  "luminance": 0.2037
}

Semantic roles & 50–950 ramp

primary
#CD45B0
secondary
#9AD4A6
accent
#E16847
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD45B0

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

Preview Lab → · Contrast checker → · Palette generator →

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