#DC5796#DC5796

#DC5796 is a light, vivid pink. Relative luminance 0.242; OKLCH L 64.7% C 0.178 H 353.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#DC5796
RGBrgb(220, 87, 150)
HSLhsl(332, 66%, 60%)
HSVhsv(332, 60%, 86%)
CMYKcmyk(0%, 60.5%, 31.8%, 13.7%)
CIE-LABlab(56.33, 57.98, -7.58)
CIE-LCHlch(56.33, 58.47, 352.55°)
OKLaboklab(64.68% 0.1766 -0.0193)
OKLCHoklch(64.68% 0.178 353.8)
XYZxyz(38.4303, 24.2380, 31.5028)
Luminance0.2423 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5796 #57DC9D
analogous
#DC57D8 #DC5796 #DC5B57
triadic
#DC5796 #96DC57 #5796DC
tetradic
#DC5796 #D8DC57 #57DC9D #5B57DC
square
#DC5796 #D8DC57 #57DC9D #5B57DC
split-complementary
#DC5796 #57DC5B #57D8DC
monochromatic
#992059 #CB2A77 #DC5796 #E78AB6 #F1BCD5

Accessibility & contrast

On white

3.59
#DC5796 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#DC5796 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5796
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5796#FFFFFF#000000##000000
##DC57961.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7898
Deuteranopia (green-blind)
#8F9093
Tritanopia (blue-blind)
#EC4F70
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #dc5796;
/* rgb */ color: rgb(220, 87, 150);
/* oklch */ color: oklch(64.7% 0.178 353.8);
Tailwind
colors: {
  custom: {
    50: '#eb8db4',
    500: '#dc5796',
    950: '#000000',
  },
}
SCSS
$custom: #dc5796;
$custom-light: #eb8db4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5796",
  "rgb": {
    "r": 220,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 331.579,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64677,
    "c": 0.17762,
    "h": 353.8
  },
  "luminance": 0.24234
}

Semantic roles & 50–950 ramp

primary
#DC5796
secondary
#AEE1C9
accent
#CD7818
background
#FEF9FB
surface
#FDF1F6
border
#D5CBD0
text
#170D11
muted
#857E80

Preview Lab

Preview with #DC5796

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

Preview Lab → · Contrast checker → · Palette generator →

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