#DF54B1#DF54B1

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

Color values

HEX#DF54B1
RGBrgb(223, 84, 177)
HSLhsl(320, 68%, 60%)
HSVhsv(320, 62%, 87%)
CMYKcmyk(0%, 62.3%, 20.6%, 12.5%)
CIE-LABlab(57.28, 63.59, -21.82)
CIE-LCHlch(57.28, 67.23, 341.06°)
OKLaboklab(65.78% 0.1904 -0.0583)
OKLCHoklch(65.78% 0.199 343)
XYZxyz(41.5388, 25.2068, 44.2642)
Luminance0.2520 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF54B1 #54DF82
analogous
#C754DF #DF54B1 #DF546B
triadic
#DF54B1 #B1DF54 #54B1DF
tetradic
#DF54B1 #DFC754 #54DF82 #546BDF
square
#DF54B1 #DFC754 #54DF82 #546BDF
split-complementary
#DF54B1 #6BDF54 #54DFC7
monochromatic
#9C1D72 #CF2797 #DF54B1 #E988C9 #F2BBE0

Accessibility & contrast

On white

3.48
#DF54B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#DF54B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF54B1
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF54B1#FFFFFF#000000##000000
##DF54B11.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB4
Deuteranopia (green-blind)
#8892AE
Tritanopia (blue-blind)
#EC547B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #df54b1;
/* rgb */ color: rgb(223, 84, 177);
/* oklch */ color: oklch(65.8% 0.199 343.0);
Tailwind
colors: {
  custom: {
    50: '#ec8cc8',
    500: '#df54b1',
    950: '#000000',
  },
}
SCSS
$custom: #df54b1;
$custom-light: #ec8cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#df54b1",
  "rgb": {
    "r": 223,
    "g": 84,
    "b": 177
  },
  "hsl": {
    "h": 319.856,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65783,
    "c": 0.19909,
    "h": 343
  },
  "luminance": 0.25203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF54B1

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

Preview Lab → · Contrast checker → · Palette generator →

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