#FF54DC#FF54DC

#FF54DC is a light, highly saturated pink. Relative luminance 0.328; OKLCH L 72.2% C 0.248 H 337.1°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#FF54DC
RGBrgb(255, 84, 220)
HSLhsl(312, 100%, 66%)
HSVhsv(312, 67%, 100%)
CMYKcmyk(0%, 67.1%, 13.7%, 0%)
CIE-LABlab(63.98, 77.73, -35.54)
CIE-LCHlch(63.98, 85.47, 335.43°)
OKLaboklab(72.21% 0.2286 -0.0965)
OKLCHoklch(72.21% 0.248 337.1)
XYZxyz(57.3295, 32.7730, 71.0027)
Luminance0.3277 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF54DC #54FF77
analogous
#CD54FF #FF54DC #FF5487
triadic
#FF54DC #DCFF54 #54DCFF
tetradic
#FF54DC #FFCD54 #54FF77 #5487FF
square
#FF54DC #FFCD54 #54FF77 #5487FF
split-complementary
#FF54DC #87FF54 #54FFCD
monochromatic
#D900AC #FF17CF #FF54DC #FF91E9 #FFCEF5

Accessibility & contrast

On white

2.78
#FF54DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#FF54DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF54DC
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF54DC#FFFFFF#000000##000000
##FF54DC1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#598AE0
Deuteranopia (green-blind)
#90A4D8
Tritanopia (blue-blind)
#FF5D91
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ff54dc;
/* rgb */ color: rgb(255, 84, 220);
/* oklch */ color: oklch(72.2% 0.248 337.1);
Tailwind
colors: {
  custom: {
    50: '#ff90e7',
    500: '#ff54dc',
    950: '#000000',
  },
}
SCSS
$custom: #ff54dc;
$custom-light: #ff90e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ff54dc",
  "rgb": {
    "r": 255,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 312.281,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.72211,
    "c": 0.24816,
    "h": 337.1
  },
  "luminance": 0.32768
}

Semantic roles & 50–950 ramp

primary
#FF54DC
secondary
#BCF3C7
accent
#E62F00
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#190E16
muted
#877E84

Preview Lab

Preview with #FF54DC

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

Preview Lab → · Contrast checker → · Palette generator →

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