#CD5CA7#CD5CA7

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

Color values

HEX#CD5CA7
RGBrgb(205, 92, 167)
HSLhsl(320, 53%, 58%)
HSVhsv(320, 55%, 80%)
CMYKcmyk(0%, 55.1%, 18.5%, 19.6%)
CIE-LABlab(55.51, 53.47, -18.96)
CIE-LCHlch(55.51, 56.73, 340.47°)
OKLaboklab(63.82% 0.159 -0.0506)
OKLCHoklch(63.82% 0.167 342.4)
XYZxyz(35.9798, 23.4264, 39.1785)
Luminance0.2342 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CA7 #5CCD82
analogous
#BA5CCD #CD5CA7 #CD5C6E
triadic
#CD5CA7 #A7CD5C #5CA7CD
tetradic
#CD5CA7 #CDBA5C #5CCD82 #5C6ECD
square
#CD5CA7 #CDBA5C #5CCD82 #5C6ECD
split-complementary
#CD5CA7 #6ECD5C #5CCDBA
monochromatic
#862966 #B4378A #CD5CA7 #DB8BC0 #EABADA

Accessibility & contrast

On white

3.69
#CD5CA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5CA7#FFFFFF#000000##000000
##CD5CA71.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6479A9
Deuteranopia (green-blind)
#838CA4
Tritanopia (blue-blind)
#D85D7A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd5ca7;
/* rgb */ color: rgb(205, 92, 167);
/* oklch */ color: oklch(63.8% 0.167 342.4);
Tailwind
colors: {
  custom: {
    50: '#df8fc1',
    500: '#cd5ca7',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ca7;
$custom-light: #df8fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ca7",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 167
  },
  "hsl": {
    "h": 320.177,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63819,
    "c": 0.16686,
    "h": 342.4
  },
  "luminance": 0.23423
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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