#CD5DB8#CD5DB8

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

Color values

HEX#CD5DB8
RGBrgb(205, 93, 184)
HSLhsl(311, 53%, 58%)
HSVhsv(311, 55%, 80%)
CMYKcmyk(0%, 54.6%, 10.2%, 19.6%)
CIE-LABlab(56.36, 55.62, -27.50)
CIE-LCHlch(56.36, 62.05, 333.69°)
OKLaboklab(64.67% 0.1613 -0.0746)
OKLCHoklch(64.67% 0.178 335.2)
XYZxyz(37.7431, 24.2713, 48.0350)
Luminance0.2427 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DB8 #5DCD72
analogous
#AA5DCD #CD5DB8 #CD5D80
triadic
#CD5DB8 #B8CD5D #5DB8CD
tetradic
#CD5DB8 #CDAA5D #5DCD72 #5D80CD
square
#CD5DB8 #CDAA5D #5DCD72 #5D80CD
split-complementary
#CD5DB8 #80CD5D #5DCDAA
monochromatic
#862975 #B5389D #CD5DB8 #DB8CCC #EABBE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5DB8#FFFFFF#000000##000000
##CD5DB81.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)
#5D7DBB
Deuteranopia (green-blind)
#7E8DB5
Tritanopia (blue-blind)
#D66382
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd5db8;
/* rgb */ color: rgb(205, 93, 184);
/* oklch */ color: oklch(64.7% 0.178 335.2);
Tailwind
colors: {
  custom: {
    50: '#df90cd',
    500: '#cd5db8',
    950: '#000000',
  },
}
SCSS
$custom: #cd5db8;
$custom-light: #df90cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5db8",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 184
  },
  "hsl": {
    "h": 311.25,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64669,
    "c": 0.1777,
    "h": 335.2
  },
  "luminance": 0.24269
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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