#CD5798#CD5798

#CD5798 is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.6% C 0.165 H 348.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#CD5798
RGBrgb(205, 87, 152)
HSLhsl(327, 54%, 57%)
HSVhsv(327, 58%, 80%)
CMYKcmyk(0%, 57.6%, 25.9%, 19.6%)
CIE-LABlab(54.10, 53.68, -12.33)
CIE-LCHlch(54.10, 55.07, 347.06°)
OKLaboklab(62.59% 0.1621 -0.0323)
OKLCHoklch(62.59% 0.165 348.7)
XYZxyz(34.2538, 22.0657, 32.1548)
Luminance0.2206 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5798 #57CD8C
analogous
#C757CD #CD5798 #CD575D
triadic
#CD5798 #98CD57 #5798CD
tetradic
#CD5798 #CDC757 #57CD8C #575DCD
square
#CD5798 #CDC757 #57CD8C #575DCD
split-complementary
#CD5798 #5DCD57 #57CDC7
monochromatic
#832759 #B2357A #CD5798 #DB86B5 #E9B5D2

Accessibility & contrast

On white

3.88
#CD5798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#CD5798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5798
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5798#FFFFFF#000000##000000
##CD57981.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#65749A
Deuteranopia (green-blind)
#858995
Tritanopia (blue-blind)
#DA5371
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd5798;
/* rgb */ color: rgb(205, 87, 152);
/* oklch */ color: oklch(62.6% 0.165 348.7);
Tailwind
colors: {
  custom: {
    50: '#df8cb6',
    500: '#cd5798',
    950: '#000000',
  },
}
SCSS
$custom: #cd5798;
$custom-light: #df8cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5798",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 326.949,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62593,
    "c": 0.16531,
    "h": 348.7
  },
  "luminance": 0.22063
}

Semantic roles & 50–950 ramp

primary
#CD5798
secondary
#A8D8BD
accent
#DD8C4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD5798

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

Preview Lab → · Contrast checker → · Palette generator →

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