#DF51BA#DF51BA

#DF51BA is a light, highly saturated pink. Relative luminance 0.251; OKLCH L 65.8% C 0.209 H 339.5°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#DF51BA
RGBrgb(223, 81, 186)
HSLhsl(316, 69%, 60%)
HSVhsv(316, 64%, 87%)
CMYKcmyk(0%, 63.7%, 16.6%, 12.5%)
CIE-LABlab(57.19, 66.06, -27.14)
CIE-LCHlch(57.19, 71.42, 337.67°)
OKLaboklab(65.84% 0.1958 -0.0732)
OKLCHoklch(65.84% 0.209 339.5)
XYZxyz(42.2377, 25.1218, 49.0693)
Luminance0.2512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51BA #51DF76
analogous
#BD51DF #DF51BA #DF5173
triadic
#DF51BA #BADF51 #51BADF
tetradic
#DF51BA #DFBD51 #51DF76 #5173DF
square
#DF51BA #DFBD51 #51DF76 #5173DF
split-complementary
#DF51BA #73DF51 #51DFBD
monochromatic
#991C79 #CD26A1 #DF51BA #E985CE #F2B8E3

Accessibility & contrast

On white

3.49
#DF51BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#DF51BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51BA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51BA#FFFFFF#000000##000000
##DF51BA1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#587BBD
Deuteranopia (green-blind)
#8492B6
Tritanopia (blue-blind)
#EB557E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #df51ba;
/* rgb */ color: rgb(223, 81, 186);
/* oklch */ color: oklch(65.8% 0.209 339.5);
Tailwind
colors: {
  custom: {
    50: '#ec8bcf',
    500: '#df51ba',
    950: '#000000',
  },
}
SCSS
$custom: #df51ba;
$custom-light: #ec8bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#df51ba",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 315.634,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6584,
    "c": 0.20902,
    "h": 339.5
  },
  "luminance": 0.25118
}

Semantic roles & 50–950 ramp

primary
#DF51BA
secondary
#AAE1B9
accent
#EC6A3C
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170D13
muted
#857D82

Preview Lab

Preview with #DF51BA

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

Preview Lab → · Contrast checker → · Palette generator →

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