#CD4EB5#CD4EB5

#CD4EB5 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.7% C 0.198 H 335.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#CD4EB5
RGBrgb(205, 78, 181)
HSLhsl(311, 56%, 55%)
HSVhsv(311, 62%, 80%)
CMYKcmyk(0%, 62%, 11.7%, 19.6%)
CIE-LABlab(53.78, 61.80, -29.76)
CIE-LCHlch(53.78, 68.59, 334.29°)
OKLaboklab(62.73% 0.1803 -0.0809)
OKLCHoklch(62.73% 0.198 335.8)
XYZxyz(36.2421, 21.7670, 45.9998)
Luminance0.2176 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4EB5 #4ECD66
analogous
#A64ECD #CD4EB5 #CD4E75
triadic
#CD4EB5 #B5CD4E #4EB5CD
tetradic
#CD4EB5 #CDA64E #4ECD66 #4E75CD
square
#CD4EB5 #CDA64E #4ECD66 #4E75CD
split-complementary
#CD4EB5 #75CD4E #4ECDA6
monochromatic
#7D236C #AD3195 #CD4EB5 #DA7EC9 #E8ADDD

Accessibility & contrast

On white

3.92
#CD4EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#CD4EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4EB5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4EB5#FFFFFF#000000##000000
##CD4EB51.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F74B8
Deuteranopia (green-blind)
#7787B2
Tritanopia (blue-blind)
#D7557A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd4eb5;
/* rgb */ color: rgb(205, 78, 181);
/* oklch */ color: oklch(62.7% 0.198 335.8);
Tailwind
colors: {
  custom: {
    50: '#df87cb',
    500: '#cd4eb5',
    950: '#000000',
  },
}
SCSS
$custom: #cd4eb5;
$custom-light: #df87cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4eb5",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 181
  },
  "hsl": {
    "h": 311.339,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62732,
    "c": 0.19762,
    "h": 335.8
  },
  "luminance": 0.21764
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD4EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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