#FB7FE4#FB7FE4

#FB7FE4 is a light, vivid pink. Relative luminance 0.413; OKLCH L 76.9% C 0.191 H 334.7°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#FB7FE4
RGBrgb(251, 127, 228)
HSLhsl(311, 94%, 74%)
HSVhsv(311, 49%, 98%)
CMYKcmyk(0%, 49.4%, 9.2%, 1.6%)
CIE-LABlab(70.38, 59.84, -30.11)
CIE-LCHlch(70.38, 66.99, 333.29°)
OKLaboklab(76.91% 0.1728 -0.0815)
OKLCHoklch(76.91% 0.191 334.7)
XYZxyz(61.3767, 41.2935, 78.1214)
Luminance0.4129 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7FE4 #7FFB96
analogous
#D47FFB #FB7FE4 #FB7FA6
triadic
#FB7FE4 #E4FB7F #7FE4FB
tetradic
#FB7FE4 #FBD47F #7FFB96 #7FA6FB
square
#FB7FE4 #FBD47F #7FFB96 #7FA6FB
split-complementary
#FB7FE4 #A6FB7F #7FFBD4
monochromatic
#F708CB #F944D7 #FB7FE4 #FDBAF1 #FEE1F9

Accessibility & contrast

On white

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

On black

9.26
#FB7FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7FE4
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7FE4#FFFFFF#000000##000000
##FB7FE41.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA1E7
Deuteranopia (green-blind)
#A2B3E1
Tritanopia (blue-blind)
#FF85A7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb7fe4;
/* rgb */ color: rgb(251, 127, 228);
/* oklch */ color: oklch(76.9% 0.191 334.7);
Tailwind
colors: {
  custom: {
    50: '#ffa8ec',
    500: '#fb7fe4',
    950: '#000000',
  },
}
SCSS
$custom: #fb7fe4;
$custom-light: #ffa8ec;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7fe4",
  "rgb": {
    "r": 251,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 311.129,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.76911,
    "c": 0.19111,
    "h": 334.7
  },
  "luminance": 0.41289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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