#FF51AC#FF51AC

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

Color values

HEX#FF51AC
RGBrgb(255, 81, 172)
HSLhsl(329, 100%, 66%)
HSVhsv(329, 68%, 100%)
CMYKcmyk(0%, 68.2%, 32.5%, 0%)
CIE-LABlab(61.77, 72.77, -11.65)
CIE-LCHlch(61.77, 73.70, 350.91°)
OKLaboklab(70% 0.2224 -0.03)
OKLCHoklch(70% 0.224 352.3)
XYZxyz(51.6317, 30.1293, 42.1182)
Luminance0.3012 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF51AC #51FFA4
analogous
#FB51FF #FF51AC #FF5155
triadic
#FF51AC #ACFF51 #51ACFF
tetradic
#FF51AC #FFFB51 #51FFA4 #5155FF
square
#FF51AC #FFFB51 #51FFA4 #5155FF
split-complementary
#FF51AC #55FF51 #51FFFB
monochromatic
#D60070 #FF148F #FF51AC #FF8EC9 #FFCBE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FF51AC#FFFFFF#000000##000000
##FF51AC1.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)
#6D81AF
Deuteranopia (green-blind)
#9EA1A8
Tritanopia (blue-blind)
#FF4578
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ff51ac;
/* rgb */ color: rgb(255, 81, 172);
/* oklch */ color: oklch(70.0% 0.224 352.3);
Tailwind
colors: {
  custom: {
    50: '#ff8ec4',
    500: '#ff51ac',
    950: '#000000',
  },
}
SCSS
$custom: #ff51ac;
$custom-light: #ff8ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#ff51ac",
  "rgb": {
    "r": 255,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 328.621,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69997,
    "c": 0.22444,
    "h": 352.3
  },
  "luminance": 0.30123
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF51AC

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

Preview Lab → · Contrast checker → · Palette generator →

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