#CD45A7#CD45A7

#CD45A7 is a mid, highly saturated pink. Relative luminance 0.200; OKLCH L 61.1% C 0.200 H 340.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CD45A7
RGBrgb(205, 69, 167)
HSLhsl(317, 58%, 54%)
HSVhsv(317, 66%, 80%)
CMYKcmyk(0%, 66.3%, 18.5%, 19.6%)
CIE-LABlab(51.87, 63.37, -24.55)
CIE-LCHlch(51.87, 67.96, 338.83°)
OKLaboklab(61.14% 0.1888 -0.066)
OKLCHoklch(61.14% 0.2 340.7)
XYZxyz(34.2809, 20.0286, 38.6122)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45A7 #45CD6B
analogous
#AF45CD #CD45A7 #CD4563
triadic
#CD45A7 #A7CD45 #45A7CD
tetradic
#CD45A7 #CDAF45 #45CD6B #4563CD
square
#CD45A7 #CDAF45 #45CD6B #4563CD
split-complementary
#CD45A7 #63CD45 #45CDAF
monochromatic
#77205F #A82D85 #CD45A7 #DA75BE #E7A5D5

Accessibility & contrast

On white

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

On black

5.01
#CD45A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45A7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45A7#FFFFFF#000000##000000
##CD45A71.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6EAA
Deuteranopia (green-blind)
#7884A4
Tritanopia (blue-blind)
#D94870
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd45a7;
/* rgb */ color: rgb(205, 69, 167);
/* oklch */ color: oklch(61.1% 0.200 340.7);
Tailwind
colors: {
  custom: {
    50: '#e082c1',
    500: '#cd45a7',
    950: '#000000',
  },
}
SCSS
$custom: #cd45a7;
$custom-light: #e082c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45a7",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 316.765,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6114,
    "c": 0.20003,
    "h": 340.7
  },
  "luminance": 0.20025
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD45A7

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

Preview Lab → · Contrast checker → · Palette generator →

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