#CD5BA1#CD5BA1

#CD5BA1 is a light, vivid pink. Relative luminance 0.230; OKLCH L 63.5% C 0.165 H 345.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#CD5BA1
RGBrgb(205, 91, 161)
HSLhsl(323, 53%, 58%)
HSVhsv(323, 56%, 80%)
CMYKcmyk(0%, 55.6%, 21.5%, 19.6%)
CIE-LABlab(55.11, 53.07, -16.07)
CIE-LCHlch(55.11, 55.45, 343.15°)
OKLaboklab(63.45% 0.1589 -0.0426)
OKLCHoklch(63.45% 0.165 345)
XYZxyz(35.3519, 23.0376, 36.2961)
Luminance0.2303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5BA1 #5BCD87
analogous
#C05BCD #CD5BA1 #CD5B68
triadic
#CD5BA1 #A1CD5B #5BA1CD
tetradic
#CD5BA1 #CDC05B #5BCD87 #5B68CD
square
#CD5BA1 #CDC05B #5BCD87 #5B68CD
split-complementary
#CD5BA1 #68CD5B #5BCDC0
monochromatic
#852961 #B43784 #CD5BA1 #DB8ABC #EAB9D7

Accessibility & contrast

On white

3.75
#CD5BA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#CD5BA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5BA1
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5BA1#FFFFFF#000000##000000
##CD5BA11.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6578A3
Deuteranopia (green-blind)
#858B9E
Tritanopia (blue-blind)
#D95A77
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd5ba1;
/* rgb */ color: rgb(205, 91, 161);
/* oklch */ color: oklch(63.5% 0.165 345.0);
Tailwind
colors: {
  custom: {
    50: '#df8ebd',
    500: '#cd5ba1',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ba1;
$custom-light: #df8ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ba1",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 161
  },
  "hsl": {
    "h": 323.158,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63451,
    "c": 0.16451,
    "h": 345
  },
  "luminance": 0.23035
}

Semantic roles & 50–950 ramp

primary
#CD5BA1
secondary
#ABD9BD
accent
#DD834B
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #CD5BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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