#CD5998#CD5998

#CD5998 is a light, vivid pink. Relative luminance 0.224; OKLCH L 62.8% C 0.162 H 349.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#CD5998
RGBrgb(205, 89, 152)
HSLhsl(327, 54%, 58%)
HSVhsv(327, 57%, 80%)
CMYKcmyk(0%, 56.6%, 25.9%, 19.6%)
CIE-LABlab(54.44, 52.75, -11.81)
CIE-LCHlch(54.44, 54.06, 347.38°)
OKLaboklab(62.85% 0.1593 -0.0309)
OKLCHoklch(62.85% 0.162 349)
XYZxyz(34.4180, 22.3941, 32.2095)
Luminance0.2239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5998 #59CD8E
analogous
#C859CD #CD5998 #CD595E
triadic
#CD5998 #98CD59 #5998CD
tetradic
#CD5998 #CDC859 #59CD8E #595ECD
square
#CD5998 #CDC859 #59CD8E #595ECD
split-complementary
#CD5998 #5ECD59 #59CDC8
monochromatic
#84285A #B3367A #CD5998 #DB88B5 #E9B7D2

Accessibility & contrast

On white

3.83
#CD5998 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#CD5998 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5998
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5998#FFFFFF#000000##000000
##CD59981.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#66769A
Deuteranopia (green-blind)
#868A95
Tritanopia (blue-blind)
#DA5572
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd5998;
/* rgb */ color: rgb(205, 89, 152);
/* oklch */ color: oklch(62.8% 0.162 349.0);
Tailwind
colors: {
  custom: {
    50: '#df8db6',
    500: '#cd5998',
    950: '#000000',
  },
}
SCSS
$custom: #cd5998;
$custom-light: #df8db6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5998",
  "rgb": {
    "r": 205,
    "g": 89,
    "b": 152
  },
  "hsl": {
    "h": 327.414,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.6285,
    "c": 0.16226,
    "h": 349
  },
  "luminance": 0.22391
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5998

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

Preview Lab → · Contrast checker → · Palette generator →

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