#FB81D3#FB81D3

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

Color values

HEX#FB81D3
RGBrgb(251, 129, 211)
HSLhsl(320, 94%, 75%)
HSVhsv(320, 49%, 98%)
CMYKcmyk(0%, 48.6%, 15.9%, 1.6%)
CIE-LABlab(70.12, 56.27, -21.11)
CIE-LCHlch(70.12, 60.10, 339.43°)
OKLaboklab(76.51% 0.1662 -0.0563)
OKLCHoklch(76.51% 0.175 341.3)
XYZxyz(59.3926, 40.9172, 66.3850)
Luminance0.4091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB81D3 #81FBA9
analogous
#E681FB #FB81D3 #FB8196
triadic
#FB81D3 #D3FB81 #81D3FB
tetradic
#FB81D3 #FBE681 #81FBA9 #8196FB
square
#FB81D3 #FBE681 #81FBA9 #8196FB
split-complementary
#FB81D3 #96FB81 #81FBE6
monochromatic
#F70AAA #F946BE #FB81D3 #FDBCE8 #FEE1F5

Accessibility & contrast

On white

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

On black

9.18
#FB81D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB81D3
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB81D3#FFFFFF#000000##000000
##FB81D31.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#889FD6
Deuteranopia (green-blind)
#A9B3D0
Tritanopia (blue-blind)
#FF82A1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #fb81d3;
/* rgb */ color: rgb(251, 129, 211);
/* oklch */ color: oklch(76.5% 0.175 341.3);
Tailwind
colors: {
  custom: {
    50: '#ffa9e0',
    500: '#fb81d3',
    950: '#000000',
  },
}
SCSS
$custom: #fb81d3;
$custom-light: #ffa9e0;
$custom-dark: #000000;
JSON
{
  "hex": "#fb81d3",
  "rgb": {
    "r": 251,
    "g": 129,
    "b": 211
  },
  "hsl": {
    "h": 319.672,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.76509,
    "c": 0.17544,
    "h": 341.3
  },
  "luminance": 0.40913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB81D3

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

Preview Lab → · Contrast checker → · Palette generator →

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