#CD5C98#CD5C98

#CD5C98 is a light, vivid pink. Relative luminance 0.229; OKLCH L 63.2% C 0.158 H 349.5°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#CD5C98
RGBrgb(205, 92, 152)
HSLhsl(328, 53%, 58%)
HSVhsv(328, 55%, 80%)
CMYKcmyk(0%, 55.1%, 25.9%, 19.6%)
CIE-LABlab(54.97, 51.34, -11.01)
CIE-LCHlch(54.97, 52.51, 347.90°)
OKLaboklab(63.25% 0.155 -0.0287)
OKLCHoklch(63.25% 0.158 349.5)
XYZxyz(34.6727, 22.9036, 32.2944)
Luminance0.2290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5C98 #5CCD91
analogous
#CA5CCD #CD5C98 #CD5C5F
triadic
#CD5C98 #98CD5C #5C98CD
tetradic
#CD5C98 #CDCA5C #5CCD91 #5C5FCD
square
#CD5C98 #CDCA5C #5CCD91 #5C5FCD
split-complementary
#CD5C98 #5FCD5C #5CCDCA
monochromatic
#86295A #B4377A #CD5C98 #DB8BB6 #EABAD3

Accessibility & contrast

On white

3.76
#CD5C98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#CD5C98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5C98
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5C98#FFFFFF#000000##000000
##CD5C981.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#69779A
Deuteranopia (green-blind)
#888B95
Tritanopia (blue-blind)
#DA5873
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd5c98;
/* rgb */ color: rgb(205, 92, 152);
/* oklch */ color: oklch(63.2% 0.158 349.5);
Tailwind
colors: {
  custom: {
    50: '#df8fb6',
    500: '#cd5c98',
    950: '#000000',
  },
}
SCSS
$custom: #cd5c98;
$custom-light: #df8fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5c98",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 152
  },
  "hsl": {
    "h": 328.142,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63245,
    "c": 0.15764,
    "h": 349.5
  },
  "luminance": 0.229
}

Semantic roles & 50–950 ramp

primary
#CD5C98
secondary
#ACD9C1
accent
#DC8F4B
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#160D11
muted
#847E80

Preview Lab

Preview with #CD5C98

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

Preview Lab → · Contrast checker → · Palette generator →

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