#DF54C2#DF54C2

#DF54C2 is a light, highly saturated pink. Relative luminance 0.259; OKLCH L 66.5% C 0.210 H 336.8°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#DF54C2
RGBrgb(223, 84, 194)
HSLhsl(313, 68%, 60%)
HSVhsv(313, 62%, 87%)
CMYKcmyk(0%, 62.3%, 13%, 12.5%)
CIE-LABlab(57.97, 66.02, -30.53)
CIE-LCHlch(57.97, 72.74, 335.18°)
OKLaboklab(66.52% 0.1935 -0.0828)
OKLCHoklch(66.52% 0.21 336.8)
XYZxyz(43.3399, 25.9273, 53.7503)
Luminance0.2592 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF54C2 #54DF71
analogous
#B654DF #DF54C2 #DF547C
triadic
#DF54C2 #C2DF54 #54C2DF
tetradic
#DF54C2 #DFB654 #54DF71 #547CDF
square
#DF54C2 #DFB654 #54DF71 #547CDF
split-complementary
#DF54C2 #7CDF54 #54DFB6
monochromatic
#9C1D81 #CF27AC #DF54C2 #E988D4 #F2BBE7

Accessibility & contrast

On white

3.40
#DF54C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#DF54C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF54C2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF54C2#FFFFFF#000000##000000
##DF54C21.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#577EC5
Deuteranopia (green-blind)
#8293BE
Tritanopia (blue-blind)
#EA5B83
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #df54c2;
/* rgb */ color: rgb(223, 84, 194);
/* oklch */ color: oklch(66.5% 0.210 336.8);
Tailwind
colors: {
  custom: {
    50: '#ec8dd4',
    500: '#df54c2',
    950: '#000000',
  },
}
SCSS
$custom: #df54c2;
$custom-light: #ec8dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#df54c2",
  "rgb": {
    "r": 223,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 312.518,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66516,
    "c": 0.21048,
    "h": 336.8
  },
  "luminance": 0.25924
}

Semantic roles & 50–950 ramp

primary
#DF54C2
secondary
#ADE2B8
accent
#D03C15
background
#FEF9FD
surface
#FDF1FA
border
#D5CBD3
text
#170D14
muted
#857E83

Preview Lab

Preview with #DF54C2

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

Preview Lab → · Contrast checker → · Palette generator →

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