#CD45B3#CD45B3

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

Color values

HEX#CD45B3
RGBrgb(205, 69, 179)
HSLhsl(311, 58%, 54%)
HSVhsv(311, 66%, 80%)
CMYKcmyk(0%, 66.3%, 12.7%, 19.6%)
CIE-LABlab(52.39, 65.10, -30.76)
CIE-LCHlch(52.39, 72.00, 334.71°)
OKLaboklab(61.69% 0.1907 -0.0836)
OKLCHoklch(61.69% 0.208 336.3)
XYZxyz(35.4421, 20.4931, 44.7280)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45B3 #45CD5F
analogous
#A345CD #CD45B3 #CD456F
triadic
#CD45B3 #B3CD45 #45B3CD
tetradic
#CD45B3 #CDA345 #45CD5F #456FCD
square
#CD45B3 #CDA345 #45CD5F #456FCD
split-complementary
#CD45B3 #6FCD45 #45CDA3
monochromatic
#772067 #A82D90 #CD45B3 #DA75C7 #E7A5DA

Accessibility & contrast

On white

4.12
#CD45B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CD45B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45B3
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45B3#FFFFFF#000000##000000
##CD45B31.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4770B6
Deuteranopia (green-blind)
#7384B0
Tritanopia (blue-blind)
#D74D76
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd45b3;
/* rgb */ color: rgb(205, 69, 179);
/* oklch */ color: oklch(61.7% 0.208 336.3);
Tailwind
colors: {
  custom: {
    50: '#e083ca',
    500: '#cd45b3',
    950: '#000000',
  },
}
SCSS
$custom: #cd45b3;
$custom-light: #e083ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45b3",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 311.471,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6169,
    "c": 0.20822,
    "h": 336.3
  },
  "luminance": 0.2049
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD45B3

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

Preview Lab → · Contrast checker → · Palette generator →

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