#FB7FE2#FB7FE2

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

Color values

HEX#FB7FE2
RGBrgb(251, 127, 226)
HSLhsl(312, 94%, 74%)
HSVhsv(312, 49%, 98%)
CMYKcmyk(0%, 49.4%, 10%, 1.6%)
CIE-LABlab(70.30, 59.52, -29.13)
CIE-LCHlch(70.30, 66.27, 333.92°)
OKLaboklab(76.83% 0.1724 -0.0788)
OKLCHoklch(76.83% 0.19 335.4)
XYZxyz(61.1007, 41.1831, 76.6677)
Luminance0.4118 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7FE2 #7FFB98
analogous
#D67FFB #FB7FE2 #FB7FA4
triadic
#FB7FE2 #E2FB7F #7FE2FB
tetradic
#FB7FE2 #FBD67F #7FFB98 #7FA4FB
square
#FB7FE2 #FBD67F #7FFB98 #7FA4FB
split-complementary
#FB7FE2 #A4FB7F #7FFBD6
monochromatic
#F708C7 #F944D5 #FB7FE2 #FDBAEF #FEE1F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FB7FE2#FFFFFF#000000##000000
##FB7FE21.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)
#80A0E5
Deuteranopia (green-blind)
#A2B3DF
Tritanopia (blue-blind)
#FF85A6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb7fe2;
/* rgb */ color: rgb(251, 127, 226);
/* oklch */ color: oklch(76.8% 0.190 335.4);
Tailwind
colors: {
  custom: {
    50: '#ffa8eb',
    500: '#fb7fe2',
    950: '#000000',
  },
}
SCSS
$custom: #fb7fe2;
$custom-light: #ffa8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7fe2",
  "rgb": {
    "r": 251,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 312.097,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.76829,
    "c": 0.18956,
    "h": 335.4
  },
  "luminance": 0.41179
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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