#DF51A2#DF51A2

#DF51A2 is a light, vivid pink. Relative luminance 0.242; OKLCH L 64.9% C 0.194 H 348.6°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#DF51A2
RGBrgb(223, 81, 162)
HSLhsl(326, 69%, 60%)
HSVhsv(326, 64%, 87%)
CMYKcmyk(0%, 63.7%, 27.4%, 12.5%)
CIE-LABlab(56.27, 62.85, -14.63)
CIE-LCHlch(56.27, 64.53, 346.89°)
OKLaboklab(64.86% 0.1906 -0.0383)
OKLCHoklch(64.86% 0.194 348.6)
XYZxyz(39.8971, 24.1856, 36.7425)
Luminance0.2418 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51A2 #51DF8E
analogous
#D551DF #DF51A2 #DF515B
triadic
#DF51A2 #A2DF51 #51A2DF
tetradic
#DF51A2 #DFD551 #51DF8E #515BDF
square
#DF51A2 #DFD551 #51DF8E #515BDF
split-complementary
#DF51A2 #5BDF51 #51DFD5
monochromatic
#991C64 #CD2685 #DF51A2 #E985BE #F2B8D9

Accessibility & contrast

On white

3.60
#DF51A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#DF51A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51A2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51A2#FFFFFF#000000##000000
##DF51A21.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6377A4
Deuteranopia (green-blind)
#8B909F
Tritanopia (blue-blind)
#EE4C73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #df51a2;
/* rgb */ color: rgb(223, 81, 162);
/* oklch */ color: oklch(64.9% 0.194 348.6);
Tailwind
colors: {
  custom: {
    50: '#ed8abd',
    500: '#df51a2',
    950: '#000000',
  },
}
SCSS
$custom: #df51a2;
$custom-light: #ed8abd;
$custom-dark: #000000;
JSON
{
  "hex": "#df51a2",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 325.775,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64862,
    "c": 0.19444,
    "h": 348.6
  },
  "luminance": 0.24181
}

Semantic roles & 50–950 ramp

primary
#DF51A2
secondary
#AAE1C2
accent
#EC883C
background
#FFF8FB
surface
#FEF0F6
border
#D6CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #DF51A2

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

Preview Lab → · Contrast checker → · Palette generator →

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