#FC51DB#FC51DB

#FC51DB is a light, highly saturated pink. Relative luminance 0.317; OKLCH L 71.5% C 0.249 H 336.6°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#FC51DB
RGBrgb(252, 81, 219)
HSLhsl(312, 97%, 65%)
HSVhsv(312, 68%, 99%)
CMYKcmyk(0%, 67.9%, 13.1%, 1.2%)
CIE-LABlab(63.09, 77.93, -36.39)
CIE-LCHlch(63.09, 86.01, 334.97°)
OKLaboklab(71.47% 0.2288 -0.099)
OKLCHoklch(71.47% 0.249 336.6)
XYZxyz(55.8744, 31.6997, 70.1800)
Luminance0.3170 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC51DB #51FC72
analogous
#C751FC #FC51DB #FC5185
triadic
#FC51DB #DBFC51 #51DBFC
tetradic
#FC51DB #FCC751 #51FC72 #5185FC
square
#FC51DB #FCC751 #51FC72 #5185FC
split-complementary
#FC51DB #85FC51 #51FCC7
monochromatic
#CF04A8 #FB15CF #FC51DB #FD8DE7 #FEC9F4

Accessibility & contrast

On white

2.86
#FC51DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#FC51DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC51DB
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC51DB#FFFFFF#000000##000000
##FC51DB1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5488DF
Deuteranopia (green-blind)
#8DA2D7
Tritanopia (blue-blind)
#FF5B8F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #fc51db;
/* rgb */ color: rgb(252, 81, 219);
/* oklch */ color: oklch(71.5% 0.249 336.6);
Tailwind
colors: {
  custom: {
    50: '#ff8fe6',
    500: '#fc51db',
    950: '#000000',
  },
}
SCSS
$custom: #fc51db;
$custom-light: #ff8fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#fc51db",
  "rgb": {
    "r": 252,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 311.579,
    "s": 96.61,
    "l": 65.294
  },
  "oklch": {
    "l": 0.71466,
    "c": 0.24926,
    "h": 336.6
  },
  "luminance": 0.31695
}

Semantic roles & 50–950 ramp

primary
#FC51DB
secondary
#B8F1C3
accent
#E62C00
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#190D16
muted
#877E84

Preview Lab

Preview with #FC51DB

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

Preview Lab → · Contrast checker → · Palette generator →

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