#CD5DB2#CD5DB2

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

Color values

HEX#CD5DB2
RGBrgb(205, 93, 178)
HSLhsl(314, 53%, 58%)
HSVhsv(314, 55%, 80%)
CMYKcmyk(0%, 54.6%, 13.2%, 19.6%)
CIE-LABlab(56.11, 54.67, -24.41)
CIE-LCHlch(56.11, 59.87, 335.94°)
OKLaboklab(64.41% 0.1601 -0.0659)
OKLCHoklch(64.41% 0.173 337.6)
XYZxyz(37.1275, 24.0250, 44.7927)
Luminance0.2402 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DB2 #5DCD78
analogous
#B05DCD #CD5DB2 #CD5D7A
triadic
#CD5DB2 #B2CD5D #5DB2CD
tetradic
#CD5DB2 #CDB05D #5DCD78 #5D7ACD
square
#CD5DB2 #CDB05D #5DCD78 #5D7ACD
split-complementary
#CD5DB2 #7ACD5D #5DCDB0
monochromatic
#862970 #B53897 #CD5DB2 #DB8CC8 #EABBDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5DB2#FFFFFF#000000##000000
##CD5DB21.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)
#607CB5
Deuteranopia (green-blind)
#808DAF
Tritanopia (blue-blind)
#D7617F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd5db2;
/* rgb */ color: rgb(205, 93, 178);
/* oklch */ color: oklch(64.4% 0.173 337.6);
Tailwind
colors: {
  custom: {
    50: '#df90c9',
    500: '#cd5db2',
    950: '#000000',
  },
}
SCSS
$custom: #cd5db2;
$custom-light: #df90c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5db2",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 314.464,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64407,
    "c": 0.17312,
    "h": 337.6
  },
  "luminance": 0.24022
}

Semantic roles & 50–950 ramp

primary
#CD5DB2
secondary
#ADD9B7
accent
#DC6E4C
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#150D13
muted
#847E82

Preview Lab

Preview with #CD5DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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