#CD5DB9#CD5DB9

#CD5DB9 is a light, vivid pink. Relative luminance 0.243; OKLCH L 64.7% C 0.178 H 334.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#CD5DB9
RGBrgb(205, 93, 185)
HSLhsl(311, 53%, 58%)
HSVhsv(311, 55%, 80%)
CMYKcmyk(0%, 54.6%, 9.8%, 19.6%)
CIE-LABlab(56.40, 55.78, -28.01)
CIE-LCHlch(56.40, 62.42, 333.34°)
OKLaboklab(64.71% 0.1615 -0.076)
OKLCHoklch(64.71% 0.178 334.8)
XYZxyz(37.8483, 24.3133, 48.5890)
Luminance0.2431 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DB9 #5DCD71
analogous
#A95DCD #CD5DB9 #CD5D81
triadic
#CD5DB9 #B9CD5D #5DB9CD
tetradic
#CD5DB9 #CDA95D #5DCD71 #5D81CD
square
#CD5DB9 #CDA95D #5DCD71 #5D81CD
split-complementary
#CD5DB9 #81CD5D #5DCDA9
monochromatic
#862976 #B5389F #CD5DB9 #DB8CCD #EABBE1

Accessibility & contrast

On white

3.58
#CD5DB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#CD5DB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DB9
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DB9#FFFFFF#000000##000000
##CD5DB91.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBC
Deuteranopia (green-blind)
#7E8DB6
Tritanopia (blue-blind)
#D66383
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd5db9;
/* rgb */ color: rgb(205, 93, 185);
/* oklch */ color: oklch(64.7% 0.178 334.8);
Tailwind
colors: {
  custom: {
    50: '#df90ce',
    500: '#cd5db9',
    950: '#000000',
  },
}
SCSS
$custom: #cd5db9;
$custom-light: #df90ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5db9",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 185
  },
  "hsl": {
    "h": 310.714,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64714,
    "c": 0.17848,
    "h": 334.8
  },
  "luminance": 0.24311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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