#FF51AE#FF51AE

#FF51AE is a light, highly saturated pink. Relative luminance 0.302; OKLCH L 70.1% C 0.225 H 351.6°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#FF51AE
RGBrgb(255, 81, 174)
HSLhsl(328, 100%, 66%)
HSVhsv(328, 68%, 100%)
CMYKcmyk(0%, 68.2%, 31.8%, 0%)
CIE-LABlab(61.83, 73.00, -12.70)
CIE-LCHlch(61.83, 74.09, 350.13°)
OKLaboklab(70.07% 0.223 -0.0328)
OKLCHoklch(70.07% 0.225 351.6)
XYZxyz(51.8252, 30.2067, 43.1374)
Luminance0.3020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF51AE #51FFA2
analogous
#F951FF #FF51AE #FF5157
triadic
#FF51AE #AEFF51 #51AEFF
tetradic
#FF51AE #FFF951 #51FFA2 #5157FF
square
#FF51AE #FFF951 #51FFA2 #5157FF
split-complementary
#FF51AE #57FF51 #51FFF9
monochromatic
#D60072 #FF1492 #FF51AE #FF8ECA #FFCBE7

Accessibility & contrast

On white

2.98
#FF51AE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#FF51AE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF51AE
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF51AE#FFFFFF#000000##000000
##FF51AE1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D81B1
Deuteranopia (green-blind)
#9EA1AA
Tritanopia (blue-blind)
#FF4679
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ff51ae;
/* rgb */ color: rgb(255, 81, 174);
/* oklch */ color: oklch(70.1% 0.225 351.6);
Tailwind
colors: {
  custom: {
    50: '#ff8ec6',
    500: '#ff51ae',
    950: '#000000',
  },
}
SCSS
$custom: #ff51ae;
$custom-light: #ff8ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff51ae",
  "rgb": {
    "r": 255,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 327.931,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70067,
    "c": 0.22536,
    "h": 351.6
  },
  "luminance": 0.30201
}

Semantic roles & 50–950 ramp

primary
#FF51AE
secondary
#B9F3D4
accent
#E66B00
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#190D13
muted
#877E82

Preview Lab

Preview with #FF51AE

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

Preview Lab → · Contrast checker → · Palette generator →

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