#CD5EA4#CD5EA4

#CD5EA4 is a light, vivid pink. Relative luminance 0.237; OKLCH L 64.0% C 0.162 H 343.9°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#CD5EA4
RGBrgb(205, 94, 164)
HSLhsl(322, 53%, 59%)
HSVhsv(322, 54%, 80%)
CMYKcmyk(0%, 54.1%, 20%, 19.6%)
CIE-LABlab(55.75, 52.08, -16.84)
CIE-LCHlch(55.75, 54.74, 342.08°)
OKLaboklab(63.97% 0.1554 -0.0447)
OKLCHoklch(63.97% 0.162 343.9)
XYZxyz(35.8812, 23.6679, 37.7933)
Luminance0.2366 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5EA4 #5ECD87
analogous
#BE5ECD #CD5EA4 #CD5E6C
triadic
#CD5EA4 #A4CD5E #5EA4CD
tetradic
#CD5EA4 #CDBE5E #5ECD87 #5E6CCD
square
#CD5EA4 #CDBE5E #5ECD87 #5E6CCD
split-complementary
#CD5EA4 #6CCD5E #5ECDBE
monochromatic
#872A64 #B53887 #CD5EA4 #DC8DBE #EABBD9

Accessibility & contrast

On white

3.66
#CD5EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#CD5EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5EA4
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5EA4#FFFFFF#000000##000000
##CD5EA41.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#677AA6
Deuteranopia (green-blind)
#858CA1
Tritanopia (blue-blind)
#D95E7A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd5ea4;
/* rgb */ color: rgb(205, 94, 164);
/* oklch */ color: oklch(64.0% 0.162 343.9);
Tailwind
colors: {
  custom: {
    50: '#df90bf',
    500: '#cd5ea4',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ea4;
$custom-light: #df90bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ea4",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 164
  },
  "hsl": {
    "h": 322.162,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63965,
    "c": 0.16173,
    "h": 343.9
  },
  "luminance": 0.23665
}

Semantic roles & 50–950 ramp

primary
#CD5EA4
secondary
#ADD9BE
accent
#DC814C
background
#FEF9FB
surface
#FCF1F7
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #CD5EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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