#CD5DB5#CD5DB5

#CD5DB5 is a light, vivid pink. Relative luminance 0.241; OKLCH L 64.5% C 0.175 H 336.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#CD5DB5
RGBrgb(205, 93, 181)
HSLhsl(313, 53%, 58%)
HSVhsv(313, 55%, 80%)
CMYKcmyk(0%, 54.6%, 11.7%, 19.6%)
CIE-LABlab(56.23, 55.14, -25.96)
CIE-LCHlch(56.23, 60.95, 334.79°)
OKLaboklab(64.54% 0.1607 -0.0702)
OKLCHoklch(64.54% 0.175 336.4)
XYZxyz(37.4320, 24.1468, 46.3964)
Luminance0.2414 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DB5 #5DCD75
analogous
#AD5DCD #CD5DB5 #CD5D7D
triadic
#CD5DB5 #B5CD5D #5DB5CD
tetradic
#CD5DB5 #CDAD5D #5DCD75 #5D7DCD
square
#CD5DB5 #CDAD5D #5DCD75 #5D7DCD
split-complementary
#CD5DB5 #7DCD5D #5DCDAD
monochromatic
#862972 #B5389A #CD5DB5 #DB8CCA #EABBE0

Accessibility & contrast

On white

3.60
#CD5DB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#CD5DB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DB5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DB5#FFFFFF#000000##000000
##CD5DB51.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7CB8
Deuteranopia (green-blind)
#7F8DB2
Tritanopia (blue-blind)
#D66281
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd5db5;
/* rgb */ color: rgb(205, 93, 181);
/* oklch */ color: oklch(64.5% 0.175 336.4);
Tailwind
colors: {
  custom: {
    50: '#df90cb',
    500: '#cd5db5',
    950: '#000000',
  },
}
SCSS
$custom: #cd5db5;
$custom-light: #df90cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5db5",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 181
  },
  "hsl": {
    "h": 312.857,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64537,
    "c": 0.17539,
    "h": 336.4
  },
  "luminance": 0.24144
}

Semantic roles & 50–950 ramp

primary
#CD5DB5
secondary
#ADD9B6
accent
#DC6B4C
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#150D13
muted
#847E82

Preview Lab

Preview with #CD5DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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