#DF51A7#DF51A7

#DF51A7 is a light, vivid pink. Relative luminance 0.244; OKLCH L 65.1% C 0.197 H 346.6°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#DF51A7
RGBrgb(223, 81, 167)
HSLhsl(324, 69%, 60%)
HSVhsv(324, 64%, 87%)
CMYKcmyk(0%, 63.7%, 25.1%, 12.5%)
CIE-LABlab(56.45, 63.49, -17.27)
CIE-LCHlch(56.45, 65.80, 344.78°)
OKLaboklab(65.05% 0.1919 -0.0456)
OKLCHoklch(65.05% 0.197 346.6)
XYZxyz(40.3505, 24.3669, 39.1300)
Luminance0.2436 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51A7 #51DF89
analogous
#D051DF #DF51A7 #DF5160
triadic
#DF51A7 #A7DF51 #51A7DF
tetradic
#DF51A7 #DFD051 #51DF89 #5160DF
square
#DF51A7 #DFD051 #51DF89 #5160DF
split-complementary
#DF51A7 #60DF51 #51DFD0
monochromatic
#991C68 #CD268B #DF51A7 #E985C1 #F2B8DB

Accessibility & contrast

On white

3.58
#DF51A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#DF51A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51A7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51A7#FFFFFF#000000##000000
##DF51A71.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6178AA
Deuteranopia (green-blind)
#8A90A4
Tritanopia (blue-blind)
#EE4E75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #df51a7;
/* rgb */ color: rgb(223, 81, 167);
/* oklch */ color: oklch(65.1% 0.197 346.6);
Tailwind
colors: {
  custom: {
    50: '#ed8ac1',
    500: '#df51a7',
    950: '#000000',
  },
}
SCSS
$custom: #df51a7;
$custom-light: #ed8ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#df51a7",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 167
  },
  "hsl": {
    "h": 323.662,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65054,
    "c": 0.1972,
    "h": 346.6
  },
  "luminance": 0.24363
}

Semantic roles & 50–950 ramp

primary
#DF51A7
secondary
#AAE1C0
accent
#EC813C
background
#FFF8FB
surface
#FEF0F7
border
#D6CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #DF51A7

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

Preview Lab → · Contrast checker → · Palette generator →

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