#FB5EA7#FB5EA7

#FB5EA7 is a light, highly saturated pink. Relative luminance 0.313; OKLCH L 70.6% C 0.203 H 354.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#FB5EA7
RGBrgb(251, 94, 167)
HSLhsl(332, 95%, 68%)
HSVhsv(332, 63%, 98%)
CMYKcmyk(0%, 62.5%, 33.5%, 1.6%)
CIE-LABlab(62.77, 66.15, -7.34)
CIE-LCHlch(62.77, 66.56, 353.67°)
OKLaboklab(70.56% 0.2019 -0.0185)
OKLCHoklch(70.56% 0.203 354.8)
XYZxyz(50.7642, 31.3102, 39.9218)
Luminance0.3130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5EA7 #5EFBB2
analogous
#FB5EF6 #FB5EA7 #FB635E
triadic
#FB5EA7 #A7FB5E #5EA7FB
tetradic
#FB5EA7 #F6FB5E #5EFBB2 #635EFB
square
#FB5EA7 #F6FB5E #5EFBB2 #635EFB
split-complementary
#FB5EA7 #5EFB63 #5EF6FB
monochromatic
#D90568 #FA2286 #FB5EA7 #FC9AC8 #FED5E8

Accessibility & contrast

On white

2.89
#FB5EA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#FB5EA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5EA7
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5EA7#FFFFFF#000000##000000
##FB5EA71.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7786A9
Deuteranopia (green-blind)
#A2A3A3
Tritanopia (blue-blind)
#FF537B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #fb5ea7;
/* rgb */ color: rgb(251, 94, 167);
/* oklch */ color: oklch(70.6% 0.203 354.8);
Tailwind
colors: {
  custom: {
    50: '#ff94c1',
    500: '#fb5ea7',
    950: '#000000',
  },
}
SCSS
$custom: #fb5ea7;
$custom-light: #ff94c1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5ea7",
  "rgb": {
    "r": 251,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 332.102,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70562,
    "c": 0.20277,
    "h": 354.8
  },
  "luminance": 0.31305
}

Semantic roles & 50–950 ramp

primary
#FB5EA7
secondary
#C2F3DC
accent
#E67B00
background
#FFF9FB
surface
#FFF2F7
border
#D7CCD0
text
#190E12
muted
#877E81

Preview Lab

Preview with #FB5EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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