#CD4EA5#CD4EA5

#CD4EA5 is a light, vivid pink. Relative luminance 0.211; OKLCH L 62.0% C 0.186 H 342.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#CD4EA5
RGBrgb(205, 78, 165)
HSLhsl(319, 56%, 55%)
HSVhsv(319, 62%, 80%)
CMYKcmyk(0%, 62%, 19.5%, 19.6%)
CIE-LABlab(53.11, 59.44, -21.46)
CIE-LCHlch(53.11, 63.20, 340.15°)
OKLaboklab(62.02% 0.1774 -0.0574)
OKLCHoklch(62.02% 0.186 342.1)
XYZxyz(34.6937, 21.1477, 37.8447)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4EA5 #4ECD76
analogous
#B64ECD #CD4EA5 #CD4E65
triadic
#CD4EA5 #A5CD4E #4EA5CD
tetradic
#CD4EA5 #CDB64E #4ECD76 #4E65CD
square
#CD4EA5 #CDB64E #4ECD76 #4E65CD
split-complementary
#CD4EA5 #65CD4E #4ECDB6
monochromatic
#7D2361 #AD3186 #CD4EA5 #DA7EBD #E8ADD6

Accessibility & contrast

On white

4.02
#CD4EA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#CD4EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4EA5
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4EA5#FFFFFF#000000##000000
##CD4EA51.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5772A8
Deuteranopia (green-blind)
#7D86A2
Tritanopia (blue-blind)
#D94F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd4ea5;
/* rgb */ color: rgb(205, 78, 165);
/* oklch */ color: oklch(62.0% 0.186 342.1);
Tailwind
colors: {
  custom: {
    50: '#e087c0',
    500: '#cd4ea5',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ea5;
$custom-light: #e087c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ea5",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 318.898,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62023,
    "c": 0.18648,
    "h": 342.1
  },
  "luminance": 0.21145
}

Semantic roles & 50–950 ramp

primary
#CD4EA5
secondary
#A1D6B2
accent
#DF7849
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD4EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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