#DC5788#DC5788

#DC5788 is a light, vivid pink. Relative luminance 0.238; OKLCH L 64.2% C 0.172 H 0.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#DC5788
RGBrgb(220, 87, 136)
HSLhsl(338, 66%, 60%)
HSVhsv(338, 60%, 86%)
CMYKcmyk(0%, 60.5%, 38.2%, 13.7%)
CIE-LABlab(55.90, 56.38, 0.02)
CIE-LCHlch(55.90, 56.38, 0.02°)
OKLaboklab(64.22% 0.1721 0.0007)
OKLCHoklch(64.22% 0.172 0.2)
XYZxyz(37.3696, 23.8138, 25.9163)
Luminance0.2381 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5788 #57DCAB
analogous
#DC57CA #DC5788 #DC6957
triadic
#DC5788 #88DC57 #5788DC
tetradic
#DC5788 #CADC57 #57DCAB #6957DC
square
#DC5788 #CADC57 #57DCAB #6957DC
split-complementary
#DC5788 #57DC69 #57CADC
monochromatic
#99204C #CB2A66 #DC5788 #E78AAC #F1BCD0

Accessibility & contrast

On white

3.64
#DC5788 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#DC5788 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5788
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5788#FFFFFF#000000##000000
##DC57881.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7689
Deuteranopia (green-blind)
#928F85
Tritanopia (blue-blind)
#ED4A6A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #dc5788;
/* rgb */ color: rgb(220, 87, 136);
/* oklch */ color: oklch(64.2% 0.172 0.2);
Tailwind
colors: {
  custom: {
    50: '#eb8daa',
    500: '#dc5788',
    950: '#000000',
  },
}
SCSS
$custom: #dc5788;
$custom-light: #eb8daa;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5788",
  "rgb": {
    "r": 220,
    "g": 87,
    "b": 136
  },
  "hsl": {
    "h": 337.895,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64222,
    "c": 0.17211,
    "h": 0.2
  },
  "luminance": 0.2381
}

Semantic roles & 50–950 ramp

primary
#DC5788
secondary
#AEE1CE
accent
#CD8B18
background
#FFF8FA
surface
#FEF0F4
border
#D6CBCE
text
#170D10
muted
#857D7F

Preview Lab

Preview with #DC5788

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

Preview Lab → · Contrast checker → · Palette generator →

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