#FB5FA7#FB5FA7

#FB5FA7 is a light, highly saturated pink. Relative luminance 0.315; OKLCH L 70.7% C 0.201 H 354.9°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#FB5FA7
RGBrgb(251, 95, 167)
HSLhsl(332, 95%, 68%)
HSVhsv(332, 62%, 98%)
CMYKcmyk(0%, 62.2%, 33.5%, 1.6%)
CIE-LABlab(62.92, 65.75, -7.12)
CIE-LCHlch(62.92, 66.13, 353.82°)
OKLaboklab(70.67% 0.2006 -0.0179)
OKLCHoklch(70.67% 0.201 354.9)
XYZxyz(50.8537, 31.4892, 39.9516)
Luminance0.3148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5FA7 #5FFBB3
analogous
#FB5FF5 #FB5FA7 #FB655F
triadic
#FB5FA7 #A7FB5F #5FA7FB
tetradic
#FB5FA7 #F5FB5F #5FFBB3 #655FFB
square
#FB5FA7 #F5FB5F #5FFBB3 #655FFB
split-complementary
#FB5FA7 #5FFB65 #5FF5FB
monochromatic
#DA0568 #FA2386 #FB5FA7 #FC9BC8 #FED6E9

Accessibility & contrast

On white

2.88
#FB5FA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#FB5FA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5FA7
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5FA7#FFFFFF#000000##000000
##FB5FA71.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7886A9
Deuteranopia (green-blind)
#A3A3A3
Tritanopia (blue-blind)
#FF547C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #fb5fa7;
/* rgb */ color: rgb(251, 95, 167);
/* oklch */ color: oklch(70.7% 0.201 354.9);
Tailwind
colors: {
  custom: {
    50: '#ff94c1',
    500: '#fb5fa7',
    950: '#000000',
  },
}
SCSS
$custom: #fb5fa7;
$custom-light: #ff94c1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5fa7",
  "rgb": {
    "r": 251,
    "g": 95,
    "b": 167
  },
  "hsl": {
    "h": 332.308,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70673,
    "c": 0.20144,
    "h": 354.9
  },
  "luminance": 0.31484
}

Semantic roles & 50–950 ramp

primary
#FB5FA7
secondary
#C3F3DD
accent
#E67C00
background
#FFF9FB
surface
#FFF2F7
border
#D7CCD0
text
#190E12
muted
#877E81

Preview Lab

Preview with #FB5FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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