#CD5AA1#CD5AA1

#CD5AA1 is a light, vivid pink. Relative luminance 0.229; OKLCH L 63.3% C 0.166 H 344.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#CD5AA1
RGBrgb(205, 90, 161)
HSLhsl(323, 53%, 58%)
HSVhsv(323, 56%, 80%)
CMYKcmyk(0%, 56.1%, 21.5%, 19.6%)
CIE-LABlab(54.94, 53.53, -16.34)
CIE-LCHlch(54.94, 55.97, 343.03°)
OKLaboklab(63.32% 0.1603 -0.0433)
OKLCHoklch(63.32% 0.166 344.9)
XYZxyz(35.2670, 22.8677, 36.2678)
Luminance0.2286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5AA1 #5ACD86
analogous
#C05ACD #CD5AA1 #CD5A67
triadic
#CD5AA1 #A1CD5A #5AA1CD
tetradic
#CD5AA1 #CDC05A #5ACD86 #5A67CD
square
#CD5AA1 #CDC05A #5ACD86 #5A67CD
split-complementary
#CD5AA1 #67CD5A #5ACDC0
monochromatic
#842861 #B33684 #CD5AA1 #DB89BC #E9B8D7

Accessibility & contrast

On white

3.77
#CD5AA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#CD5AA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5AA1
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5AA1#FFFFFF#000000##000000
##CD5AA11.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6477A3
Deuteranopia (green-blind)
#848B9E
Tritanopia (blue-blind)
#D95976
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd5aa1;
/* rgb */ color: rgb(205, 90, 161);
/* oklch */ color: oklch(63.3% 0.166 344.9);
Tailwind
colors: {
  custom: {
    50: '#df8ebd',
    500: '#cd5aa1',
    950: '#000000',
  },
}
SCSS
$custom: #cd5aa1;
$custom-light: #df8ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5aa1",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 161
  },
  "hsl": {
    "h": 322.957,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63321,
    "c": 0.16606,
    "h": 344.9
  },
  "luminance": 0.22865
}

Semantic roles & 50–950 ramp

primary
#CD5AA1
secondary
#AAD8BC
accent
#DD834B
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #CD5AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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