#FC51DD#FC51DD

#FC51DD is a light, highly saturated pink. Relative luminance 0.318; OKLCH L 71.6% C 0.251 H 336.0°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#FC51DD
RGBrgb(252, 81, 221)
HSLhsl(311, 97%, 65%)
HSVhsv(311, 68%, 99%)
CMYKcmyk(0%, 67.9%, 12.3%, 1.2%)
CIE-LABlab(63.18, 78.21, -37.38)
CIE-LCHlch(63.18, 86.68, 334.46°)
OKLaboklab(71.56% 0.229 -0.1018)
OKLCHoklch(71.56% 0.251 336)
XYZxyz(56.1392, 31.8057, 71.5750)
Luminance0.3180 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC51DD #51FC70
analogous
#C551FC #FC51DD #FC5188
triadic
#FC51DD #DDFC51 #51DDFC
tetradic
#FC51DD #FCC551 #51FC70 #5188FC
square
#FC51DD #FCC551 #51FC70 #5188FC
split-complementary
#FC51DD #88FC51 #51FCC5
monochromatic
#CF04AA #FB15D1 #FC51DD #FD8DE9 #FEC9F5

Accessibility & contrast

On white

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

On black

7.36
#FC51DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC51DD
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC51DD#FFFFFF#000000##000000
##FC51DD1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5388E1
Deuteranopia (green-blind)
#8CA2D9
Tritanopia (blue-blind)
#FF5C91
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #fc51dd;
/* rgb */ color: rgb(252, 81, 221);
/* oklch */ color: oklch(71.6% 0.251 336.0);
Tailwind
colors: {
  custom: {
    50: '#ff8fe8',
    500: '#fc51dd',
    950: '#000000',
  },
}
SCSS
$custom: #fc51dd;
$custom-light: #ff8fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#fc51dd",
  "rgb": {
    "r": 252,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 310.877,
    "s": 96.61,
    "l": 65.294
  },
  "oklch": {
    "l": 0.71559,
    "c": 0.2506,
    "h": 336
  },
  "luminance": 0.31801
}

Semantic roles & 50–950 ramp

primary
#FC51DD
secondary
#B8F1C2
accent
#E62A00
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#190D16
muted
#877E84

Preview Lab

Preview with #FC51DD

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

Preview Lab → · Contrast checker → · Palette generator →

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