#FF51CD#FF51CD

#FF51CD is a light, highly saturated pink. Relative luminance 0.316; OKLCH L 71.3% C 0.242 H 341.5°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#FF51CD
RGBrgb(255, 81, 205)
HSLhsl(317, 100%, 66%)
HSVhsv(317, 68%, 100%)
CMYKcmyk(0%, 68.2%, 19.6%, 0%)
CIE-LABlab(62.98, 76.76, -28.65)
CIE-LCHlch(62.98, 81.93, 339.53°)
OKLaboklab(71.28% 0.2296 -0.0769)
OKLCHoklch(71.28% 0.242 341.5)
XYZxyz(55.2035, 31.5580, 60.9298)
Luminance0.3155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF51CD #51FF83
analogous
#DA51FF #FF51CD #FF5176
triadic
#FF51CD #CDFF51 #51CDFF
tetradic
#FF51CD #FFDA51 #51FF83 #5176FF
square
#FF51CD #FFDA51 #51FF83 #5176FF
split-complementary
#FF51CD #76FF51 #51FFDA
monochromatic
#D60098 #FF14BB #FF51CD #FF8EDF #FFCBF0

Accessibility & contrast

On white

2.87
#FF51CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#FF51CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF51CD
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF51CD#FFFFFF#000000##000000
##FF51CD1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86D1
Deuteranopia (green-blind)
#95A3C9
Tritanopia (blue-blind)
#FF5488
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ff51cd;
/* rgb */ color: rgb(255, 81, 205);
/* oklch */ color: oklch(71.3% 0.242 341.5);
Tailwind
colors: {
  custom: {
    50: '#ff8fdc',
    500: '#ff51cd',
    950: '#000000',
  },
}
SCSS
$custom: #ff51cd;
$custom-light: #ff8fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ff51cd",
  "rgb": {
    "r": 255,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 317.241,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.71278,
    "c": 0.24214,
    "h": 341.5
  },
  "luminance": 0.31553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF51CD

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

Preview Lab → · Contrast checker → · Palette generator →

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