#FF51BC#FF51BC

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

Color values

HEX#FF51BC
RGBrgb(255, 81, 188)
HSLhsl(323, 100%, 66%)
HSVhsv(323, 68%, 100%)
CMYKcmyk(0%, 68.2%, 26.3%, 0%)
CIE-LABlab(62.32, 74.62, -19.98)
CIE-LCHlch(62.32, 77.25, 345.01°)
OKLaboklab(70.59% 0.2263 -0.0528)
OKLCHoklch(70.59% 0.232 346.9)
XYZxyz(53.2618, 30.7813, 50.7036)
Luminance0.3078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF51BC #51FF94
analogous
#EB51FF #FF51BC #FF5165
triadic
#FF51BC #BCFF51 #51BCFF
tetradic
#FF51BC #FFEB51 #51FF94 #5165FF
square
#FF51BC #FFEB51 #51FF94 #5165FF
split-complementary
#FF51BC #65FF51 #51FFEB
monochromatic
#D60083 #FF14A4 #FF51BC #FF8ED4 #FFCBEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FF51BC#FFFFFF#000000##000000
##FF51BC1.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)
#6784BF
Deuteranopia (green-blind)
#9AA2B8
Tritanopia (blue-blind)
#FF4C80
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ff51bc;
/* rgb */ color: rgb(255, 81, 188);
/* oklch */ color: oklch(70.6% 0.232 346.9);
Tailwind
colors: {
  custom: {
    50: '#ff8ed0',
    500: '#ff51bc',
    950: '#000000',
  },
}
SCSS
$custom: #ff51bc;
$custom-light: #ff8ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#ff51bc",
  "rgb": {
    "r": 255,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 323.103,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70588,
    "c": 0.23238,
    "h": 346.9
  },
  "luminance": 0.30776
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF51BC

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

Preview Lab → · Contrast checker → · Palette generator →

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