#CD5799#CD5799

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

Color values

HEX#CD5799
RGBrgb(205, 87, 153)
HSLhsl(326, 54%, 57%)
HSVhsv(326, 58%, 80%)
CMYKcmyk(0%, 57.6%, 25.4%, 19.6%)
CIE-LABlab(54.13, 53.81, -12.87)
CIE-LCHlch(54.13, 55.33, 346.55°)
OKLaboklab(62.63% 0.1624 -0.0337)
OKLCHoklch(62.63% 0.166 348.3)
XYZxyz(34.3360, 22.0986, 32.5879)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5799 #57CD8B
analogous
#C657CD #CD5799 #CD575E
triadic
#CD5799 #99CD57 #5799CD
tetradic
#CD5799 #CDC657 #57CD8B #575ECD
square
#CD5799 #CDC657 #57CD8B #575ECD
split-complementary
#CD5799 #5ECD57 #57CDC6
monochromatic
#83275A #B2357B #CD5799 #DB86B6 #E9B5D2

Accessibility & contrast

On white

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

On black

5.42
#CD5799 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5799
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5799#FFFFFF#000000##000000
##CD57991.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#64759B
Deuteranopia (green-blind)
#858996
Tritanopia (blue-blind)
#DA5471
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd5799;
/* rgb */ color: rgb(205, 87, 153);
/* oklch */ color: oklch(62.6% 0.166 348.3);
Tailwind
colors: {
  custom: {
    50: '#df8cb7',
    500: '#cd5799',
    950: '#000000',
  },
}
SCSS
$custom: #cd5799;
$custom-light: #df8cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5799",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 153
  },
  "hsl": {
    "h": 326.441,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62631,
    "c": 0.16587,
    "h": 348.3
  },
  "luminance": 0.22095
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5799

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

Preview Lab → · Contrast checker → · Palette generator →

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