#DC5791#DC5791

#DC5791 is a light, vivid pink. Relative luminance 0.241; OKLCH L 64.5% C 0.175 H 356.0°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#DC5791
RGBrgb(220, 87, 145)
HSLhsl(334, 66%, 60%)
HSVhsv(334, 60%, 86%)
CMYKcmyk(0%, 60.5%, 34.1%, 13.7%)
CIE-LABlab(56.17, 57.39, -4.88)
CIE-LCHlch(56.17, 57.60, 355.14°)
OKLaboklab(64.51% 0.175 -0.0121)
OKLCHoklch(64.51% 0.175 356)
XYZxyz(38.0363, 24.0804, 29.4274)
Luminance0.2408 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5791 #57DCA2
analogous
#DC57D3 #DC5791 #DC6057
triadic
#DC5791 #91DC57 #5791DC
tetradic
#DC5791 #D3DC57 #57DCA2 #6057DC
square
#DC5791 #D3DC57 #57DCA2 #6057DC
split-complementary
#DC5791 #57DC60 #57D3DC
monochromatic
#992055 #CB2A71 #DC5791 #E78AB2 #F1BCD3

Accessibility & contrast

On white

3.61
#DC5791 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#DC5791 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5791
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5791#FFFFFF#000000##000000
##DC57911.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7793
Deuteranopia (green-blind)
#90908E
Tritanopia (blue-blind)
#EC4D6E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #dc5791;
/* rgb */ color: rgb(220, 87, 145);
/* oklch */ color: oklch(64.5% 0.175 356.0);
Tailwind
colors: {
  custom: {
    50: '#eb8db1',
    500: '#dc5791',
    950: '#000000',
  },
}
SCSS
$custom: #dc5791;
$custom-light: #eb8db1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5791",
  "rgb": {
    "r": 220,
    "g": 87,
    "b": 145
  },
  "hsl": {
    "h": 333.835,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64509,
    "c": 0.17546,
    "h": 356
  },
  "luminance": 0.24076
}

Semantic roles & 50–950 ramp

primary
#DC5791
secondary
#AEE1CB
accent
#CD7E18
background
#FEF9FA
surface
#FDF1F5
border
#D5CBCF
text
#170D10
muted
#857E7F

Preview Lab

Preview with #DC5791

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

Preview Lab → · Contrast checker → · Palette generator →

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