#DF51A1#DF51A1

#DF51A1 is a light, vivid pink. Relative luminance 0.241; OKLCH L 64.8% C 0.194 H 349.0°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#DF51A1
RGBrgb(223, 81, 161)
HSLhsl(326, 69%, 60%)
HSVhsv(326, 64%, 87%)
CMYKcmyk(0%, 63.7%, 27.8%, 12.5%)
CIE-LABlab(56.24, 62.73, -14.10)
CIE-LCHlch(56.24, 64.29, 347.33°)
OKLaboklab(64.83% 0.1904 -0.0369)
OKLCHoklch(64.83% 0.194 349)
XYZxyz(39.8086, 24.1501, 36.2763)
Luminance0.2415 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51A1 #51DF8F
analogous
#D651DF #DF51A1 #DF515A
triadic
#DF51A1 #A1DF51 #51A1DF
tetradic
#DF51A1 #DFD651 #51DF8F #515ADF
square
#DF51A1 #DFD651 #51DF8F #515ADF
split-complementary
#DF51A1 #5ADF51 #51DFD6
monochromatic
#991C63 #CD2684 #DF51A1 #E985BD #F2B8D9

Accessibility & contrast

On white

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

On black

5.83
#DF51A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51A1
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51A1#FFFFFF#000000##000000
##DF51A11.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6377A3
Deuteranopia (green-blind)
#8C909E
Tritanopia (blue-blind)
#EE4C72
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #df51a1;
/* rgb */ color: rgb(223, 81, 161);
/* oklch */ color: oklch(64.8% 0.194 349.0);
Tailwind
colors: {
  custom: {
    50: '#ed8abc',
    500: '#df51a1',
    950: '#000000',
  },
}
SCSS
$custom: #df51a1;
$custom-light: #ed8abc;
$custom-dark: #000000;
JSON
{
  "hex": "#df51a1",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 161
  },
  "hsl": {
    "h": 326.197,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64825,
    "c": 0.1939,
    "h": 349
  },
  "luminance": 0.24146
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF51A1

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

Preview Lab → · Contrast checker → · Palette generator →

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