#DF54C5#DF54C5

#DF54C5 is a light, highly saturated pink. Relative luminance 0.261; OKLCH L 66.7% C 0.213 H 335.8°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#DF54C5
RGBrgb(223, 84, 197)
HSLhsl(311, 68%, 60%)
HSVhsv(311, 62%, 87%)
CMYKcmyk(0%, 62.3%, 11.7%, 12.5%)
CIE-LABlab(58.10, 66.47, -32.05)
CIE-LCHlch(58.10, 73.79, 334.26°)
OKLaboklab(66.65% 0.194 -0.0871)
OKLCHoklch(66.65% 0.213 335.8)
XYZxyz(43.6803, 26.0634, 55.5427)
Luminance0.2606 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF54C5 #54DF6E
analogous
#B354DF #DF54C5 #DF547F
triadic
#DF54C5 #C5DF54 #54C5DF
tetradic
#DF54C5 #DFB354 #54DF6E #547FDF
square
#DF54C5 #DFB354 #54DF6E #547FDF
split-complementary
#DF54C5 #7FDF54 #54DFB3
monochromatic
#9C1D84 #CF27B0 #DF54C5 #E988D6 #F2BBE8

Accessibility & contrast

On white

3.38
#DF54C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#DF54C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF54C5
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF54C5#FFFFFF#000000##000000
##DF54C51.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#557EC8
Deuteranopia (green-blind)
#8193C1
Tritanopia (blue-blind)
#EA5C85
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #df54c5;
/* rgb */ color: rgb(223, 84, 197);
/* oklch */ color: oklch(66.7% 0.213 335.8);
Tailwind
colors: {
  custom: {
    50: '#ec8dd7',
    500: '#df54c5',
    950: '#000000',
  },
}
SCSS
$custom: #df54c5;
$custom-light: #ec8dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#df54c5",
  "rgb": {
    "r": 223,
    "g": 84,
    "b": 197
  },
  "hsl": {
    "h": 311.223,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66653,
    "c": 0.21262,
    "h": 335.8
  },
  "luminance": 0.2606
}

Semantic roles & 50–950 ramp

primary
#DF54C5
secondary
#ADE2B7
accent
#D03815
background
#FEF9FD
surface
#FDF1FA
border
#D5CBD3
text
#170D14
muted
#857E83

Preview Lab

Preview with #DF54C5

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

Preview Lab → · Contrast checker → · Palette generator →

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