#FF51CC#FF51CC

#FF51CC is a light, highly saturated pink. Relative luminance 0.315; OKLCH L 71.2% C 0.242 H 341.8°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#FF51CC
RGBrgb(255, 81, 204)
HSLhsl(318, 100%, 66%)
HSVhsv(318, 68%, 100%)
CMYKcmyk(0%, 68.2%, 20%, 0%)
CIE-LABlab(62.94, 76.63, -28.14)
CIE-LCHlch(62.94, 81.63, 339.83°)
OKLaboklab(71.24% 0.2294 -0.0755)
OKLCHoklch(71.24% 0.242 341.8)
XYZxyz(55.0832, 31.5099, 60.2961)
Luminance0.3150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF51CC #51FF84
analogous
#DB51FF #FF51CC #FF5175
triadic
#FF51CC #CCFF51 #51CCFF
tetradic
#FF51CC #FFDB51 #51FF84 #5175FF
square
#FF51CC #FFDB51 #51FF84 #5175FF
split-complementary
#FF51CC #75FF51 #51FFDB
monochromatic
#D60097 #FF14BA #FF51CC #FF8EDE #FFCBF0

Accessibility & contrast

On white

2.88
#FF51CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#FF51CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF51CC
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF51CC#FFFFFF#000000##000000
##FF51CC1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86D0
Deuteranopia (green-blind)
#95A3C8
Tritanopia (blue-blind)
#FF5388
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ff51cc;
/* rgb */ color: rgb(255, 81, 204);
/* oklch */ color: oklch(71.2% 0.242 341.8);
Tailwind
colors: {
  custom: {
    50: '#ff8edb',
    500: '#ff51cc',
    950: '#000000',
  },
}
SCSS
$custom: #ff51cc;
$custom-light: #ff8edb;
$custom-dark: #000000;
JSON
{
  "hex": "#ff51cc",
  "rgb": {
    "r": 255,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 317.586,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.71236,
    "c": 0.24153,
    "h": 341.8
  },
  "luminance": 0.31504
}

Semantic roles & 50–950 ramp

primary
#FF51CC
secondary
#B9F3CA
accent
#E64300
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#190D15
muted
#877E83

Preview Lab

Preview with #FF51CC

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

Preview Lab → · Contrast checker → · Palette generator →

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