#FF51CA#FF51CA

#FF51CA is a light, highly saturated pink. Relative luminance 0.314; OKLCH L 71.2% C 0.240 H 342.4°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#FF51CA
RGBrgb(255, 81, 202)
HSLhsl(318, 100%, 66%)
HSVhsv(318, 68%, 100%)
CMYKcmyk(0%, 68.2%, 20.8%, 0%)
CIE-LABlab(62.86, 76.37, -27.13)
CIE-LCHlch(62.86, 81.04, 340.44°)
OKLaboklab(71.15% 0.2291 -0.0727)
OKLCHoklch(71.15% 0.24 342.4)
XYZxyz(54.8449, 31.4145, 59.0409)
Luminance0.3141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF51CA #51FF86
analogous
#DD51FF #FF51CA #FF5173
triadic
#FF51CA #CAFF51 #51CAFF
tetradic
#FF51CA #FFDD51 #51FF86 #5173FF
square
#FF51CA #FFDD51 #51FF86 #5173FF
split-complementary
#FF51CA #73FF51 #51FFDD
monochromatic
#D60095 #FF14B7 #FF51CA #FF8EDD #FFCBEF

Accessibility & contrast

On white

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

On black

7.28
#FF51CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF51CA
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF51CA#FFFFFF#000000##000000
##FF51CA1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CD
Deuteranopia (green-blind)
#96A2C6
Tritanopia (blue-blind)
#FF5287
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ff51ca;
/* rgb */ color: rgb(255, 81, 202);
/* oklch */ color: oklch(71.2% 0.240 342.4);
Tailwind
colors: {
  custom: {
    50: '#ff8eda',
    500: '#ff51ca',
    950: '#000000',
  },
}
SCSS
$custom: #ff51ca;
$custom-light: #ff8eda;
$custom-dark: #000000;
JSON
{
  "hex": "#ff51ca",
  "rgb": {
    "r": 255,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 318.276,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.71152,
    "c": 0.24033,
    "h": 342.4
  },
  "luminance": 0.31409
}

Semantic roles & 50–950 ramp

primary
#FF51CA
secondary
#B9F3CB
accent
#E64600
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#190D15
muted
#877E83

Preview Lab

Preview with #FF51CA

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

Preview Lab → · Contrast checker → · Palette generator →

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