#FB81E2#FB81E2

#FB81E2 is a light, vivid pink. Relative luminance 0.417; OKLCH L 77.1% C 0.186 H 335.5°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#FB81E2
RGBrgb(251, 129, 226)
HSLhsl(312, 94%, 75%)
HSVhsv(312, 49%, 98%)
CMYKcmyk(0%, 48.6%, 10%, 1.6%)
CIE-LABlab(70.67, 58.57, -28.57)
CIE-LCHlch(70.67, 65.17, 334.00°)
OKLaboklab(77.1% 0.1697 -0.0772)
OKLCHoklch(77.1% 0.186 335.5)
XYZxyz(61.3615, 41.7048, 76.7546)
Luminance0.4170 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB81E2 #81FB9A
analogous
#D781FB #FB81E2 #FB81A5
triadic
#FB81E2 #E2FB81 #81E2FB
tetradic
#FB81E2 #FBD781 #81FB9A #81A5FB
square
#FB81E2 #FBD781 #81FB9A #81A5FB
split-complementary
#FB81E2 #A5FB81 #81FBD7
monochromatic
#F70AC7 #F946D4 #FB81E2 #FDBCF0 #FEE1F8

Accessibility & contrast

On white

2.25
#FB81E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#FB81E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB81E2
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB81E2#FFFFFF#000000##000000
##FB81E21.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A1E5
Deuteranopia (green-blind)
#A4B4DF
Tritanopia (blue-blind)
#FF87A7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fb81e2;
/* rgb */ color: rgb(251, 129, 226);
/* oklch */ color: oklch(77.1% 0.186 335.5);
Tailwind
colors: {
  custom: {
    50: '#ffa9eb',
    500: '#fb81e2',
    950: '#000000',
  },
}
SCSS
$custom: #fb81e2;
$custom-light: #ffa9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#fb81e2",
  "rgb": {
    "r": 251,
    "g": 129,
    "b": 226
  },
  "hsl": {
    "h": 312.295,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77099,
    "c": 0.18639,
    "h": 335.5
  },
  "luminance": 0.41701
}

Semantic roles & 50–950 ramp

primary
#FB81E2
secondary
#D5F6DC
accent
#E62F00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #FB81E2

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

Preview Lab → · Contrast checker → · Palette generator →

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