#CD5AB2#CD5AB2

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

Color values

HEX#CD5AB2
RGBrgb(205, 90, 178)
HSLhsl(314, 53%, 58%)
HSVhsv(314, 56%, 80%)
CMYKcmyk(0%, 56.1%, 13.2%, 19.6%)
CIE-LABlab(55.59, 56.06, -25.22)
CIE-LCHlch(55.59, 61.47, 335.78°)
OKLaboklab(64.02% 0.1642 -0.0681)
OKLCHoklch(64.02% 0.178 337.5)
XYZxyz(36.8693, 23.5087, 44.7066)
Luminance0.2351 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5AB2 #5ACD75
analogous
#AE5ACD #CD5AB2 #CD5A78
triadic
#CD5AB2 #B2CD5A #5AB2CD
tetradic
#CD5AB2 #CDAE5A #5ACD75 #5A78CD
square
#CD5AB2 #CDAE5A #5ACD75 #5A78CD
split-complementary
#CD5AB2 #78CD5A #5ACDAE
monochromatic
#84286F #B33696 #CD5AB2 #DB89C8 #E9B8DE

Accessibility & contrast

On white

3.68
#CD5AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#CD5AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5AB2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5AB2#FFFFFF#000000##000000
##CD5AB21.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd5ab2;
/* rgb */ color: rgb(205, 90, 178);
/* oklch */ color: oklch(64.0% 0.178 337.5);
Tailwind
colors: {
  custom: {
    50: '#df8ec9',
    500: '#cd5ab2',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ab2;
$custom-light: #df8ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ab2",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 314.087,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64023,
    "c": 0.17778,
    "h": 337.5
  },
  "luminance": 0.23506
}

Semantic roles & 50–950 ramp

primary
#CD5AB2
secondary
#AAD8B5
accent
#DD6D4B
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #CD5AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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