#FE51DC#FE51DC

#FE51DC is a light, highly saturated pink. Relative luminance 0.321; OKLCH L 71.8% C 0.251 H 336.8°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#FE51DC
RGBrgb(254, 81, 220)
HSLhsl(312, 99%, 66%)
HSVhsv(312, 68%, 100%)
CMYKcmyk(0%, 68.1%, 13.4%, 0.4%)
CIE-LABlab(63.45, 78.54, -36.38)
CIE-LCHlch(63.45, 86.56, 335.15°)
OKLaboklab(71.8% 0.2308 -0.0989)
OKLCHoklch(71.8% 0.251 336.8)
XYZxyz(56.7347, 32.1280, 70.9096)
Luminance0.3212 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE51DC #51FE73
analogous
#C951FE #FE51DC #FE5185
triadic
#FE51DC #DCFE51 #51DCFE
tetradic
#FE51DC #FEC951 #51FE73 #5185FE
square
#FE51DC #FEC951 #51FE73 #5185FE
split-complementary
#FE51DC #85FE51 #51FEC9
monochromatic
#D301AA #FE14D0 #FE51DC #FE8EE8 #FFCBF4

Accessibility & contrast

On white

2.83
#FE51DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#FE51DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE51DC
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE51DC#FFFFFF#000000##000000
##FE51DC1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5589E0
Deuteranopia (green-blind)
#8EA3D8
Tritanopia (blue-blind)
#FF5B90
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #fe51dc;
/* rgb */ color: rgb(254, 81, 220);
/* oklch */ color: oklch(71.8% 0.251 336.8);
Tailwind
colors: {
  custom: {
    50: '#ff8fe7',
    500: '#fe51dc',
    950: '#000000',
  },
}
SCSS
$custom: #fe51dc;
$custom-light: #ff8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#fe51dc",
  "rgb": {
    "r": 254,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 311.792,
    "s": 98.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.71797,
    "c": 0.25108,
    "h": 336.8
  },
  "luminance": 0.32123
}

Semantic roles & 50–950 ramp

primary
#FE51DC
secondary
#B9F2C4
accent
#E62D00
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#190E16
muted
#877E84

Preview Lab

Preview with #FE51DC

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

Preview Lab → · Contrast checker → · Palette generator →

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