#FE51DF#FE51DF

#FE51DF is a light, highly saturated pink. Relative luminance 0.323; OKLCH L 71.9% C 0.253 H 336.0°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#FE51DF
RGBrgb(254, 81, 223)
HSLhsl(311, 99%, 66%)
HSVhsv(311, 68%, 100%)
CMYKcmyk(0%, 68.1%, 12.2%, 0.4%)
CIE-LABlab(63.58, 78.96, -37.85)
CIE-LCHlch(63.58, 87.57, 334.39°)
OKLaboklab(71.94% 0.2311 -0.1031)
OKLCHoklch(71.94% 0.253 336)
XYZxyz(57.1355, 32.2884, 73.0209)
Luminance0.3228 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE51DF #51FE70
analogous
#C651FE #FE51DF #FE5189
triadic
#FE51DF #DFFE51 #51DFFE
tetradic
#FE51DF #FEC651 #51FE70 #5189FE
square
#FE51DF #FEC651 #51FE70 #5189FE
split-complementary
#FE51DF #89FE51 #51FEC6
monochromatic
#D301AE #FE14D4 #FE51DF #FE8EEA #FFCBF5

Accessibility & contrast

On white

2.82
#FE51DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#FE51DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE51DF
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE51DF#FFFFFF#000000##000000
##FE51DF1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5389E3
Deuteranopia (green-blind)
#8DA3DB
Tritanopia (blue-blind)
#FF5C92
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #fe51df;
/* rgb */ color: rgb(254, 81, 223);
/* oklch */ color: oklch(71.9% 0.253 336.0);
Tailwind
colors: {
  custom: {
    50: '#ff8fe9',
    500: '#fe51df',
    950: '#000000',
  },
}
SCSS
$custom: #fe51df;
$custom-light: #ff8fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#fe51df",
  "rgb": {
    "r": 254,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 310.751,
    "s": 98.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.71936,
    "c": 0.25308,
    "h": 336
  },
  "luminance": 0.32283
}

Semantic roles & 50–950 ramp

primary
#FE51DF
secondary
#B9F2C3
accent
#E62900
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E16
muted
#877E84

Preview Lab

Preview with #FE51DF

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

Preview Lab → · Contrast checker → · Palette generator →

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