#DF54B2#DF54B2

#DF54B2 is a light, vivid pink. Relative luminance 0.252; OKLCH L 65.8% C 0.200 H 342.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#DF54B2
RGBrgb(223, 84, 178)
HSLhsl(319, 68%, 60%)
HSVhsv(319, 62%, 87%)
CMYKcmyk(0%, 62.3%, 20.2%, 12.5%)
CIE-LABlab(57.32, 63.73, -22.34)
CIE-LCHlch(57.32, 67.53, 340.68°)
OKLaboklab(65.82% 0.1906 -0.0597)
OKLCHoklch(65.82% 0.2 342.6)
XYZxyz(41.6388, 25.2468, 44.7910)
Luminance0.2524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF54B2 #54DF81
analogous
#C654DF #DF54B2 #DF546D
triadic
#DF54B2 #B2DF54 #54B2DF
tetradic
#DF54B2 #DFC654 #54DF81 #546DDF
square
#DF54B2 #DFC654 #54DF81 #546DDF
split-complementary
#DF54B2 #6DDF54 #54DFC6
monochromatic
#9C1D73 #CF2799 #DF54B2 #E988C9 #F2BBE0

Accessibility & contrast

On white

3.47
#DF54B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#DF54B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF54B2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF54B2#FFFFFF#000000##000000
##DF54B21.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB5
Deuteranopia (green-blind)
#8892AF
Tritanopia (blue-blind)
#EC557C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #df54b2;
/* rgb */ color: rgb(223, 84, 178);
/* oklch */ color: oklch(65.8% 0.200 342.6);
Tailwind
colors: {
  custom: {
    50: '#ec8cc9',
    500: '#df54b2',
    950: '#000000',
  },
}
SCSS
$custom: #df54b2;
$custom-light: #ec8cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#df54b2",
  "rgb": {
    "r": 223,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 319.424,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65824,
    "c": 0.19972,
    "h": 342.6
  },
  "luminance": 0.25243
}

Semantic roles & 50–950 ramp

primary
#DF54B2
secondary
#ADE2BE
accent
#D05215
background
#FEF9FC
surface
#FDF1F8
border
#D5CBD1
text
#170D13
muted
#857E82

Preview Lab

Preview with #DF54B2

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

Preview Lab → · Contrast checker → · Palette generator →

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