#FF51BD#FF51BD

#FF51BD is a light, highly saturated pink. Relative luminance 0.308; OKLCH L 70.6% C 0.233 H 346.5°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#FF51BD
RGBrgb(255, 81, 189)
HSLhsl(323, 100%, 66%)
HSVhsv(323, 68%, 100%)
CMYKcmyk(0%, 68.2%, 25.9%, 0%)
CIE-LABlab(62.36, 74.74, -20.50)
CIE-LCHlch(62.36, 77.50, 344.66°)
OKLaboklab(70.63% 0.2265 -0.0542)
OKLCHoklch(70.63% 0.233 346.5)
XYZxyz(53.3700, 30.8246, 51.2733)
Luminance0.3082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF51BD #51FF93
analogous
#EA51FF #FF51BD #FF5166
triadic
#FF51BD #BDFF51 #51BDFF
tetradic
#FF51BD #FFEA51 #51FF93 #5166FF
square
#FF51BD #FFEA51 #51FF93 #5166FF
split-complementary
#FF51BD #66FF51 #51FFEA
monochromatic
#D60085 #FF14A6 #FF51BD #FF8ED4 #FFCBEB

Accessibility & contrast

On white

2.93
#FF51BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#FF51BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF51BD
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF51BD#FFFFFF#000000##000000
##FF51BD1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6784C0
Deuteranopia (green-blind)
#9AA2B9
Tritanopia (blue-blind)
#FF4D80
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ff51bd;
/* rgb */ color: rgb(255, 81, 189);
/* oklch */ color: oklch(70.6% 0.233 346.5);
Tailwind
colors: {
  custom: {
    50: '#ff8ed1',
    500: '#ff51bd',
    950: '#000000',
  },
}
SCSS
$custom: #ff51bd;
$custom-light: #ff8ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#ff51bd",
  "rgb": {
    "r": 255,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 322.759,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70626,
    "c": 0.23291,
    "h": 346.5
  },
  "luminance": 0.30819
}

Semantic roles & 50–950 ramp

primary
#FF51BD
secondary
#B9F3CF
accent
#E65700
background
#FFF9FC
surface
#FFF2F9
border
#D7CCD2
text
#190D14
muted
#877E82

Preview Lab

Preview with #FF51BD

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

Preview Lab → · Contrast checker → · Palette generator →

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