#FB81D2#FB81D2

#FB81D2 is a light, vivid pink. Relative luminance 0.409; OKLCH L 76.5% C 0.175 H 341.7°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#FB81D2
RGBrgb(251, 129, 210)
HSLhsl(320, 94%, 75%)
HSVhsv(320, 49%, 98%)
CMYKcmyk(0%, 48.6%, 16.3%, 1.6%)
CIE-LABlab(70.08, 56.12, -20.61)
CIE-LCHlch(70.08, 59.78, 339.83°)
OKLaboklab(76.47% 0.1659 -0.0549)
OKLCHoklch(76.47% 0.175 341.7)
XYZxyz(59.2677, 40.8673, 65.7269)
Luminance0.4086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB81D2 #81FBAA
analogous
#E781FB #FB81D2 #FB8195
triadic
#FB81D2 #D2FB81 #81D2FB
tetradic
#FB81D2 #FBE781 #81FBAA #8195FB
square
#FB81D2 #FBE781 #81FBAA #8195FB
split-complementary
#FB81D2 #95FB81 #81FBE7
monochromatic
#F70AA8 #F946BD #FB81D2 #FDBCE7 #FEE1F4

Accessibility & contrast

On white

2.29
#FB81D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#FB81D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB81D2
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB81D2#FFFFFF#000000##000000
##FB81D21.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#889FD5
Deuteranopia (green-blind)
#A9B3CF
Tritanopia (blue-blind)
#FF82A0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #fb81d2;
/* rgb */ color: rgb(251, 129, 210);
/* oklch */ color: oklch(76.5% 0.175 341.7);
Tailwind
colors: {
  custom: {
    50: '#ffa9e0',
    500: '#fb81d2',
    950: '#000000',
  },
}
SCSS
$custom: #fb81d2;
$custom-light: #ffa9e0;
$custom-dark: #000000;
JSON
{
  "hex": "#fb81d2",
  "rgb": {
    "r": 251,
    "g": 129,
    "b": 210
  },
  "hsl": {
    "h": 320.164,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.76471,
    "c": 0.17476,
    "h": 341.7
  },
  "luminance": 0.40863
}

Semantic roles & 50–950 ramp

primary
#FB81D2
secondary
#D5F6E0
accent
#E64D00
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#181015
muted
#867F83

Preview Lab

Preview with #FB81D2

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

Preview Lab → · Contrast checker → · Palette generator →

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