#FF51D0#FF51D0

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

Color values

HEX#FF51D0
RGBrgb(255, 81, 208)
HSLhsl(316, 100%, 66%)
HSVhsv(316, 68%, 100%)
CMYKcmyk(0%, 68.2%, 18.4%, 0%)
CIE-LABlab(63.10, 77.15, -30.15)
CIE-LCHlch(63.10, 82.83, 338.65°)
OKLaboklab(71.41% 0.2301 -0.0812)
OKLCHoklch(71.41% 0.244 340.6)
XYZxyz(55.5691, 31.7042, 62.8552)
Luminance0.3170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF51D0 #51FF80
analogous
#D751FF #FF51D0 #FF5179
triadic
#FF51D0 #D0FF51 #51D0FF
tetradic
#FF51D0 #FFD751 #51FF80 #5179FF
square
#FF51D0 #FFD751 #51FF80 #5179FF
split-complementary
#FF51D0 #79FF51 #51FFD7
monochromatic
#D6009C #FF14BF #FF51D0 #FF8EE1 #FFCBF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FF51D0#FFFFFF#000000##000000
##FF51D01.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)
#5D87D4
Deuteranopia (green-blind)
#94A3CC
Tritanopia (blue-blind)
#FF558A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ff51d0;
/* rgb */ color: rgb(255, 81, 208);
/* oklch */ color: oklch(71.4% 0.244 340.6);
Tailwind
colors: {
  custom: {
    50: '#ff8fde',
    500: '#ff51d0',
    950: '#000000',
  },
}
SCSS
$custom: #ff51d0;
$custom-light: #ff8fde;
$custom-dark: #000000;
JSON
{
  "hex": "#ff51d0",
  "rgb": {
    "r": 255,
    "g": 81,
    "b": 208
  },
  "hsl": {
    "h": 316.207,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.71407,
    "c": 0.24398,
    "h": 340.6
  },
  "luminance": 0.31699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF51D0

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

Preview Lab → · Contrast checker → · Palette generator →

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