#CD4EA1#CD4EA1

#CD4EA1 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.9% C 0.184 H 343.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CD4EA1
RGBrgb(205, 78, 161)
HSLhsl(321, 56%, 55%)
HSVhsv(321, 62%, 80%)
CMYKcmyk(0%, 62%, 21.5%, 19.6%)
CIE-LABlab(52.95, 58.88, -19.36)
CIE-LCHlch(52.95, 61.98, 341.80°)
OKLaboklab(61.86% 0.1765 -0.0516)
OKLCHoklch(61.86% 0.184 343.7)
XYZxyz(34.3353, 21.0043, 35.9572)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4EA1 #4ECD7A
analogous
#B94ECD #CD4EA1 #CD4E62
triadic
#CD4EA1 #A1CD4E #4EA1CD
tetradic
#CD4EA1 #CDB94E #4ECD7A #4E62CD
square
#CD4EA1 #CDB94E #4ECD7A #4E62CD
split-complementary
#CD4EA1 #62CD4E #4ECDB9
monochromatic
#7D235E #AD3182 #CD4EA1 #DA7EBA #E8ADD4

Accessibility & contrast

On white

4.04
#CD4EA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CD4EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4EA1
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4EA1#FFFFFF#000000##000000
##CD4EA11.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5971A4
Deuteranopia (green-blind)
#7E869E
Tritanopia (blue-blind)
#D94E71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd4ea1;
/* rgb */ color: rgb(205, 78, 161);
/* oklch */ color: oklch(61.9% 0.184 343.7);
Tailwind
colors: {
  custom: {
    50: '#e087bd',
    500: '#cd4ea1',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ea1;
$custom-light: #e087bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ea1",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 320.787,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61857,
    "c": 0.18392,
    "h": 343.7
  },
  "luminance": 0.21001
}

Semantic roles & 50–950 ramp

primary
#CD4EA1
secondary
#A1D6B3
accent
#DF7D49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD4EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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