#CD4EB7#CD4EB7

#CD4EB7 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.8% C 0.199 H 335.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#CD4EB7
RGBrgb(205, 78, 183)
HSLhsl(310, 56%, 55%)
HSVhsv(310, 62%, 80%)
CMYKcmyk(0%, 62%, 10.7%, 19.6%)
CIE-LABlab(53.87, 62.11, -30.78)
CIE-LCHlch(53.87, 69.32, 333.63°)
OKLaboklab(62.83% 0.1806 -0.0838)
OKLCHoklch(62.83% 0.199 335.1)
XYZxyz(36.4488, 21.8497, 47.0883)
Luminance0.2185 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4EB7 #4ECD64
analogous
#A44ECD #CD4EB7 #CD4E77
triadic
#CD4EB7 #B7CD4E #4EB7CD
tetradic
#CD4EB7 #CDA44E #4ECD64 #4E77CD
square
#CD4EB7 #CDA44E #4ECD64 #4E77CD
split-complementary
#CD4EB7 #77CD4E #4ECDA4
monochromatic
#7D236E #AD3197 #CD4EB7 #DA7ECA #E8ADDE

Accessibility & contrast

On white

3.91
#CD4EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#CD4EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4EB7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4EB7#FFFFFF#000000##000000
##CD4EB71.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E75BA
Deuteranopia (green-blind)
#7688B4
Tritanopia (blue-blind)
#D7567B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd4eb7;
/* rgb */ color: rgb(205, 78, 183);
/* oklch */ color: oklch(62.8% 0.199 335.1);
Tailwind
colors: {
  custom: {
    50: '#df87cd',
    500: '#cd4eb7',
    950: '#000000',
  },
}
SCSS
$custom: #cd4eb7;
$custom-light: #df87cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4eb7",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 183
  },
  "hsl": {
    "h": 310.394,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62825,
    "c": 0.1991,
    "h": 335.1
  },
  "luminance": 0.21847
}

Semantic roles & 50–950 ramp

primary
#CD4EB7
secondary
#A1D6AA
accent
#DF6349
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD4EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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