#FD51DC#FD51DC

#FD51DC is a light, highly saturated pink. Relative luminance 0.319; OKLCH L 71.7% C 0.251 H 336.6°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#FD51DC
RGBrgb(253, 81, 220)
HSLhsl(312, 98%, 65%)
HSVhsv(312, 68%, 99%)
CMYKcmyk(0%, 68%, 13%, 0.8%)
CIE-LABlab(63.29, 78.31, -36.63)
CIE-LCHlch(63.29, 86.45, 334.93°)
OKLaboklab(71.66% 0.2298 -0.0996)
OKLCHoklch(71.66% 0.251 336.6)
XYZxyz(56.3696, 31.9398, 70.8925)
Luminance0.3194 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FD51DC #51FD72
analogous
#C851FD #FD51DC #FD5186
triadic
#FD51DC #DCFD51 #51DCFD
tetradic
#FD51DC #FDC851 #51FD72 #5186FD
square
#FD51DC #FDC851 #51FD72 #5186FD
split-complementary
#FD51DC #86FD51 #51FDC8
monochromatic
#D102AA #FC14D0 #FD51DC #FE8EE8 #FECAF4

Accessibility & contrast

On white

2.84
#FD51DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#FD51DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FD51DC
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FD51DC#FFFFFF#000000##000000
##FD51DC1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5489E0
Deuteranopia (green-blind)
#8EA3D8
Tritanopia (blue-blind)
#FF5B90
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #fd51dc;
/* rgb */ color: rgb(253, 81, 220);
/* oklch */ color: oklch(71.7% 0.251 336.6);
Tailwind
colors: {
  custom: {
    50: '#ff8fe7',
    500: '#fd51dc',
    950: '#000000',
  },
}
SCSS
$custom: #fd51dc;
$custom-light: #ff8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#fd51dc",
  "rgb": {
    "r": 253,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 311.512,
    "s": 97.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.71655,
    "c": 0.2505,
    "h": 336.6
  },
  "luminance": 0.31935
}

Semantic roles & 50–950 ramp

primary
#FD51DC
secondary
#B8F2C3
accent
#E62C00
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#190E16
muted
#877E84

Preview Lab

Preview with #FD51DC

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

Preview Lab → · Contrast checker → · Palette generator →

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