#FF51CF#FF51CF

#FF51CF is a light, highly saturated pink. Relative luminance 0.317; OKLCH L 71.4% C 0.243 H 340.9°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#FF51CF
RGBrgb(255, 81, 207)
HSLhsl(317, 100%, 66%)
HSVhsv(317, 68%, 100%)
CMYKcmyk(0%, 68.2%, 18.8%, 0%)
CIE-LABlab(63.06, 77.02, -29.65)
CIE-LCHlch(63.06, 82.53, 338.94°)
OKLaboklab(71.36% 0.2299 -0.0798)
OKLCHoklch(71.36% 0.243 340.9)
XYZxyz(55.4465, 31.6552, 62.2093)
Luminance0.3165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF51CF #51FF81
analogous
#D851FF #FF51CF #FF5178
triadic
#FF51CF #CFFF51 #51CFFF
tetradic
#FF51CF #FFD851 #51FF81 #5178FF
square
#FF51CF #FFD851 #51FF81 #5178FF
split-complementary
#FF51CF #78FF51 #51FFD8
monochromatic
#D6009B #FF14BE #FF51CF #FF8EE0 #FFCBF1

Accessibility & contrast

On white

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

On black

7.33
#FF51CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF51CF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF51CF#FFFFFF#000000##000000
##FF51CF1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E87D3
Deuteranopia (green-blind)
#94A3CB
Tritanopia (blue-blind)
#FF5589
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ff51cf;
/* rgb */ color: rgb(255, 81, 207);
/* oklch */ color: oklch(71.4% 0.243 340.9);
Tailwind
colors: {
  custom: {
    50: '#ff8fde',
    500: '#ff51cf',
    950: '#000000',
  },
}
SCSS
$custom: #ff51cf;
$custom-light: #ff8fde;
$custom-dark: #000000;
JSON
{
  "hex": "#ff51cf",
  "rgb": {
    "r": 255,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 316.552,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.71364,
    "c": 0.24336,
    "h": 340.9
  },
  "luminance": 0.3165
}

Semantic roles & 50–950 ramp

primary
#FF51CF
secondary
#B9F3C9
accent
#E63F00
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#190D15
muted
#877E83

Preview Lab

Preview with #FF51CF

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

Preview Lab → · Contrast checker → · Palette generator →

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