#CD5BA6#CD5BA6

#CD5BA6 is a light, vivid pink. Relative luminance 0.232; OKLCH L 63.6% C 0.168 H 342.7°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#CD5BA6
RGBrgb(205, 91, 166)
HSLhsl(321, 53%, 58%)
HSVhsv(321, 56%, 80%)
CMYKcmyk(0%, 55.6%, 19%, 19.6%)
CIE-LABlab(55.30, 53.79, -18.70)
CIE-LCHlch(55.30, 56.95, 340.83°)
OKLaboklab(63.65% 0.1602 -0.0499)
OKLCHoklch(63.65% 0.168 342.7)
XYZxyz(35.8017, 23.2175, 38.6648)
Luminance0.2321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5BA6 #5BCD82
analogous
#BB5BCD #CD5BA6 #CD5B6D
triadic
#CD5BA6 #A6CD5B #5BA6CD
tetradic
#CD5BA6 #CDBB5B #5BCD82 #5B6DCD
square
#CD5BA6 #CDBB5B #5BCD82 #5B6DCD
split-complementary
#CD5BA6 #6DCD5B #5BCDBB
monochromatic
#852965 #B43789 #CD5BA6 #DB8ABF #EAB9D9

Accessibility & contrast

On white

3.72
#CD5BA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#CD5BA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5BA6
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5BA6#FFFFFF#000000##000000
##CD5BA61.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6379A8
Deuteranopia (green-blind)
#838BA3
Tritanopia (blue-blind)
#D95B79
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd5ba6;
/* rgb */ color: rgb(205, 91, 166);
/* oklch */ color: oklch(63.6% 0.168 342.7);
Tailwind
colors: {
  custom: {
    50: '#df8ec0',
    500: '#cd5ba6',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ba6;
$custom-light: #df8ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ba6",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 166
  },
  "hsl": {
    "h": 320.526,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63649,
    "c": 0.16775,
    "h": 342.7
  },
  "luminance": 0.23214
}

Semantic roles & 50–950 ramp

primary
#CD5BA6
secondary
#ABD9BB
accent
#DD7D4B
background
#FEF9FB
surface
#FCF1F7
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #CD5BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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