#FB54BC#FB54BC

#FB54BC is a light, highly saturated pink. Relative luminance 0.305; OKLCH L 70.3% C 0.226 H 346.2°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#FB54BC
RGBrgb(251, 84, 188)
HSLhsl(323, 95%, 66%)
HSVhsv(323, 67%, 98%)
CMYKcmyk(0%, 66.5%, 25.1%, 1.6%)
CIE-LABlab(62.07, 72.51, -20.42)
CIE-LCHlch(62.07, 75.33, 344.27°)
OKLaboklab(70.28% 0.2194 -0.0541)
OKLCHoklch(70.28% 0.226 346.2)
XYZxyz(52.0332, 30.4861, 50.7113)
Luminance0.3048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB54BC #54FB93
analogous
#E754FB #FB54BC #FB5468
triadic
#FB54BC #BCFB54 #54BCFB
tetradic
#FB54BC #FBE754 #54FB93 #5468FB
square
#FB54BC #FBE754 #54FB93 #5468FB
split-complementary
#FB54BC #68FB54 #54FBE7
monochromatic
#D00583 #FA18A5 #FB54BC #FC90D3 #FECCEB

Accessibility & contrast

On white

2.96
#FB54BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#FB54BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB54BC
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB54BC#FFFFFF#000000##000000
##FB54BC1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6884BF
Deuteranopia (green-blind)
#98A0B8
Tritanopia (blue-blind)
#FF5081
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #fb54bc;
/* rgb */ color: rgb(251, 84, 188);
/* oklch */ color: oklch(70.3% 0.226 346.2);
Tailwind
colors: {
  custom: {
    50: '#ff8fd0',
    500: '#fb54bc',
    950: '#000000',
  },
}
SCSS
$custom: #fb54bc;
$custom-light: #ff8fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#fb54bc",
  "rgb": {
    "r": 251,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 322.635,
    "s": 95.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70282,
    "c": 0.22592,
    "h": 346.2
  },
  "luminance": 0.30481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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