#FB7AE2#FB7AE2

#FB7AE2 is a light, vivid pink. Relative luminance 0.399; OKLCH L 76.2% C 0.197 H 335.3°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#FB7AE2
RGBrgb(251, 122, 226)
HSLhsl(312, 94%, 73%)
HSVhsv(312, 51%, 98%)
CMYKcmyk(0%, 51.4%, 10%, 1.6%)
CIE-LABlab(69.42, 61.87, -30.50)
CIE-LCHlch(69.42, 68.98, 333.76°)
OKLaboklab(76.17% 0.1793 -0.0826)
OKLCHoklch(76.17% 0.197 335.3)
XYZxyz(60.4709, 39.9235, 76.4578)
Luminance0.3992 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7AE2 #7AFB93
analogous
#D37AFB #FB7AE2 #FB7AA1
triadic
#FB7AE2 #E2FB7A #7AE2FB
tetradic
#FB7AE2 #FBD37A #7AFB93 #7AA1FB
square
#FB7AE2 #FBD37A #7AFB93 #7AA1FB
split-complementary
#FB7AE2 #A1FB7A #7AFBD3
monochromatic
#F307C6 #F93FD5 #FB7AE2 #FDB5EF #FEE1F9

Accessibility & contrast

On white

2.34
#FB7AE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#FB7AE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7AE2
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7AE2#FFFFFF#000000##000000
##FB7AE21.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9DE5
Deuteranopia (green-blind)
#9FB1DE
Tritanopia (blue-blind)
#FF81A4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #fb7ae2;
/* rgb */ color: rgb(251, 122, 226);
/* oklch */ color: oklch(76.2% 0.197 335.3);
Tailwind
colors: {
  custom: {
    50: '#ffa5eb',
    500: '#fb7ae2',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ae2;
$custom-light: #ffa5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ae2",
  "rgb": {
    "r": 251,
    "g": 122,
    "b": 226
  },
  "hsl": {
    "h": 311.628,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76169,
    "c": 0.19737,
    "h": 335.3
  },
  "luminance": 0.39919
}

Semantic roles & 50–950 ramp

primary
#FB7AE2
secondary
#D5F6DB
accent
#E62C00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #FB7AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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