#CD5DB1#CD5DB1

#CD5DB1 is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.4% C 0.172 H 338.1°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#CD5DB1
RGBrgb(205, 93, 177)
HSLhsl(315, 53%, 58%)
HSVhsv(315, 55%, 80%)
CMYKcmyk(0%, 54.6%, 13.7%, 19.6%)
CIE-LABlab(56.07, 54.51, -23.90)
CIE-LCHlch(56.07, 59.52, 336.33°)
OKLaboklab(64.37% 0.1599 -0.0644)
OKLCHoklch(64.37% 0.172 338.1)
XYZxyz(37.0274, 23.9850, 44.2658)
Luminance0.2398 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DB1 #5DCD79
analogous
#B15DCD #CD5DB1 #CD5D79
triadic
#CD5DB1 #B1CD5D #5DB1CD
tetradic
#CD5DB1 #CDB15D #5DCD79 #5D79CD
square
#CD5DB1 #CDB15D #5DCD79 #5D79CD
split-complementary
#CD5DB1 #79CD5D #5DCDB1
monochromatic
#86296F #B53896 #CD5DB1 #DB8CC8 #EABBDE

Accessibility & contrast

On white

3.62
#CD5DB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#CD5DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DB1
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DB1#FFFFFF#000000##000000
##CD5DB11.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#607BB4
Deuteranopia (green-blind)
#818DAE
Tritanopia (blue-blind)
#D7617F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd5db1;
/* rgb */ color: rgb(205, 93, 177);
/* oklch */ color: oklch(64.4% 0.172 338.1);
Tailwind
colors: {
  custom: {
    50: '#df90c8',
    500: '#cd5db1',
    950: '#000000',
  },
}
SCSS
$custom: #cd5db1;
$custom-light: #df90c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5db1",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 177
  },
  "hsl": {
    "h": 315,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64365,
    "c": 0.17238,
    "h": 338.1
  },
  "luminance": 0.23982
}

Semantic roles & 50–950 ramp

primary
#CD5DB1
secondary
#ADD9B8
accent
#DC704C
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#150D13
muted
#847E82

Preview Lab

Preview with #CD5DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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