#CD5CA6#CD5CA6

#CD5CA6 is a light, vivid pink. Relative luminance 0.234; OKLCH L 63.8% C 0.166 H 342.8°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#CD5CA6
RGBrgb(205, 92, 166)
HSLhsl(321, 53%, 58%)
HSVhsv(321, 55%, 80%)
CMYKcmyk(0%, 55.1%, 19%, 19.6%)
CIE-LABlab(55.47, 53.32, -18.44)
CIE-LCHlch(55.47, 56.42, 340.93°)
OKLaboklab(63.78% 0.1588 -0.0491)
OKLCHoklch(63.78% 0.166 342.8)
XYZxyz(35.8877, 23.3896, 38.6935)
Luminance0.2339 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CA6 #5CCD83
analogous
#BB5CCD #CD5CA6 #CD5C6D
triadic
#CD5CA6 #A6CD5C #5CA6CD
tetradic
#CD5CA6 #CDBB5C #5CCD83 #5C6DCD
square
#CD5CA6 #CDBB5C #5CCD83 #5C6DCD
split-complementary
#CD5CA6 #6DCD5C #5CCDBB
monochromatic
#862966 #B43789 #CD5CA6 #DB8BC0 #EABAD9

Accessibility & contrast

On white

3.70
#CD5CA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#CD5CA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CA6
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CA6#FFFFFF#000000##000000
##CD5CA61.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6479A8
Deuteranopia (green-blind)
#848CA3
Tritanopia (blue-blind)
#D85C79
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd5ca6;
/* rgb */ color: rgb(205, 92, 166);
/* oklch */ color: oklch(63.8% 0.166 342.8);
Tailwind
colors: {
  custom: {
    50: '#df8fc0',
    500: '#cd5ca6',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ca6;
$custom-light: #df8fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ca6",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 166
  },
  "hsl": {
    "h": 320.708,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63779,
    "c": 0.16619,
    "h": 342.8
  },
  "luminance": 0.23387
}

Semantic roles & 50–950 ramp

primary
#CD5CA6
secondary
#ACD9BB
accent
#DC7D4B
background
#FEF9FB
surface
#FCF1F7
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #CD5CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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