#FB7EA6#FB7EA6

#FB7EA6 is a light, vivid pink. Relative luminance 0.382; OKLCH L 74.6% C 0.157 H 1.3°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#FB7EA6
RGBrgb(251, 126, 166)
HSLhsl(341, 94%, 74%)
HSVhsv(341, 50%, 98%)
CMYKcmyk(0%, 49.8%, 33.9%, 1.6%)
CIE-LABlab(68.16, 51.69, 1.16)
CIE-LCHlch(68.16, 51.70, 1.29°)
OKLaboklab(74.58% 0.1571 0.0037)
OKLCHoklch(74.58% 0.157 1.3)
XYZxyz(54.1300, 38.1892, 40.5895)
Luminance0.3818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7EA6 #7EFBD3
analogous
#FB7EE5 #FB7EA6 #FB957E
triadic
#FB7EA6 #A6FB7E #7EA6FB
tetradic
#FB7EA6 #E5FB7E #7EFBD3 #957EFB
square
#FB7EA6 #E5FB7E #7EFBD3 #957EFB
split-complementary
#FB7EA6 #7EFB95 #7EE5FB
monochromatic
#F70854 #F9437D #FB7EA6 #FDB9CF #FEE1EB

Accessibility & contrast

On white

2.43
#FB7EA6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#FB7EA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7EA6
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7EA6#FFFFFF#000000##000000
##FB7EA61.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9298A7
Deuteranopia (green-blind)
#B2AFA3
Tritanopia (blue-blind)
#FF748D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #fb7ea6;
/* rgb */ color: rgb(251, 126, 166);
/* oklch */ color: oklch(74.6% 0.157 1.3);
Tailwind
colors: {
  custom: {
    50: '#ffa7c0',
    500: '#fb7ea6',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ea6;
$custom-light: #ffa7c0;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ea6",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 166
  },
  "hsl": {
    "h": 340.8,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.7458,
    "c": 0.15711,
    "h": 1.3
  },
  "luminance": 0.38184
}

Semantic roles & 50–950 ramp

primary
#FB7EA6
secondary
#D5F6EC
accent
#E69C00
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #FB7EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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