#CD4EA8#CD4EA8

#CD4EA8 is a light, vivid pink. Relative luminance 0.213; OKLCH L 62.2% C 0.188 H 340.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#CD4EA8
RGBrgb(205, 78, 168)
HSLhsl(317, 56%, 55%)
HSVhsv(317, 62%, 80%)
CMYKcmyk(0%, 62%, 18%, 19.6%)
CIE-LABlab(53.23, 59.87, -23.04)
CIE-LCHlch(53.23, 64.15, 338.96°)
OKLaboklab(62.15% 0.178 -0.0618)
OKLCHoklch(62.15% 0.188 340.8)
XYZxyz(34.9699, 21.2582, 39.2997)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4EA8 #4ECD73
analogous
#B24ECD #CD4EA8 #CD4E69
triadic
#CD4EA8 #A8CD4E #4EA8CD
tetradic
#CD4EA8 #CDB24E #4ECD73 #4E69CD
square
#CD4EA8 #CDB24E #4ECD73 #4E69CD
split-complementary
#CD4EA8 #69CD4E #4ECDB2
monochromatic
#7D2363 #AD3189 #CD4EA8 #DA7EBF #E8ADD7

Accessibility & contrast

On white

4.00
#CD4EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CD4EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4EA8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4EA8#FFFFFF#000000##000000
##CD4EA81.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5672AB
Deuteranopia (green-blind)
#7C87A5
Tritanopia (blue-blind)
#D95074
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd4ea8;
/* rgb */ color: rgb(205, 78, 168);
/* oklch */ color: oklch(62.2% 0.188 340.8);
Tailwind
colors: {
  custom: {
    50: '#e087c2',
    500: '#cd4ea8',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ea8;
$custom-light: #e087c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ea8",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 317.48,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62151,
    "c": 0.18846,
    "h": 340.8
  },
  "luminance": 0.21255
}

Semantic roles & 50–950 ramp

primary
#CD4EA8
secondary
#A1D6B0
accent
#DF7449
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD4EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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