#CD45A6#CD45A6

#CD45A6 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 61.1% C 0.199 H 341.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CD45A6
RGBrgb(205, 69, 166)
HSLhsl(317, 58%, 54%)
HSVhsv(317, 66%, 80%)
CMYKcmyk(0%, 66.3%, 19%, 19.6%)
CIE-LABlab(51.83, 63.23, -24.02)
CIE-LCHlch(51.83, 67.64, 339.20°)
OKLaboklab(61.1% 0.1886 -0.0645)
OKLCHoklch(61.1% 0.199 341.1)
XYZxyz(34.1888, 19.9918, 38.1272)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45A6 #45CD6C
analogous
#B045CD #CD45A6 #CD4562
triadic
#CD45A6 #A6CD45 #45A6CD
tetradic
#CD45A6 #CDB045 #45CD6C #4562CD
square
#CD45A6 #CDB045 #45CD6C #4562CD
split-complementary
#CD45A6 #62CD45 #45CDB0
monochromatic
#77205E #A82D85 #CD45A6 #DA75BD #E7A5D4

Accessibility & contrast

On white

4.20
#CD45A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CD45A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45A6
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45A6#FFFFFF#000000##000000
##CD45A61.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6EA9
Deuteranopia (green-blind)
#7884A3
Tritanopia (blue-blind)
#D9476F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd45a6;
/* rgb */ color: rgb(205, 69, 166);
/* oklch */ color: oklch(61.1% 0.199 341.1);
Tailwind
colors: {
  custom: {
    50: '#e082c0',
    500: '#cd45a6',
    950: '#000000',
  },
}
SCSS
$custom: #cd45a6;
$custom-light: #e082c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45a6",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 166
  },
  "hsl": {
    "h": 317.206,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61096,
    "c": 0.19938,
    "h": 341.1
  },
  "luminance": 0.19989
}

Semantic roles & 50–950 ramp

primary
#CD45A6
secondary
#9AD4AA
accent
#E17347
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD45A6

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

Preview Lab → · Contrast checker → · Palette generator →

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