#CD5CB5#CD5CB5

#CD5CB5 is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.4% C 0.177 H 336.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#CD5CB5
RGBrgb(205, 92, 181)
HSLhsl(313, 53%, 58%)
HSVhsv(313, 55%, 80%)
CMYKcmyk(0%, 55.1%, 11.7%, 19.6%)
CIE-LABlab(56.06, 55.61, -26.23)
CIE-LCHlch(56.06, 61.48, 334.75°)
OKLaboklab(64.41% 0.1621 -0.071)
OKLCHoklch(64.41% 0.177 336.4)
XYZxyz(37.3448, 23.9724, 46.3673)
Luminance0.2397 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CB5 #5CCD74
analogous
#AC5CCD #CD5CB5 #CD5C7C
triadic
#CD5CB5 #B5CD5C #5CB5CD
tetradic
#CD5CB5 #CDAC5C #5CCD74 #5C7CCD
square
#CD5CB5 #CDAC5C #5CCD74 #5C7CCD
split-complementary
#CD5CB5 #7CCD5C #5CCDAC
monochromatic
#862972 #B4379A #CD5CB5 #DB8BCA #EABAE0

Accessibility & contrast

On white

3.62
#CD5CB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#CD5CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CB5
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CB5#FFFFFF#000000##000000
##CD5CB51.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7CB8
Deuteranopia (green-blind)
#7F8DB2
Tritanopia (blue-blind)
#D66180
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd5cb5;
/* rgb */ color: rgb(205, 92, 181);
/* oklch */ color: oklch(64.4% 0.177 336.4);
Tailwind
colors: {
  custom: {
    50: '#df8fcb',
    500: '#cd5cb5',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cb5;
$custom-light: #df8fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cb5",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 181
  },
  "hsl": {
    "h": 312.743,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64408,
    "c": 0.17694,
    "h": 336.4
  },
  "luminance": 0.2397
}

Semantic roles & 50–950 ramp

primary
#CD5CB5
secondary
#ACD9B5
accent
#DC6A4B
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#150D13
muted
#847E82

Preview Lab

Preview with #CD5CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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