#DF54A7#DF54A7

#DF54A7 is a light, vivid pink. Relative luminance 0.248; OKLCH L 65.4% C 0.193 H 346.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#DF54A7
RGBrgb(223, 84, 167)
HSLhsl(324, 68%, 60%)
HSVhsv(324, 62%, 87%)
CMYKcmyk(0%, 62.3%, 25.1%, 12.5%)
CIE-LABlab(56.90, 62.26, -16.59)
CIE-LCHlch(56.90, 64.43, 345.08°)
OKLaboklab(65.39% 0.1881 -0.0438)
OKLCHoklch(65.39% 0.193 346.9)
XYZxyz(40.5783, 24.8226, 39.2059)
Luminance0.2482 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF54A7 #54DF8C
analogous
#D254DF #DF54A7 #DF5461
triadic
#DF54A7 #A7DF54 #54A7DF
tetradic
#DF54A7 #DFD254 #54DF8C #5461DF
square
#DF54A7 #DFD254 #54DF8C #5461DF
split-complementary
#DF54A7 #61DF54 #54DFD2
monochromatic
#9C1D69 #CF278B #DF54A7 #E988C2 #F2BBDC

Accessibility & contrast

On white

3.52
#DF54A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#DF54A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF54A7
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF54A7#FFFFFF#000000##000000
##DF54A71.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6479AA
Deuteranopia (green-blind)
#8B91A4
Tritanopia (blue-blind)
#ED5176
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #df54a7;
/* rgb */ color: rgb(223, 84, 167);
/* oklch */ color: oklch(65.4% 0.193 346.9);
Tailwind
colors: {
  custom: {
    50: '#ed8cc1',
    500: '#df54a7',
    950: '#000000',
  },
}
SCSS
$custom: #df54a7;
$custom-light: #ed8cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#df54a7",
  "rgb": {
    "r": 223,
    "g": 84,
    "b": 167
  },
  "hsl": {
    "h": 324.173,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65385,
    "c": 0.1931,
    "h": 346.9
  },
  "luminance": 0.24819
}

Semantic roles & 50–950 ramp

primary
#DF54A7
secondary
#ADE2C2
accent
#D06115
background
#FFF9FB
surface
#FEF1F7
border
#D6CBD0
text
#170D12
muted
#857E81

Preview Lab

Preview with #DF54A7

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

Preview Lab → · Contrast checker → · Palette generator →

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