#CD5FA4#CD5FA4

#CD5FA4 is a light, vivid pink. Relative luminance 0.238; OKLCH L 64.1% C 0.160 H 344.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CD5FA4
RGBrgb(205, 95, 164)
HSLhsl(322, 52%, 59%)
HSVhsv(322, 54%, 80%)
CMYKcmyk(0%, 53.7%, 20%, 19.6%)
CIE-LABlab(55.93, 51.60, -16.57)
CIE-LCHlch(55.93, 54.20, 342.20°)
OKLaboklab(64.1% 0.154 -0.044)
OKLCHoklch(64.1% 0.16 344.1)
XYZxyz(35.9707, 23.8469, 37.8232)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FA4 #5FCD88
analogous
#BF5FCD #CD5FA4 #CD5F6D
triadic
#CD5FA4 #A4CD5F #5FA4CD
tetradic
#CD5FA4 #CDBF5F #5FCD88 #5F6DCD
square
#CD5FA4 #CDBF5F #5FCD88 #5F6DCD
split-complementary
#CD5FA4 #6DCD5F #5FCDBF
monochromatic
#872A65 #B63987 #CD5FA4 #DC8EBF #EABCD9

Accessibility & contrast

On white

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

On black

5.77
#CD5FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FA4
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FA4#FFFFFF#000000##000000
##CD5FA41.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#687BA6
Deuteranopia (green-blind)
#868DA1
Tritanopia (blue-blind)
#D95F7A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd5fa4;
/* rgb */ color: rgb(205, 95, 164);
/* oklch */ color: oklch(64.1% 0.160 344.1);
Tailwind
colors: {
  custom: {
    50: '#df91bf',
    500: '#cd5fa4',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fa4;
$custom-light: #df91bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fa4",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 322.364,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64099,
    "c": 0.16014,
    "h": 344.1
  },
  "luminance": 0.23844
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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