#CD5BAF#CD5BAF

#CD5BAF is a light, vivid pink. Relative luminance 0.236; OKLCH L 64.0% C 0.174 H 338.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#CD5BAF
RGBrgb(205, 91, 175)
HSLhsl(316, 53%, 58%)
HSVhsv(316, 56%, 80%)
CMYKcmyk(0%, 55.6%, 14.6%, 19.6%)
CIE-LABlab(55.64, 55.14, -23.40)
CIE-LCHlch(55.64, 59.90, 337.01°)
OKLaboklab(64.02% 0.1622 -0.063)
OKLCHoklch(64.02% 0.174 338.8)
XYZxyz(36.6563, 23.5593, 43.1659)
Luminance0.2356 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5BAF #5BCD79
analogous
#B25BCD #CD5BAF #CD5B76
triadic
#CD5BAF #AFCD5B #5BAFCD
tetradic
#CD5BAF #CDB25B #5BCD79 #5B76CD
square
#CD5BAF #CDB25B #5BCD79 #5B76CD
split-complementary
#CD5BAF #76CD5B #5BCDB2
monochromatic
#85296D #B43793 #CD5BAF #DB8AC6 #EAB9DD

Accessibility & contrast

On white

3.68
#CD5BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#CD5BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5BAF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5BAF#FFFFFF#000000##000000
##CD5BAF1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7AB2
Deuteranopia (green-blind)
#808CAC
Tritanopia (blue-blind)
#D75E7D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd5baf;
/* rgb */ color: rgb(205, 91, 175);
/* oklch */ color: oklch(64.0% 0.174 338.8);
Tailwind
colors: {
  custom: {
    50: '#df8ec7',
    500: '#cd5baf',
    950: '#000000',
  },
}
SCSS
$custom: #cd5baf;
$custom-light: #df8ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5baf",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 315.789,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64021,
    "c": 0.17403,
    "h": 338.8
  },
  "luminance": 0.23556
}

Semantic roles & 50–950 ramp

primary
#CD5BAF
secondary
#ABD9B7
accent
#DD714B
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #CD5BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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