#CD5298#CD5298

#CD5298 is a mid, vivid pink. Relative luminance 0.213; OKLCH L 62.0% C 0.173 H 348.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#CD5298
RGBrgb(205, 82, 152)
HSLhsl(326, 55%, 56%)
HSVhsv(326, 60%, 80%)
CMYKcmyk(0%, 60%, 25.9%, 19.6%)
CIE-LABlab(53.26, 55.93, -13.59)
CIE-LCHlch(53.26, 57.56, 346.34°)
OKLaboklab(61.97% 0.169 -0.0357)
OKLCHoklch(61.97% 0.173 348.1)
XYZxyz(33.8629, 21.2840, 32.0245)
Luminance0.2128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5298 #52CD87
analogous
#C552CD #CD5298 #CD525B
triadic
#CD5298 #98CD52 #5298CD
tetradic
#CD5298 #CDC552 #52CD87 #525BCD
square
#CD5298 #CDC552 #52CD87 #525BCD
split-complementary
#CD5298 #5BCD52 #52CDC5
monochromatic
#802559 #AF337A #CD5298 #DB81B4 #E8B1D1

Accessibility & contrast

On white

4.00
#CD5298 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#CD5298 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5298
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5298#FFFFFF#000000##000000
##CD52981.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#60729A
Deuteranopia (green-blind)
#838795
Tritanopia (blue-blind)
#DA4E6E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd5298;
/* rgb */ color: rgb(205, 82, 152);
/* oklch */ color: oklch(62.0% 0.173 348.1);
Tailwind
colors: {
  custom: {
    50: '#e089b6',
    500: '#cd5298',
    950: '#000000',
  },
}
SCSS
$custom: #cd5298;
$custom-light: #e089b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5298",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 152
  },
  "hsl": {
    "h": 325.854,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61972,
    "c": 0.17275,
    "h": 348.1
  },
  "luminance": 0.21281
}

Semantic roles & 50–950 ramp

primary
#CD5298
secondary
#A4D7BA
accent
#DE8A49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD5298

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

Preview Lab → · Contrast checker → · Palette generator →

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