#DF5798#DF5798

#DF5798 is a light, vivid pink. Relative luminance 0.248; OKLCH L 65.2% C 0.181 H 353.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#DF5798
RGBrgb(223, 87, 152)
HSLhsl(331, 68%, 61%)
HSVhsv(331, 61%, 87%)
CMYKcmyk(0%, 61%, 31.8%, 12.5%)
CIE-LABlab(56.86, 59.12, -7.91)
CIE-LCHlch(56.86, 59.65, 352.38°)
OKLaboklab(65.18% 0.1801 -0.0202)
OKLCHoklch(65.18% 0.181 353.6)
XYZxyz(39.5091, 24.7755, 32.4011)
Luminance0.2477 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5798 #57DF9E
analogous
#DF57DC #DF5798 #DF5A57
triadic
#DF5798 #98DF57 #5798DF
tetradic
#DF5798 #DCDF57 #57DF9E #5A57DF
square
#DF5798 #DCDF57 #57DF9E #5A57DF
split-complementary
#DF5798 #57DF5A #57DCDF
monochromatic
#9E1E5B #D12879 #DF5798 #E98AB8 #F3BED7

Accessibility & contrast

On white

3.53
#DF5798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#DF5798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5798
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5798#FFFFFF#000000##000000
##DF57981.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B799A
Deuteranopia (green-blind)
#919295
Tritanopia (blue-blind)
#EF4F71
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #df5798;
/* rgb */ color: rgb(223, 87, 152);
/* oklch */ color: oklch(65.2% 0.181 353.6);
Tailwind
colors: {
  custom: {
    50: '#ed8db6',
    500: '#df5798',
    950: '#000000',
  },
}
SCSS
$custom: #df5798;
$custom-light: #ed8db6;
$custom-dark: #000000;
JSON
{
  "hex": "#df5798",
  "rgb": {
    "r": 223,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 331.324,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65182,
    "c": 0.18122,
    "h": 353.6
  },
  "luminance": 0.24771
}

Semantic roles & 50–950 ramp

primary
#DF5798
secondary
#AFE3CA
accent
#D07716
background
#FFF9FB
surface
#FEF1F6
border
#D6CBD0
text
#170D11
muted
#857E80

Preview Lab

Preview with #DF5798

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

Preview Lab → · Contrast checker → · Palette generator →

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