#CD4EB1#CD4EB1

#CD4EB1 is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.5% C 0.195 H 337.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#CD4EB1
RGBrgb(205, 78, 177)
HSLhsl(313, 56%, 55%)
HSVhsv(313, 62%, 80%)
CMYKcmyk(0%, 62%, 13.7%, 19.6%)
CIE-LABlab(53.61, 61.19, -27.71)
CIE-LCHlch(53.61, 67.17, 335.64°)
OKLaboklab(62.55% 0.1797 -0.075)
OKLCHoklch(62.55% 0.195 337.3)
XYZxyz(35.8376, 21.6052, 43.8692)
Luminance0.2160 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4EB1 #4ECD6A
analogous
#A94ECD #CD4EB1 #CD4E72
triadic
#CD4EB1 #B1CD4E #4EB1CD
tetradic
#CD4EB1 #CDA94E #4ECD6A #4E72CD
square
#CD4EB1 #CDA94E #4ECD6A #4E72CD
split-complementary
#CD4EB1 #72CD4E #4ECDA9
monochromatic
#7D2369 #AD3192 #CD4EB1 #DA7EC6 #E8ADDB

Accessibility & contrast

On white

3.95
#CD4EB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#CD4EB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4EB1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4EB1#FFFFFF#000000##000000
##CD4EB11.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5174B4
Deuteranopia (green-blind)
#7987AE
Tritanopia (blue-blind)
#D75478
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd4eb1;
/* rgb */ color: rgb(205, 78, 177);
/* oklch */ color: oklch(62.5% 0.195 337.3);
Tailwind
colors: {
  custom: {
    50: '#df87c8',
    500: '#cd4eb1',
    950: '#000000',
  },
}
SCSS
$custom: #cd4eb1;
$custom-light: #df87c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4eb1",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 177
  },
  "hsl": {
    "h": 313.228,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62548,
    "c": 0.19472,
    "h": 337.3
  },
  "luminance": 0.21602
}

Semantic roles & 50–950 ramp

primary
#CD4EB1
secondary
#A1D6AD
accent
#DF6A49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD4EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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