#FD51DB#FD51DB

#FD51DB is a light, highly saturated pink. Relative luminance 0.319; OKLCH L 71.6% C 0.250 H 336.9°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#FD51DB
RGBrgb(253, 81, 219)
HSLhsl(312, 98%, 65%)
HSVhsv(312, 68%, 99%)
CMYKcmyk(0%, 68%, 13.4%, 0.8%)
CIE-LABlab(63.25, 78.17, -36.14)
CIE-LCHlch(63.25, 86.12, 335.19°)
OKLaboklab(71.61% 0.2297 -0.0982)
OKLCHoklch(71.61% 0.25 336.9)
XYZxyz(56.2375, 31.8870, 70.1971)
Luminance0.3188 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FD51DB #51FD73
analogous
#C951FD #FD51DB #FD5185
triadic
#FD51DB #DBFD51 #51DBFD
tetradic
#FD51DB #FDC951 #51FD73 #5185FD
square
#FD51DB #FDC951 #51FD73 #5185FD
split-complementary
#FD51DB #85FD51 #51FDC9
monochromatic
#D102A8 #FC14CE #FD51DB #FE8EE8 #FECAF4

Accessibility & contrast

On white

2.85
#FD51DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#FD51DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FD51DB
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FD51DB#FFFFFF#000000##000000
##FD51DB1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5588DF
Deuteranopia (green-blind)
#8EA3D7
Tritanopia (blue-blind)
#FF5B90
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #fd51db;
/* rgb */ color: rgb(253, 81, 219);
/* oklch */ color: oklch(71.6% 0.250 336.9);
Tailwind
colors: {
  custom: {
    50: '#ff8fe6',
    500: '#fd51db',
    950: '#000000',
  },
}
SCSS
$custom: #fd51db;
$custom-light: #ff8fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#fd51db",
  "rgb": {
    "r": 253,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 311.86,
    "s": 97.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.71609,
    "c": 0.24984,
    "h": 336.9
  },
  "luminance": 0.31882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FD51DB

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

Preview Lab → · Contrast checker → · Palette generator →

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