#CD4EB4#CD4EB4

#CD4EB4 is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.7% C 0.197 H 336.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#CD4EB4
RGBrgb(205, 78, 180)
HSLhsl(312, 56%, 55%)
HSVhsv(312, 62%, 80%)
CMYKcmyk(0%, 62%, 12.2%, 19.6%)
CIE-LABlab(53.74, 61.65, -29.25)
CIE-LCHlch(53.74, 68.24, 334.62°)
OKLaboklab(62.69% 0.1802 -0.0794)
OKLCHoklch(62.69% 0.197 336.2)
XYZxyz(36.1399, 21.7261, 45.4613)
Luminance0.2172 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4EB4 #4ECD67
analogous
#A64ECD #CD4EB4 #CD4E74
triadic
#CD4EB4 #B4CD4E #4EB4CD
tetradic
#CD4EB4 #CDA64E #4ECD67 #4E74CD
square
#CD4EB4 #CDA64E #4ECD67 #4E74CD
split-complementary
#CD4EB4 #74CD4E #4ECDA6
monochromatic
#7D236C #AD3195 #CD4EB4 #DA7EC8 #E8ADDC

Accessibility & contrast

On white

3.93
#CD4EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#CD4EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4EB4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4EB4#FFFFFF#000000##000000
##CD4EB41.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5074B7
Deuteranopia (green-blind)
#7787B1
Tritanopia (blue-blind)
#D7557A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd4eb4;
/* rgb */ color: rgb(205, 78, 180);
/* oklch */ color: oklch(62.7% 0.197 336.2);
Tailwind
colors: {
  custom: {
    50: '#df87ca',
    500: '#cd4eb4',
    950: '#000000',
  },
}
SCSS
$custom: #cd4eb4;
$custom-light: #df87ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4eb4",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 311.811,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62686,
    "c": 0.19689,
    "h": 336.2
  },
  "luminance": 0.21723
}

Semantic roles & 50–950 ramp

primary
#CD4EB4
secondary
#A1D6AB
accent
#DF6649
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD4EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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