#DF56C7#DF56C7

#DF56C7 is a light, highly saturated pink. Relative luminance 0.265; OKLCH L 67.0% C 0.211 H 335.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#DF56C7
RGBrgb(223, 86, 199)
HSLhsl(311, 68%, 61%)
HSVhsv(311, 61%, 87%)
CMYKcmyk(0%, 61.4%, 10.8%, 12.5%)
CIE-LABlab(58.48, 65.95, -32.59)
CIE-LCHlch(58.48, 73.57, 333.70°)
OKLaboklab(66.96% 0.1919 -0.0887)
OKLCHoklch(66.96% 0.211 335.2)
XYZxyz(44.0684, 26.4706, 56.8101)
Luminance0.2647 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF56C7 #56DF6E
analogous
#B256DF #DF56C7 #DF5682
triadic
#DF56C7 #C7DF56 #56C7DF
tetradic
#DF56C7 #DFB256 #56DF6E #5682DF
square
#DF56C7 #DFB256 #56DF6E #5682DF
split-complementary
#DF56C7 #82DF56 #56DFB2
monochromatic
#9D1E87 #D027B3 #DF56C7 #E989D8 #F2BDE9

Accessibility & contrast

On white

3.34
#DF56C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#DF56C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF56C7
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF56C7#FFFFFF#000000##000000
##DF56C71.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5680CA
Deuteranopia (green-blind)
#8194C3
Tritanopia (blue-blind)
#E95E87
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #df56c7;
/* rgb */ color: rgb(223, 86, 199);
/* oklch */ color: oklch(67.0% 0.211 335.2);
Tailwind
colors: {
  custom: {
    50: '#ec8ed8',
    500: '#df56c7',
    950: '#000000',
  },
}
SCSS
$custom: #df56c7;
$custom-light: #ec8ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#df56c7",
  "rgb": {
    "r": 223,
    "g": 86,
    "b": 199
  },
  "hsl": {
    "h": 310.511,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66962,
    "c": 0.21135,
    "h": 335.2
  },
  "luminance": 0.26467
}

Semantic roles & 50–950 ramp

primary
#DF56C7
secondary
#AEE2B7
accent
#D03615
background
#FEF9FD
surface
#FDF1FA
border
#D5CBD3
text
#170D14
muted
#857E83

Preview Lab

Preview with #DF56C7

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

Preview Lab → · Contrast checker → · Palette generator →

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