#CD5398#CD5398

#CD5398 is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.1% C 0.171 H 348.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#CD5398
RGBrgb(205, 83, 152)
HSLhsl(326, 55%, 56%)
HSVhsv(326, 60%, 80%)
CMYKcmyk(0%, 59.5%, 25.9%, 19.6%)
CIE-LABlab(53.42, 55.48, -13.35)
CIE-LCHlch(53.42, 57.07, 346.48°)
OKLaboklab(62.09% 0.1677 -0.035)
OKLCHoklch(62.09% 0.171 348.2)
XYZxyz(33.9389, 21.4359, 32.0498)
Luminance0.2143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5398 #53CD88
analogous
#C553CD #CD5398 #CD535B
triadic
#CD5398 #98CD53 #5398CD
tetradic
#CD5398 #CDC553 #53CD88 #535BCD
square
#CD5398 #CDC553 #53CD88 #535BCD
split-complementary
#CD5398 #5BCD53 #53CDC5
monochromatic
#802559 #B0337A #CD5398 #DB82B4 #E9B2D1

Accessibility & contrast

On white

3.97
#CD5398 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#CD5398 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5398
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5398#FFFFFF#000000##000000
##CD53981.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#61729A
Deuteranopia (green-blind)
#838795
Tritanopia (blue-blind)
#DA4F6F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd5398;
/* rgb */ color: rgb(205, 83, 152);
/* oklch */ color: oklch(62.1% 0.171 348.2);
Tailwind
colors: {
  custom: {
    50: '#e089b6',
    500: '#cd5398',
    950: '#000000',
  },
}
SCSS
$custom: #cd5398;
$custom-light: #e089b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5398",
  "rgb": {
    "r": 205,
    "g": 83,
    "b": 152
  },
  "hsl": {
    "h": 326.066,
    "s": 54.955,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62094,
    "c": 0.17129,
    "h": 348.2
  },
  "luminance": 0.21433
}

Semantic roles & 50–950 ramp

primary
#CD5398
secondary
#A5D7BB
accent
#DE8A4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD5398

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

Preview Lab → · Contrast checker → · Palette generator →

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