#DC5787#DC5787

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

Color values

HEX#DC5787
RGBrgb(220, 87, 135)
HSLhsl(338, 66%, 60%)
HSVhsv(338, 60%, 86%)
CMYKcmyk(0%, 60.5%, 38.6%, 13.7%)
CIE-LABlab(55.87, 56.27, 0.57)
CIE-LCHlch(55.87, 56.27, 0.58°)
OKLaboklab(64.19% 0.1718 0.0022)
OKLCHoklch(64.19% 0.172 0.7)
XYZxyz(37.2989, 23.7855, 25.5438)
Luminance0.2378 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5787 #57DCAC
analogous
#DC57C9 #DC5787 #DC6A57
triadic
#DC5787 #87DC57 #5787DC
tetradic
#DC5787 #C9DC57 #57DCAC #6A57DC
square
#DC5787 #C9DC57 #57DCAC #6A57DC
split-complementary
#DC5787 #57DC6A #57C9DC
monochromatic
#99204B #CB2A64 #DC5787 #E78AAB #F1BCCF

Accessibility & contrast

On white

3.65
#DC5787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC5787#FFFFFF#000000##000000
##DC57871.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7688
Deuteranopia (green-blind)
#938F84
Tritanopia (blue-blind)
#ED4A6A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #dc5787;
/* rgb */ color: rgb(220, 87, 135);
/* oklch */ color: oklch(64.2% 0.172 0.7);
Tailwind
colors: {
  custom: {
    50: '#eb8da9',
    500: '#dc5787',
    950: '#000000',
  },
}
SCSS
$custom: #dc5787;
$custom-light: #eb8da9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5787",
  "rgb": {
    "r": 220,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 338.346,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64191,
    "c": 0.17178,
    "h": 0.7
  },
  "luminance": 0.23781
}

Semantic roles & 50–950 ramp

primary
#DC5787
secondary
#AEE1CE
accent
#CD8C18
background
#FFF8FA
surface
#FEF0F4
border
#D6CBCE
text
#170D0F
muted
#857D7F

Preview Lab

Preview with #DC5787

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

Preview Lab → · Contrast checker → · Palette generator →

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