#CD5DB7#CD5DB7

#CD5DB7 is a light, vivid pink. Relative luminance 0.242; OKLCH L 64.6% C 0.177 H 335.6°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#CD5DB7
RGBrgb(205, 93, 183)
HSLhsl(312, 53%, 58%)
HSVhsv(312, 55%, 80%)
CMYKcmyk(0%, 54.6%, 10.7%, 19.6%)
CIE-LABlab(56.32, 55.46, -26.98)
CIE-LCHlch(56.32, 61.68, 334.06°)
OKLaboklab(64.63% 0.1611 -0.0731)
OKLCHoklch(64.63% 0.177 335.6)
XYZxyz(37.6387, 24.2295, 47.4849)
Luminance0.2423 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DB7 #5DCD73
analogous
#AB5DCD #CD5DB7 #CD5D7F
triadic
#CD5DB7 #B7CD5D #5DB7CD
tetradic
#CD5DB7 #CDAB5D #5DCD73 #5D7FCD
square
#CD5DB7 #CDAB5D #5DCD73 #5D7FCD
split-complementary
#CD5DB7 #7FCD5D #5DCDAB
monochromatic
#862974 #B5389C #CD5DB7 #DB8CCC #EABBE1

Accessibility & contrast

On white

3.59
#CD5DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#CD5DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DB7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DB7#FFFFFF#000000##000000
##CD5DB71.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7CBA
Deuteranopia (green-blind)
#7F8DB4
Tritanopia (blue-blind)
#D66382
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd5db7;
/* rgb */ color: rgb(205, 93, 183);
/* oklch */ color: oklch(64.6% 0.177 335.6);
Tailwind
colors: {
  custom: {
    50: '#df90cd',
    500: '#cd5db7',
    950: '#000000',
  },
}
SCSS
$custom: #cd5db7;
$custom-light: #df90cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5db7",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 183
  },
  "hsl": {
    "h": 311.786,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64625,
    "c": 0.17692,
    "h": 335.6
  },
  "luminance": 0.24227
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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