#CD5498#CD5498

#CD5498 is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.2% C 0.170 H 348.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#CD5498
RGBrgb(205, 84, 152)
HSLhsl(326, 55%, 57%)
HSVhsv(326, 59%, 80%)
CMYKcmyk(0%, 59%, 25.9%, 19.6%)
CIE-LABlab(53.59, 55.04, -13.09)
CIE-LCHlch(53.59, 56.57, 346.62°)
OKLaboklab(62.22% 0.1663 -0.0343)
OKLCHoklch(62.22% 0.17 348.3)
XYZxyz(34.0159, 21.5900, 32.0755)
Luminance0.2159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5498 #54CD89
analogous
#C654CD #CD5498 #CD545C
triadic
#CD5498 #98CD54 #5498CD
tetradic
#CD5498 #CDC654 #54CD89 #545CCD
square
#CD5498 #CDC654 #54CD89 #545CCD
split-complementary
#CD5498 #5CCD54 #54CDC6
monochromatic
#812659 #B0347A #CD5498 #DB83B5 #E9B3D1

Accessibility & contrast

On white

3.95
#CD5498 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#CD5498 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5498
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5498#FFFFFF#000000##000000
##CD54981.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#62739A
Deuteranopia (green-blind)
#848895
Tritanopia (blue-blind)
#DA506F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd5498;
/* rgb */ color: rgb(205, 84, 152);
/* oklch */ color: oklch(62.2% 0.170 348.3);
Tailwind
colors: {
  custom: {
    50: '#e08ab6',
    500: '#cd5498',
    950: '#000000',
  },
}
SCSS
$custom: #cd5498;
$custom-light: #e08ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5498",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 152
  },
  "hsl": {
    "h": 326.281,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62217,
    "c": 0.1698,
    "h": 348.3
  },
  "luminance": 0.21587
}

Semantic roles & 50–950 ramp

primary
#CD5498
secondary
#A6D7BB
accent
#DE8B4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD5498

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

Preview Lab → · Contrast checker → · Palette generator →

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