#CD4EA4#CD4EA4

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

Color values

HEX#CD4EA4
RGBrgb(205, 78, 164)
HSLhsl(319, 56%, 55%)
HSVhsv(319, 62%, 80%)
CMYKcmyk(0%, 62%, 20%, 19.6%)
CIE-LABlab(53.07, 59.30, -20.94)
CIE-LCHlch(53.07, 62.89, 340.55°)
OKLaboklab(61.98% 0.1772 -0.056)
OKLCHoklch(61.98% 0.186 342.5)
XYZxyz(34.6030, 21.1114, 37.3673)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4EA4 #4ECD77
analogous
#B64ECD #CD4EA4 #CD4E64
triadic
#CD4EA4 #A4CD4E #4EA4CD
tetradic
#CD4EA4 #CDB64E #4ECD77 #4E64CD
square
#CD4EA4 #CDB64E #4ECD77 #4E64CD
split-complementary
#CD4EA4 #64CD4E #4ECDB6
monochromatic
#7D2360 #AD3185 #CD4EA4 #DA7EBD #E8ADD5

Accessibility & contrast

On white

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

On black

5.22
#CD4EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4EA4
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4EA4#FFFFFF#000000##000000
##CD4EA41.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5871A7
Deuteranopia (green-blind)
#7D86A1
Tritanopia (blue-blind)
#D94F72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd4ea4;
/* rgb */ color: rgb(205, 78, 164);
/* oklch */ color: oklch(62.0% 0.186 342.5);
Tailwind
colors: {
  custom: {
    50: '#e087bf',
    500: '#cd4ea4',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ea4;
$custom-light: #e087bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ea4",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 319.37,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61981,
    "c": 0.18583,
    "h": 342.5
  },
  "luminance": 0.21108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD4EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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