#DF5791#DF5791

#DF5791 is a light, vivid pink. Relative luminance 0.245; OKLCH L 64.9% C 0.178 H 356.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#DF5791
RGBrgb(223, 87, 145)
HSLhsl(334, 68%, 61%)
HSVhsv(334, 61%, 87%)
CMYKcmyk(0%, 61%, 35%, 12.5%)
CIE-LABlab(56.64, 58.30, -4.13)
CIE-LCHlch(56.64, 58.45, 355.94°)
OKLaboklab(64.95% 0.1779 -0.0101)
OKLCHoklch(64.95% 0.178 356.7)
XYZxyz(38.9526, 24.5529, 29.4704)
Luminance0.2455 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5791 #57DFA5
analogous
#DF57D5 #DF5791 #DF6157
triadic
#DF5791 #91DF57 #5791DF
tetradic
#DF5791 #D5DF57 #57DFA5 #6157DF
square
#DF5791 #D5DF57 #57DFA5 #6157DF
split-complementary
#DF5791 #57DF61 #57D5DF
monochromatic
#9E1E54 #D12870 #DF5791 #E98AB3 #F3BED4

Accessibility & contrast

On white

3.55
#DF5791 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#DF5791 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5791
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5791#FFFFFF#000000##000000
##DF57911.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7893
Deuteranopia (green-blind)
#92918E
Tritanopia (blue-blind)
#F04C6E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #df5791;
/* rgb */ color: rgb(223, 87, 145);
/* oklch */ color: oklch(64.9% 0.178 356.7);
Tailwind
colors: {
  custom: {
    50: '#ed8db1',
    500: '#df5791',
    950: '#000000',
  },
}
SCSS
$custom: #df5791;
$custom-light: #ed8db1;
$custom-dark: #000000;
JSON
{
  "hex": "#df5791",
  "rgb": {
    "r": 223,
    "g": 87,
    "b": 145
  },
  "hsl": {
    "h": 334.412,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64948,
    "c": 0.17823,
    "h": 356.7
  },
  "luminance": 0.24549
}

Semantic roles & 50–950 ramp

primary
#DF5791
secondary
#AFE3CD
accent
#D08016
background
#FFF9FA
surface
#FEF1F5
border
#D6CBCF
text
#170D10
muted
#857E7F

Preview Lab

Preview with #DF5791

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

Preview Lab → · Contrast checker → · Palette generator →

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