#DF51A4#DF51A4

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

Color values

HEX#DF51A4
RGBrgb(223, 81, 164)
HSLhsl(325, 69%, 60%)
HSVhsv(325, 64%, 87%)
CMYKcmyk(0%, 63.7%, 26.5%, 12.5%)
CIE-LABlab(56.34, 63.10, -15.69)
CIE-LCHlch(56.34, 65.02, 346.04°)
OKLaboklab(64.94% 0.1911 -0.0413)
OKLCHoklch(64.94% 0.196 347.8)
XYZxyz(40.0763, 24.2572, 37.6863)
Luminance0.2425 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51A4 #51DF8C
analogous
#D351DF #DF51A4 #DF515D
triadic
#DF51A4 #A4DF51 #51A4DF
tetradic
#DF51A4 #DFD351 #51DF8C #515DDF
square
#DF51A4 #DFD351 #51DF8C #515DDF
split-complementary
#DF51A4 #5DDF51 #51DFD3
monochromatic
#991C65 #CD2688 #DF51A4 #E985BF #F2B8DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DF51A4#FFFFFF#000000##000000
##DF51A41.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)
#6277A6
Deuteranopia (green-blind)
#8B90A1
Tritanopia (blue-blind)
#EE4D74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #df51a4;
/* rgb */ color: rgb(223, 81, 164);
/* oklch */ color: oklch(64.9% 0.196 347.8);
Tailwind
colors: {
  custom: {
    50: '#ed8abf',
    500: '#df51a4',
    950: '#000000',
  },
}
SCSS
$custom: #df51a4;
$custom-light: #ed8abf;
$custom-dark: #000000;
JSON
{
  "hex": "#df51a4",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 164
  },
  "hsl": {
    "h": 324.93,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64938,
    "c": 0.19552,
    "h": 347.8
  },
  "luminance": 0.24253
}

Semantic roles & 50–950 ramp

primary
#DF51A4
secondary
#AAE1C1
accent
#EC853C
background
#FFF8FB
surface
#FEF0F7
border
#D6CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #DF51A4

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

Preview Lab → · Contrast checker → · Palette generator →

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