#FB7EA8#FB7EA8

#FB7EA8 is a light, vivid pink. Relative luminance 0.383; OKLCH L 74.6% C 0.158 H 0.4°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#FB7EA8
RGBrgb(251, 126, 168)
HSLhsl(340, 94%, 74%)
HSVhsv(340, 50%, 98%)
CMYKcmyk(0%, 49.8%, 33.1%, 1.6%)
CIE-LABlab(68.21, 51.93, 0.11)
CIE-LCHlch(68.21, 51.93, 0.13°)
OKLaboklab(74.64% 0.1578 0.001)
OKLCHoklch(74.64% 0.158 0.4)
XYZxyz(54.3149, 38.2631, 41.5632)
Luminance0.3826 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7EA8 #7EFBD1
analogous
#FB7EE7 #FB7EA8 #FB937E
triadic
#FB7EA8 #A8FB7E #7EA8FB
tetradic
#FB7EA8 #E7FB7E #7EFBD1 #937EFB
square
#FB7EA8 #E7FB7E #7EFBD1 #937EFB
split-complementary
#FB7EA8 #7EFB93 #7EE7FB
monochromatic
#F70858 #F94380 #FB7EA8 #FDB9D0 #FEE1EB

Accessibility & contrast

On white

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

On black

8.65
#FB7EA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7EA8
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7EA8#FFFFFF#000000##000000
##FB7EA81.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9298A9
Deuteranopia (green-blind)
#B2AFA5
Tritanopia (blue-blind)
#FF758D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #fb7ea8;
/* rgb */ color: rgb(251, 126, 168);
/* oklch */ color: oklch(74.6% 0.158 0.4);
Tailwind
colors: {
  custom: {
    50: '#ffa7c1',
    500: '#fb7ea8',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ea8;
$custom-light: #ffa7c1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ea8",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 168
  },
  "hsl": {
    "h": 339.84,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74639,
    "c": 0.15775,
    "h": 0.4
  },
  "luminance": 0.38258
}

Semantic roles & 50–950 ramp

primary
#FB7EA8
secondary
#D5F6EB
accent
#E69800
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #FB7EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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