#DF51B5#DF51B5

#DF51B5 is a light, highly saturated pink. Relative luminance 0.249; OKLCH L 65.6% C 0.206 H 341.3°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#DF51B5
RGBrgb(223, 81, 181)
HSLhsl(318, 69%, 60%)
HSVhsv(318, 64%, 87%)
CMYKcmyk(0%, 63.7%, 18.8%, 12.5%)
CIE-LABlab(56.99, 65.36, -24.57)
CIE-LCHlch(56.99, 69.83, 339.40°)
OKLaboklab(65.62% 0.1949 -0.0659)
OKLCHoklch(65.62% 0.206 341.3)
XYZxyz(41.7154, 24.9129, 46.3188)
Luminance0.2491 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51B5 #51DF7B
analogous
#C251DF #DF51B5 #DF516E
triadic
#DF51B5 #B5DF51 #51B5DF
tetradic
#DF51B5 #DFC251 #51DF7B #516EDF
square
#DF51B5 #DFC251 #51DF7B #516EDF
split-complementary
#DF51B5 #6EDF51 #51DFC2
monochromatic
#991C74 #CD269C #DF51B5 #E985CB #F2B8E1

Accessibility & contrast

On white

3.51
#DF51B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#DF51B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51B5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51B5#FFFFFF#000000##000000
##DF51B51.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7AB8
Deuteranopia (green-blind)
#8691B2
Tritanopia (blue-blind)
#EC537C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #df51b5;
/* rgb */ color: rgb(223, 81, 181);
/* oklch */ color: oklch(65.6% 0.206 341.3);
Tailwind
colors: {
  custom: {
    50: '#ed8bcb',
    500: '#df51b5',
    950: '#000000',
  },
}
SCSS
$custom: #df51b5;
$custom-light: #ed8bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#df51b5",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 181
  },
  "hsl": {
    "h": 317.746,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65624,
    "c": 0.20572,
    "h": 341.3
  },
  "luminance": 0.24909
}

Semantic roles & 50–950 ramp

primary
#DF51B5
secondary
#AAE1BB
accent
#EC703C
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170D13
muted
#857D82

Preview Lab

Preview with #DF51B5

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

Preview Lab → · Contrast checker → · Palette generator →

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