#CD5EB7#CD5EB7

#CD5EB7 is a light, vivid pink. Relative luminance 0.244; OKLCH L 64.8% C 0.175 H 335.6°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#CD5EB7
RGBrgb(205, 94, 183)
HSLhsl(312, 53%, 59%)
HSVhsv(312, 54%, 80%)
CMYKcmyk(0%, 54.1%, 10.7%, 19.6%)
CIE-LABlab(56.49, 54.99, -26.71)
CIE-LCHlch(56.49, 61.14, 334.09°)
OKLaboklab(64.76% 0.1597 -0.0723)
OKLCHoklch(64.76% 0.175 335.6)
XYZxyz(37.7270, 24.4062, 47.5144)
Luminance0.2440 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5EB7 #5ECD74
analogous
#AB5ECD #CD5EB7 #CD5E7F
triadic
#CD5EB7 #B7CD5E #5EB7CD
tetradic
#CD5EB7 #CDAB5E #5ECD74 #5E7FCD
square
#CD5EB7 #CDAB5E #5ECD74 #5E7FCD
split-complementary
#CD5EB7 #7FCD5E #5ECDAB
monochromatic
#872A74 #B5389D #CD5EB7 #DC8DCC #EABBE1

Accessibility & contrast

On white

3.57
#CD5EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#CD5EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5EB7
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5EB7#FFFFFF#000000##000000
##CD5EB71.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7DBA
Deuteranopia (green-blind)
#7F8EB4
Tritanopia (blue-blind)
#D66482
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd5eb7;
/* rgb */ color: rgb(205, 94, 183);
/* oklch */ color: oklch(64.8% 0.175 335.6);
Tailwind
colors: {
  custom: {
    50: '#df90cd',
    500: '#cd5eb7',
    950: '#000000',
  },
}
SCSS
$custom: #cd5eb7;
$custom-light: #df90cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5eb7",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 183
  },
  "hsl": {
    "h": 311.892,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64755,
    "c": 0.17536,
    "h": 335.6
  },
  "luminance": 0.24403
}

Semantic roles & 50–950 ramp

primary
#CD5EB7
secondary
#ADD9B6
accent
#DC684C
background
#FEF9FC
surface
#FCF1F9
border
#D5CBD2
text
#150D13
muted
#847E82

Preview Lab

Preview with #CD5EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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