#DF5797#DF5797

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

Color values

HEX#DF5797
RGBrgb(223, 87, 151)
HSLhsl(332, 68%, 61%)
HSVhsv(332, 61%, 87%)
CMYKcmyk(0%, 61%, 32.3%, 12.5%)
CIE-LABlab(56.82, 59.00, -7.37)
CIE-LCHlch(56.82, 59.46, 352.88°)
OKLaboklab(65.15% 0.1798 -0.0187)
OKLCHoklch(65.15% 0.181 354)
XYZxyz(39.4275, 24.7429, 31.9716)
Luminance0.2474 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5797 #57DF9F
analogous
#DF57DB #DF5797 #DF5B57
triadic
#DF5797 #97DF57 #5797DF
tetradic
#DF5797 #DBDF57 #57DF9F #5B57DF
square
#DF5797 #DBDF57 #57DF9F #5B57DF
split-complementary
#DF5797 #57DF5B #57DBDF
monochromatic
#9E1E5A #D12877 #DF5797 #E98AB7 #F3BED7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DF5797#FFFFFF#000000##000000
##DF57971.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)
#6C7999
Deuteranopia (green-blind)
#919294
Tritanopia (blue-blind)
#EF4E70
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #df5797;
/* rgb */ color: rgb(223, 87, 151);
/* oklch */ color: oklch(65.1% 0.181 354.0);
Tailwind
colors: {
  custom: {
    50: '#ed8db5',
    500: '#df5797',
    950: '#000000',
  },
}
SCSS
$custom: #df5797;
$custom-light: #ed8db5;
$custom-dark: #000000;
JSON
{
  "hex": "#df5797",
  "rgb": {
    "r": 223,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 331.765,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65148,
    "c": 0.18076,
    "h": 354
  },
  "luminance": 0.24739
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF5797

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

Preview Lab → · Contrast checker → · Palette generator →

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