#CD5AB1#CD5AB1

#CD5AB1 is a light, vivid pink. Relative luminance 0.235; OKLCH L 64.0% C 0.177 H 337.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#CD5AB1
RGBrgb(205, 90, 177)
HSLhsl(315, 53%, 58%)
HSVhsv(315, 56%, 80%)
CMYKcmyk(0%, 56.1%, 13.7%, 19.6%)
CIE-LABlab(55.55, 55.91, -24.70)
CIE-LCHlch(55.55, 61.12, 336.17°)
OKLaboklab(63.98% 0.164 -0.0666)
OKLCHoklch(63.98% 0.177 337.9)
XYZxyz(36.7693, 23.4687, 44.1798)
Luminance0.2347 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5AB1 #5ACD76
analogous
#B05ACD #CD5AB1 #CD5A77
triadic
#CD5AB1 #B1CD5A #5AB1CD
tetradic
#CD5AB1 #CDB05A #5ACD76 #5A77CD
square
#CD5AB1 #CDB05A #5ACD76 #5A77CD
split-complementary
#CD5AB1 #77CD5A #5ACDB0
monochromatic
#84286E #B33695 #CD5AB1 #DB89C7 #E9B8DD

Accessibility & contrast

On white

3.69
#CD5AB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#CD5AB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5AB1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5AB1#FFFFFF#000000##000000
##CD5AB11.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7AB4
Deuteranopia (green-blind)
#7F8CAE
Tritanopia (blue-blind)
#D75E7E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd5ab1;
/* rgb */ color: rgb(205, 90, 177);
/* oklch */ color: oklch(64.0% 0.177 337.9);
Tailwind
colors: {
  custom: {
    50: '#df8ec8',
    500: '#cd5ab1',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ab1;
$custom-light: #df8ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ab1",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 177
  },
  "hsl": {
    "h": 314.609,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63979,
    "c": 0.17704,
    "h": 337.9
  },
  "luminance": 0.23466
}

Semantic roles & 50–950 ramp

primary
#CD5AB1
secondary
#AAD8B6
accent
#DD6E4B
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #CD5AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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