#CD5A98#CD5A98

#CD5A98 is a light, vivid pink. Relative luminance 0.226; OKLCH L 63.0% C 0.161 H 349.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#CD5A98
RGBrgb(205, 90, 152)
HSLhsl(328, 53%, 58%)
HSVhsv(328, 56%, 80%)
CMYKcmyk(0%, 56.1%, 25.9%, 19.6%)
CIE-LABlab(54.62, 52.29, -11.54)
CIE-LCHlch(54.62, 53.55, 347.55°)
OKLaboklab(62.98% 0.1579 -0.0301)
OKLCHoklch(62.98% 0.161 349.2)
XYZxyz(34.5017, 22.5616, 32.2374)
Luminance0.2256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5A98 #5ACD8F
analogous
#C85ACD #CD5A98 #CD5A5F
triadic
#CD5A98 #98CD5A #5A98CD
tetradic
#CD5A98 #CDC85A #5ACD8F #5A5FCD
square
#CD5A98 #CDC85A #5ACD8F #5A5FCD
split-complementary
#CD5A98 #5FCD5A #5ACDC8
monochromatic
#84285A #B3367A #CD5A98 #DB89B5 #E9B8D3

Accessibility & contrast

On white

3.81
#CD5A98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#CD5A98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5A98
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5A98#FFFFFF#000000##000000
##CD5A981.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#67769A
Deuteranopia (green-blind)
#878A95
Tritanopia (blue-blind)
#DA5672
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd5a98;
/* rgb */ color: rgb(205, 90, 152);
/* oklch */ color: oklch(63.0% 0.161 349.2);
Tailwind
colors: {
  custom: {
    50: '#df8db6',
    500: '#cd5a98',
    950: '#000000',
  },
}
SCSS
$custom: #cd5a98;
$custom-light: #df8db6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5a98",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 152
  },
  "hsl": {
    "h": 327.652,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62981,
    "c": 0.16073,
    "h": 349.2
  },
  "luminance": 0.22558
}

Semantic roles & 50–950 ramp

primary
#CD5A98
secondary
#AAD8C0
accent
#DD8E4B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160D11
muted
#847D80

Preview Lab

Preview with #CD5A98

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

Preview Lab → · Contrast checker → · Palette generator →

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