#DF5787#DF5787

#DF5787 is a light, vivid pink. Relative luminance 0.243; OKLCH L 64.6% C 0.175 H 1.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#DF5787
RGBrgb(223, 87, 135)
HSLhsl(339, 68%, 61%)
HSVhsv(339, 61%, 87%)
CMYKcmyk(0%, 61%, 39.5%, 12.5%)
CIE-LABlab(56.35, 57.20, 1.31)
CIE-LCHlch(56.35, 57.22, 1.32°)
OKLaboklab(64.63% 0.1747 0.0041)
OKLCHoklch(64.63% 0.175 1.3)
XYZxyz(38.2152, 24.2580, 25.5867)
Luminance0.2425 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5787 #57DFAF
analogous
#DF57CB #DF5787 #DF6B57
triadic
#DF5787 #87DF57 #5787DF
tetradic
#DF5787 #CBDF57 #57DFAF #6B57DF
square
#DF5787 #CBDF57 #57DFAF #6B57DF
split-complementary
#DF5787 #57DF6B #57CBDF
monochromatic
#9E1E4B #D12864 #DF5787 #E98AAC #F3BED0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DF5787#FFFFFF#000000##000000
##DF57871.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)
#707788
Deuteranopia (green-blind)
#949184
Tritanopia (blue-blind)
#F1496A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #df5787;
/* rgb */ color: rgb(223, 87, 135);
/* oklch */ color: oklch(64.6% 0.175 1.3);
Tailwind
colors: {
  custom: {
    50: '#ed8da9',
    500: '#df5787',
    950: '#000000',
  },
}
SCSS
$custom: #df5787;
$custom-light: #ed8da9;
$custom-dark: #000000;
JSON
{
  "hex": "#df5787",
  "rgb": {
    "r": 223,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 338.824,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64635,
    "c": 0.1747,
    "h": 1.3
  },
  "luminance": 0.24254
}

Semantic roles & 50–950 ramp

primary
#DF5787
secondary
#AFE3D0
accent
#D08E16
background
#FFF9FA
surface
#FEF1F4
border
#D6CBCE
text
#170D0F
muted
#857E7F

Preview Lab

Preview with #DF5787

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

Preview Lab → · Contrast checker → · Palette generator →

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