#FB8AE2#FB8AE2

#FB8AE2 is a light, vivid pink. Relative luminance 0.442; OKLCH L 78.4% C 0.172 H 336.0°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#FB8AE2
RGBrgb(251, 138, 226)
HSLhsl(313, 93%, 76%)
HSVhsv(313, 45%, 98%)
CMYKcmyk(0%, 45%, 10%, 1.6%)
CIE-LABlab(72.35, 54.21, -25.99)
CIE-LCHlch(72.35, 60.12, 334.39°)
OKLaboklab(78.35% 0.157 -0.07)
OKLCHoklch(78.35% 0.172 336)
XYZxyz(62.5997, 44.1811, 77.1674)
Luminance0.4418 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8AE2 #8AFBA3
analogous
#DB8AFB #FB8AE2 #FB8AAA
triadic
#FB8AE2 #E2FB8A #8AE2FB
tetradic
#FB8AE2 #FBDB8A #8AFBA3 #8AAAFB
square
#FB8AE2 #FBDB8A #8AFBA3 #8AAAFB
split-complementary
#FB8AE2 #AAFB8A #8AFBDB
monochromatic
#F714C5 #F94FD3 #FB8AE2 #FDC5F1 #FEE1F8

Accessibility & contrast

On white

2.14
#FB8AE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#FB8AE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8AE2
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8AE2#FFFFFF#000000##000000
##FB8AE21.002.149.849.84
#FFFFFF2.141.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA7E5
Deuteranopia (green-blind)
#AAB8DF
Tritanopia (blue-blind)
#FF8FAC
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #fb8ae2;
/* rgb */ color: rgb(251, 138, 226);
/* oklch */ color: oklch(78.4% 0.172 336.0);
Tailwind
colors: {
  custom: {
    50: '#ffafeb',
    500: '#fb8ae2',
    950: '#000000',
  },
}
SCSS
$custom: #fb8ae2;
$custom-light: #ffafeb;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8ae2",
  "rgb": {
    "r": 251,
    "g": 138,
    "b": 226
  },
  "hsl": {
    "h": 313.274,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78354,
    "c": 0.17187,
    "h": 336
  },
  "luminance": 0.44177
}

Semantic roles & 50–950 ramp

primary
#FB8AE2
secondary
#D5F6DC
accent
#E63300
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FB8AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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