#FB81DC#FB81DC

#FB81DC is a light, vivid pink. Relative luminance 0.414; OKLCH L 76.9% C 0.182 H 337.8°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#FB81DC
RGBrgb(251, 129, 220)
HSLhsl(315, 94%, 75%)
HSVhsv(315, 49%, 98%)
CMYKcmyk(0%, 48.6%, 12.4%, 1.6%)
CIE-LABlab(70.44, 57.64, -25.60)
CIE-LCHlch(70.44, 63.07, 336.05°)
OKLaboklab(76.86% 0.1683 -0.0689)
OKLCHoklch(76.86% 0.182 337.8)
XYZxyz(60.5526, 41.3812, 72.4943)
Luminance0.4138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB81DC #81FBA0
analogous
#DD81FB #FB81DC #FB819F
triadic
#FB81DC #DCFB81 #81DCFB
tetradic
#FB81DC #FBDD81 #81FBA0 #819FFB
square
#FB81DC #FBDD81 #81FBA0 #819FFB
split-complementary
#FB81DC #9FFB81 #81FBDD
monochromatic
#F70ABB #F946CC #FB81DC #FDBCEC #FEE1F7

Accessibility & contrast

On white

2.26
#FB81DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#FB81DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB81DC
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB81DC#FFFFFF#000000##000000
##FB81DC1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A1DF
Deuteranopia (green-blind)
#A6B3D9
Tritanopia (blue-blind)
#FF85A5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb81dc;
/* rgb */ color: rgb(251, 129, 220);
/* oklch */ color: oklch(76.9% 0.182 337.8);
Tailwind
colors: {
  custom: {
    50: '#ffa9e7',
    500: '#fb81dc',
    950: '#000000',
  },
}
SCSS
$custom: #fb81dc;
$custom-light: #ffa9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#fb81dc",
  "rgb": {
    "r": 251,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 315.246,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.76857,
    "c": 0.18186,
    "h": 337.8
  },
  "luminance": 0.41377
}

Semantic roles & 50–950 ramp

primary
#FB81DC
secondary
#D5F6DD
accent
#E63A00
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #FB81DC

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

Preview Lab → · Contrast checker → · Palette generator →

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