#FA81DC#FA81DC

#FA81DC is a light, vivid pink. Relative luminance 0.412; OKLCH L 76.7% C 0.181 H 337.4°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#FA81DC
RGBrgb(250, 129, 220)
HSLhsl(315, 92%, 74%)
HSVhsv(315, 48%, 98%)
CMYKcmyk(0%, 48.4%, 12%, 2%)
CIE-LABlab(70.31, 57.34, -25.81)
CIE-LCHlch(70.31, 62.88, 335.77°)
OKLaboklab(76.73% 0.1673 -0.0695)
OKLCHoklch(76.73% 0.181 337.4)
XYZxyz(60.1933, 41.1959, 72.4775)
Luminance0.4119 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA81DC #81FA9F
analogous
#DC81FA #FA81DC #FA81A0
triadic
#FA81DC #DCFA81 #81DCFA
tetradic
#FA81DC #FADC81 #81FA9F #81A0FA
square
#FA81DC #FADC81 #81FA9F #81A0FA
split-complementary
#FA81DC #A0FA81 #81FADC
monochromatic
#F50BBB #F846CC #FA81DC #FCBCEC #FEE2F7

Accessibility & contrast

On white

2.27
#FA81DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#FA81DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA81DC
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA81DC#FFFFFF#000000##000000
##FA81DC1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fa81dc;
/* rgb */ color: rgb(250, 129, 220);
/* oklch */ color: oklch(76.7% 0.181 337.4);
Tailwind
colors: {
  custom: {
    50: '#fea9e7',
    500: '#fa81dc',
    950: '#000000',
  },
}
SCSS
$custom: #fa81dc;
$custom-light: #fea9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#fa81dc",
  "rgb": {
    "r": 250,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 314.876,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.76734,
    "c": 0.18111,
    "h": 337.4
  },
  "luminance": 0.41192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FA81DC

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

Preview Lab → · Contrast checker → · Palette generator →

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