#FB7AE4#FB7AE4

#FB7AE4 is a light, vivid pink. Relative luminance 0.400; OKLCH L 76.3% C 0.199 H 334.6°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#FB7AE4
RGBrgb(251, 122, 228)
HSLhsl(311, 94%, 73%)
HSVhsv(311, 51%, 98%)
CMYKcmyk(0%, 51.4%, 9.2%, 1.6%)
CIE-LABlab(69.49, 62.18, -31.48)
CIE-LCHlch(69.49, 69.70, 333.15°)
OKLaboklab(76.25% 0.1797 -0.0854)
OKLCHoklch(76.25% 0.199 334.6)
XYZxyz(60.7469, 40.0339, 77.9115)
Luminance0.4003 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7AE4 #7AFB91
analogous
#D27AFB #FB7AE4 #FB7AA3
triadic
#FB7AE4 #E4FB7A #7AE4FB
tetradic
#FB7AE4 #FBD27A #7AFB91 #7AA3FB
square
#FB7AE4 #FBD27A #7AFB91 #7AA3FB
split-complementary
#FB7AE4 #A3FB7A #7AFBD2
monochromatic
#F307C9 #F93FD8 #FB7AE4 #FDB5F0 #FEE1F9

Accessibility & contrast

On white

2.33
#FB7AE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#FB7AE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7AE4
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7AE4#FFFFFF#000000##000000
##FB7AE41.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#799EE8
Deuteranopia (green-blind)
#9FB1E0
Tritanopia (blue-blind)
#FF81A5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #fb7ae4;
/* rgb */ color: rgb(251, 122, 228);
/* oklch */ color: oklch(76.3% 0.199 334.6);
Tailwind
colors: {
  custom: {
    50: '#ffa5ec',
    500: '#fb7ae4',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ae4;
$custom-light: #ffa5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ae4",
  "rgb": {
    "r": 251,
    "g": 122,
    "b": 228
  },
  "hsl": {
    "h": 310.698,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76253,
    "c": 0.1989,
    "h": 334.6
  },
  "luminance": 0.4003
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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