#CD5AA7#CD5AA7

#CD5AA7 is a light, vivid pink. Relative luminance 0.231; OKLCH L 63.6% C 0.170 H 342.2°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#CD5AA7
RGBrgb(205, 90, 167)
HSLhsl(320, 53%, 58%)
HSVhsv(320, 56%, 80%)
CMYKcmyk(0%, 56.1%, 18.5%, 19.6%)
CIE-LABlab(55.16, 54.40, -19.49)
CIE-LCHlch(55.16, 57.79, 340.28°)
OKLaboklab(63.56% 0.1618 -0.052)
OKLCHoklch(63.56% 0.17 342.2)
XYZxyz(35.8088, 23.0845, 39.1215)
Luminance0.2308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5AA7 #5ACD80
analogous
#B95ACD #CD5AA7 #CD5A6D
triadic
#CD5AA7 #A7CD5A #5AA7CD
tetradic
#CD5AA7 #CDB95A #5ACD80 #5A6DCD
square
#CD5AA7 #CDB95A #5ACD80 #5A6DCD
split-complementary
#CD5AA7 #6DCD5A #5ACDB9
monochromatic
#842866 #B3368A #CD5AA7 #DB89C0 #E9B8D9

Accessibility & contrast

On white

3.74
#CD5AA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#CD5AA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5AA7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5AA7#FFFFFF#000000##000000
##CD5AA71.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6278A9
Deuteranopia (green-blind)
#828BA4
Tritanopia (blue-blind)
#D85B79
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd5aa7;
/* rgb */ color: rgb(205, 90, 167);
/* oklch */ color: oklch(63.6% 0.170 342.2);
Tailwind
colors: {
  custom: {
    50: '#df8ec1',
    500: '#cd5aa7',
    950: '#000000',
  },
}
SCSS
$custom: #cd5aa7;
$custom-light: #df8ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5aa7",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 167
  },
  "hsl": {
    "h": 319.826,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6356,
    "c": 0.16998,
    "h": 342.2
  },
  "luminance": 0.23081
}

Semantic roles & 50–950 ramp

primary
#CD5AA7
secondary
#AAD8BA
accent
#DD7B4B
background
#FEF9FB
surface
#FCF1F7
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #CD5AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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