#CD5B98#CD5B98

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

Color values

HEX#CD5B98
RGBrgb(205, 91, 152)
HSLhsl(328, 53%, 58%)
HSVhsv(328, 56%, 80%)
CMYKcmyk(0%, 55.6%, 25.9%, 19.6%)
CIE-LABlab(54.79, 51.82, -11.28)
CIE-LCHlch(54.79, 53.03, 347.72°)
OKLaboklab(63.11% 0.1564 -0.0294)
OKLCHoklch(63.11% 0.159 349.3)
XYZxyz(34.5866, 22.7315, 32.2657)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5B98 #5BCD90
analogous
#C95BCD #CD5B98 #CD5B5F
triadic
#CD5B98 #98CD5B #5B98CD
tetradic
#CD5B98 #CDC95B #5BCD90 #5B5FCD
square
#CD5B98 #CDC95B #5BCD90 #5B5FCD
split-complementary
#CD5B98 #5FCD5B #5BCDC9
monochromatic
#85295A #B4377A #CD5B98 #DB8AB5 #EAB9D3

Accessibility & contrast

On white

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

On black

5.55
#CD5B98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5B98
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5B98#FFFFFF#000000##000000
##CD5B981.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#68779A
Deuteranopia (green-blind)
#878B95
Tritanopia (blue-blind)
#DA5773
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd5b98;
/* rgb */ color: rgb(205, 91, 152);
/* oklch */ color: oklch(63.1% 0.159 349.3);
Tailwind
colors: {
  custom: {
    50: '#df8eb6',
    500: '#cd5b98',
    950: '#000000',
  },
}
SCSS
$custom: #cd5b98;
$custom-light: #df8eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5b98",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 152
  },
  "hsl": {
    "h": 327.895,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63112,
    "c": 0.15918,
    "h": 349.3
  },
  "luminance": 0.22728
}

Semantic roles & 50–950 ramp

primary
#CD5B98
secondary
#ABD9C0
accent
#DD8F4B
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#160D11
muted
#847E80

Preview Lab

Preview with #CD5B98

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

Preview Lab → · Contrast checker → · Palette generator →

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