#FB7EE2#FB7EE2

#FB7EE2 is a light, vivid pink. Relative luminance 0.409; OKLCH L 76.7% C 0.191 H 335.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#FB7EE2
RGBrgb(251, 126, 226)
HSLhsl(312, 94%, 74%)
HSVhsv(312, 50%, 98%)
CMYKcmyk(0%, 49.8%, 10%, 1.6%)
CIE-LABlab(70.12, 60.00, -29.41)
CIE-LCHlch(70.12, 66.82, 333.89°)
OKLaboklab(76.7% 0.1738 -0.0795)
OKLCHoklch(76.7% 0.191 335.4)
XYZxyz(60.9722, 40.9261, 76.6249)
Luminance0.4092 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7EE2 #7EFB97
analogous
#D67EFB #FB7EE2 #FB7EA4
triadic
#FB7EE2 #E2FB7E #7EE2FB
tetradic
#FB7EE2 #FBD67E #7EFB97 #7EA4FB
square
#FB7EE2 #FBD67E #7EFB97 #7EA4FB
split-complementary
#FB7EE2 #A4FB7E #7EFBD6
monochromatic
#F708C7 #F943D5 #FB7EE2 #FDB9EF #FEE1F8

Accessibility & contrast

On white

2.29
#FB7EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#FB7EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7EE2
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7EE2#FFFFFF#000000##000000
##FB7EE21.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA0E5
Deuteranopia (green-blind)
#A2B2DF
Tritanopia (blue-blind)
#FF84A6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #fb7ee2;
/* rgb */ color: rgb(251, 126, 226);
/* oklch */ color: oklch(76.7% 0.191 335.4);
Tailwind
colors: {
  custom: {
    50: '#ffa7eb',
    500: '#fb7ee2',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ee2;
$custom-light: #ffa7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ee2",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 226
  },
  "hsl": {
    "h": 312,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76695,
    "c": 0.19113,
    "h": 335.4
  },
  "luminance": 0.40922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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