#DF54B7#DF54B7

#DF54B7 is a light, highly saturated pink. Relative luminance 0.254; OKLCH L 66.0% C 0.203 H 340.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#DF54B7
RGBrgb(223, 84, 183)
HSLhsl(317, 68%, 60%)
HSVhsv(317, 62%, 87%)
CMYKcmyk(0%, 62.3%, 17.9%, 12.5%)
CIE-LABlab(57.51, 64.43, -24.92)
CIE-LCHlch(57.51, 69.08, 338.85°)
OKLaboklab(66.03% 0.1916 -0.0669)
OKLCHoklch(66.03% 0.203 340.7)
XYZxyz(42.1500, 25.4513, 47.4833)
Luminance0.2545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF54B7 #54DF7C
analogous
#C154DF #DF54B7 #DF5472
triadic
#DF54B7 #B7DF54 #54B7DF
tetradic
#DF54B7 #DFC154 #54DF7C #5472DF
square
#DF54B7 #DFC154 #54DF7C #5472DF
split-complementary
#DF54B7 #72DF54 #54DFC1
monochromatic
#9C1D77 #CF279F #DF54B7 #E988CD #F2BBE2

Accessibility & contrast

On white

3.45
#DF54B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#DF54B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF54B7
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF54B7#FFFFFF#000000##000000
##DF54B71.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7CBA
Deuteranopia (green-blind)
#8692B4
Tritanopia (blue-blind)
#EC577E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #df54b7;
/* rgb */ color: rgb(223, 84, 183);
/* oklch */ color: oklch(66.0% 0.203 340.7);
Tailwind
colors: {
  custom: {
    50: '#ec8ccc',
    500: '#df54b7',
    950: '#000000',
  },
}
SCSS
$custom: #df54b7;
$custom-light: #ec8ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#df54b7",
  "rgb": {
    "r": 223,
    "g": 84,
    "b": 183
  },
  "hsl": {
    "h": 317.266,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66034,
    "c": 0.20295,
    "h": 340.7
  },
  "luminance": 0.25448
}

Semantic roles & 50–950 ramp

primary
#DF54B7
secondary
#ADE2BC
accent
#D04B15
background
#FEF9FC
surface
#FDF1F9
border
#D5CBD2
text
#170D13
muted
#857E82

Preview Lab

Preview with #DF54B7

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

Preview Lab → · Contrast checker → · Palette generator →

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