#CD5CB1#CD5CB1

#CD5CB1 is a light, vivid pink. Relative luminance 0.238; OKLCH L 64.2% C 0.174 H 338.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#CD5CB1
RGBrgb(205, 92, 177)
HSLhsl(315, 53%, 58%)
HSVhsv(315, 55%, 80%)
CMYKcmyk(0%, 55.1%, 13.7%, 19.6%)
CIE-LABlab(55.90, 54.98, -24.17)
CIE-LCHlch(55.90, 60.06, 336.27°)
OKLaboklab(64.24% 0.1613 -0.0651)
OKLCHoklch(64.24% 0.174 338)
XYZxyz(36.9402, 23.8106, 44.2368)
Luminance0.2381 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CB1 #5CCD78
analogous
#B05CCD #CD5CB1 #CD5C78
triadic
#CD5CB1 #B1CD5C #5CB1CD
tetradic
#CD5CB1 #CDB05C #5CCD78 #5C78CD
square
#CD5CB1 #CDB05C #5CCD78 #5C78CD
split-complementary
#CD5CB1 #78CD5C #5CCDB0
monochromatic
#86296F #B43795 #CD5CB1 #DB8BC7 #EABADE

Accessibility & contrast

On white

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

On black

5.76
#CD5CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CB1
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CB1#FFFFFF#000000##000000
##CD5CB11.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB4
Deuteranopia (green-blind)
#808CAE
Tritanopia (blue-blind)
#D7607F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd5cb1;
/* rgb */ color: rgb(205, 92, 177);
/* oklch */ color: oklch(64.2% 0.174 338.0);
Tailwind
colors: {
  custom: {
    50: '#df8fc8',
    500: '#cd5cb1',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cb1;
$custom-light: #df8fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cb1",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 177
  },
  "hsl": {
    "h": 314.867,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64235,
    "c": 0.17394,
    "h": 338
  },
  "luminance": 0.23808
}

Semantic roles & 50–950 ramp

primary
#CD5CB1
secondary
#ACD9B7
accent
#DC6F4B
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#150D13
muted
#847E82

Preview Lab

Preview with #CD5CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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