#CD5B97#CD5B97

#CD5B97 is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.1% C 0.159 H 349.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#CD5B97
RGBrgb(205, 91, 151)
HSLhsl(328, 53%, 58%)
HSVhsv(328, 56%, 80%)
CMYKcmyk(0%, 55.6%, 26.3%, 19.6%)
CIE-LABlab(54.76, 51.68, -10.74)
CIE-LCHlch(54.76, 52.79, 348.26°)
OKLaboklab(63.08% 0.1562 -0.028)
OKLCHoklch(63.08% 0.159 349.8)
XYZxyz(34.5051, 22.6988, 31.8362)
Luminance0.2270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5B97 #5BCD91
analogous
#CA5BCD #CD5B97 #CD5B5E
triadic
#CD5B97 #97CD5B #5B97CD
tetradic
#CD5B97 #CDCA5B #5BCD91 #5B5ECD
square
#CD5B97 #CDCA5B #5BCD91 #5B5ECD
split-complementary
#CD5B97 #5ECD5B #5BCDCA
monochromatic
#852959 #B43779 #CD5B97 #DB8AB5 #EAB9D2

Accessibility & contrast

On white

3.79
#CD5B97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#CD5B97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5B97
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5B97#FFFFFF#000000##000000
##CD5B971.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#687799
Deuteranopia (green-blind)
#878A94
Tritanopia (blue-blind)
#DA5772
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd5b97;
/* rgb */ color: rgb(205, 91, 151);
/* oklch */ color: oklch(63.1% 0.159 349.8);
Tailwind
colors: {
  custom: {
    50: '#df8eb5',
    500: '#cd5b97',
    950: '#000000',
  },
}
SCSS
$custom: #cd5b97;
$custom-light: #df8eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5b97",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 151
  },
  "hsl": {
    "h": 328.421,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63076,
    "c": 0.15864,
    "h": 349.8
  },
  "luminance": 0.22696
}

Semantic roles & 50–950 ramp

primary
#CD5B97
secondary
#ABD9C1
accent
#DD904B
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#160D11
muted
#847E80

Preview Lab

Preview with #CD5B97

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

Preview Lab → · Contrast checker → · Palette generator →

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