#CD45B1#CD45B1

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

Color values

HEX#CD45B1
RGBrgb(205, 69, 177)
HSLhsl(312, 58%, 54%)
HSVhsv(312, 66%, 80%)
CMYKcmyk(0%, 66.3%, 13.7%, 19.6%)
CIE-LABlab(52.30, 64.80, -29.73)
CIE-LCHlch(52.30, 71.30, 335.35°)
OKLaboklab(61.6% 0.1904 -0.0807)
OKLCHoklch(61.6% 0.207 337)
XYZxyz(35.2413, 20.4128, 43.6705)
Luminance0.2041 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45B1 #45CD61
analogous
#A545CD #CD45B1 #CD456D
triadic
#CD45B1 #B1CD45 #45B1CD
tetradic
#CD45B1 #CDA545 #45CD61 #456DCD
square
#CD45B1 #CDA545 #45CD61 #456DCD
split-complementary
#CD45B1 #6DCD45 #45CDA5
monochromatic
#772065 #A82D8E #CD45B1 #DA75C5 #E7A5D9

Accessibility & contrast

On white

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

On black

5.08
#CD45B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45B1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45B1#FFFFFF#000000##000000
##CD45B11.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#486FB4
Deuteranopia (green-blind)
#7484AE
Tritanopia (blue-blind)
#D84C75
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd45b1;
/* rgb */ color: rgb(205, 69, 177);
/* oklch */ color: oklch(61.6% 0.207 337.0);
Tailwind
colors: {
  custom: {
    50: '#e083c8',
    500: '#cd45b1',
    950: '#000000',
  },
}
SCSS
$custom: #cd45b1;
$custom-light: #e083c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45b1",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 177
  },
  "hsl": {
    "h": 312.353,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61596,
    "c": 0.20682,
    "h": 337
  },
  "luminance": 0.2041
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD45B1

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

Preview Lab → · Contrast checker → · Palette generator →

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