#FF51AB#FF51AB

#FF51AB is a light, highly saturated pink. Relative luminance 0.301; OKLCH L 70.0% C 0.224 H 352.7°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#FF51AB
RGBrgb(255, 81, 171)
HSLhsl(329, 100%, 66%)
HSVhsv(329, 68%, 100%)
CMYKcmyk(0%, 68.2%, 32.9%, 0%)
CIE-LABlab(61.73, 72.66, -11.12)
CIE-LCHlch(61.73, 73.51, 351.30°)
OKLaboklab(69.96% 0.2222 -0.0286)
OKLCHoklch(69.96% 0.224 352.7)
XYZxyz(51.5360, 30.0910, 41.6143)
Luminance0.3009 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF51AB #51FFA5
analogous
#FC51FF #FF51AB #FF5154
triadic
#FF51AB #ABFF51 #51ABFF
tetradic
#FF51AB #FFFC51 #51FFA5 #5154FF
square
#FF51AB #FFFC51 #51FFA5 #5154FF
split-complementary
#FF51AB #54FF51 #51FFFC
monochromatic
#D6006E #FF148D #FF51AB #FF8EC9 #FFCBE6

Accessibility & contrast

On white

2.99
#FF51AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#FF51AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF51AB
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF51AB#FFFFFF#000000##000000
##FF51AB1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E81AE
Deuteranopia (green-blind)
#9FA1A7
Tritanopia (blue-blind)
#FF4477
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ff51ab;
/* rgb */ color: rgb(255, 81, 171);
/* oklch */ color: oklch(70.0% 0.224 352.7);
Tailwind
colors: {
  custom: {
    50: '#ff8ec4',
    500: '#ff51ab',
    950: '#000000',
  },
}
SCSS
$custom: #ff51ab;
$custom-light: #ff8ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#ff51ab",
  "rgb": {
    "r": 255,
    "g": 81,
    "b": 171
  },
  "hsl": {
    "h": 328.966,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69962,
    "c": 0.224,
    "h": 352.7
  },
  "luminance": 0.30085
}

Semantic roles & 50–950 ramp

primary
#FF51AB
secondary
#B9F3D5
accent
#E66F00
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#190D12
muted
#877E81

Preview Lab

Preview with #FF51AB

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

Preview Lab → · Contrast checker → · Palette generator →

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