#DF56B2#DF56B2

#DF56B2 is a light, vivid pink. Relative luminance 0.256; OKLCH L 66.0% C 0.197 H 342.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#DF56B2
RGBrgb(223, 86, 178)
HSLhsl(320, 68%, 61%)
HSVhsv(320, 61%, 87%)
CMYKcmyk(0%, 61.4%, 20.2%, 12.5%)
CIE-LABlab(57.62, 62.90, -21.87)
CIE-LCHlch(57.62, 66.59, 340.82°)
OKLaboklab(66.05% 0.1881 -0.0584)
OKLCHoklch(66.05% 0.197 342.7)
XYZxyz(41.7963, 25.5617, 44.8435)
Luminance0.2556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF56B2 #56DF83
analogous
#C756DF #DF56B2 #DF566D
triadic
#DF56B2 #B2DF56 #56B2DF
tetradic
#DF56B2 #DFC756 #56DF83 #566DDF
square
#DF56B2 #DFC756 #56DF83 #566DDF
split-complementary
#DF56B2 #6DDF56 #56DFC7
monochromatic
#9D1E73 #D02799 #DF56B2 #E989C9 #F2BDE1

Accessibility & contrast

On white

3.44
#DF56B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#DF56B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF56B2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF56B2#FFFFFF#000000##000000
##DF56B21.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#617CB5
Deuteranopia (green-blind)
#8993AF
Tritanopia (blue-blind)
#EC577C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #df56b2;
/* rgb */ color: rgb(223, 86, 178);
/* oklch */ color: oklch(66.0% 0.197 342.7);
Tailwind
colors: {
  custom: {
    50: '#ec8dc9',
    500: '#df56b2',
    950: '#000000',
  },
}
SCSS
$custom: #df56b2;
$custom-light: #ec8dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#df56b2",
  "rgb": {
    "r": 223,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 319.708,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66047,
    "c": 0.19693,
    "h": 342.7
  },
  "luminance": 0.25558
}

Semantic roles & 50–950 ramp

primary
#DF56B2
secondary
#AEE2BF
accent
#D05315
background
#FEF9FC
surface
#FDF1F8
border
#D5CBD1
text
#170D13
muted
#857E82

Preview Lab

Preview with #DF56B2

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

Preview Lab → · Contrast checker → · Palette generator →

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