#CD5FA5#CD5FA5

#CD5FA5 is a light, vivid pink. Relative luminance 0.239; OKLCH L 64.1% C 0.161 H 343.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#CD5FA5
RGBrgb(205, 95, 165)
HSLhsl(322, 52%, 59%)
HSVhsv(322, 54%, 80%)
CMYKcmyk(0%, 53.7%, 19.5%, 19.6%)
CIE-LABlab(55.97, 51.75, -17.09)
CIE-LCHlch(55.97, 54.50, 341.72°)
OKLaboklab(64.14% 0.1542 -0.0454)
OKLCHoklch(64.14% 0.161 343.6)
XYZxyz(36.0614, 23.8831, 38.3006)
Luminance0.2388 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FA5 #5FCD87
analogous
#BE5FCD #CD5FA5 #CD5F6E
triadic
#CD5FA5 #A5CD5F #5FA5CD
tetradic
#CD5FA5 #CDBE5F #5FCD87 #5F6ECD
square
#CD5FA5 #CDBE5F #5FCD87 #5F6ECD
split-complementary
#CD5FA5 #6ECD5F #5FCDBE
monochromatic
#872A65 #B63988 #CD5FA5 #DC8EBF #EABCD9

Accessibility & contrast

On white

3.64
#CD5FA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#CD5FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FA5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FA5#FFFFFF#000000##000000
##CD5FA51.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#677BA7
Deuteranopia (green-blind)
#868DA2
Tritanopia (blue-blind)
#D95F7B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd5fa5;
/* rgb */ color: rgb(205, 95, 165);
/* oklch */ color: oklch(64.1% 0.161 343.6);
Tailwind
colors: {
  custom: {
    50: '#df91bf',
    500: '#cd5fa5',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fa5;
$custom-light: #df91bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fa5",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 165
  },
  "hsl": {
    "h": 321.818,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64138,
    "c": 0.16079,
    "h": 343.6
  },
  "luminance": 0.2388
}

Semantic roles & 50–950 ramp

primary
#CD5FA5
secondary
#AEDABE
accent
#DC804C
background
#FEF9FB
surface
#FCF1F7
border
#D5CBD0
text
#150D12
muted
#847E81

Preview Lab

Preview with #CD5FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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