#CD4EA7#CD4EA7

#CD4EA7 is a light, vivid pink. Relative luminance 0.212; OKLCH L 62.1% C 0.188 H 341.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#CD4EA7
RGBrgb(205, 78, 167)
HSLhsl(318, 56%, 55%)
HSVhsv(318, 62%, 80%)
CMYKcmyk(0%, 62%, 18.5%, 19.6%)
CIE-LABlab(53.19, 59.73, -22.51)
CIE-LCHlch(53.19, 63.83, 339.35°)
OKLaboklab(62.11% 0.1778 -0.0604)
OKLCHoklch(62.11% 0.188 341.2)
XYZxyz(34.8771, 21.2211, 38.8109)
Luminance0.2122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4EA7 #4ECD74
analogous
#B44ECD #CD4EA7 #CD4E67
triadic
#CD4EA7 #A7CD4E #4EA7CD
tetradic
#CD4EA7 #CDB44E #4ECD74 #4E67CD
square
#CD4EA7 #CDB44E #4ECD74 #4E67CD
split-complementary
#CD4EA7 #67CD4E #4ECDB4
monochromatic
#7D2362 #AD3188 #CD4EA7 #DA7EBF #E8ADD6

Accessibility & contrast

On white

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

On black

5.24
#CD4EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4EA7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4EA7#FFFFFF#000000##000000
##CD4EA71.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5672AA
Deuteranopia (green-blind)
#7C87A4
Tritanopia (blue-blind)
#D95073
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd4ea7;
/* rgb */ color: rgb(205, 78, 167);
/* oklch */ color: oklch(62.1% 0.188 341.2);
Tailwind
colors: {
  custom: {
    50: '#e087c1',
    500: '#cd4ea7',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ea7;
$custom-light: #e087c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ea7",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 317.953,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62108,
    "c": 0.1878,
    "h": 341.2
  },
  "luminance": 0.21218
}

Semantic roles & 50–950 ramp

primary
#CD4EA7
secondary
#A1D6B1
accent
#DF7649
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD4EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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