#FB7EA7#FB7EA7

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

Color values

HEX#FB7EA7
RGBrgb(251, 126, 167)
HSLhsl(340, 94%, 74%)
HSVhsv(340, 50%, 98%)
CMYKcmyk(0%, 49.8%, 33.5%, 1.6%)
CIE-LABlab(68.19, 51.81, 0.64)
CIE-LCHlch(68.19, 51.81, 0.71°)
OKLaboklab(74.61% 0.1574 0.0023)
OKLCHoklch(74.61% 0.157 0.9)
XYZxyz(54.2221, 38.2260, 41.0744)
Luminance0.3822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7EA7 #7EFBD2
analogous
#FB7EE6 #FB7EA7 #FB947E
triadic
#FB7EA7 #A7FB7E #7EA7FB
tetradic
#FB7EA7 #E6FB7E #7EFBD2 #947EFB
square
#FB7EA7 #E6FB7E #7EFBD2 #947EFB
split-complementary
#FB7EA7 #7EFB94 #7EE6FB
monochromatic
#F70856 #F9437F #FB7EA7 #FDB9CF #FEE1EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FB7EA7#FFFFFF#000000##000000
##FB7EA71.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)
#9298A8
Deuteranopia (green-blind)
#B2AFA4
Tritanopia (blue-blind)
#FF748D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #fb7ea7;
/* rgb */ color: rgb(251, 126, 167);
/* oklch */ color: oklch(74.6% 0.157 0.9);
Tailwind
colors: {
  custom: {
    50: '#ffa7c1',
    500: '#fb7ea7',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ea7;
$custom-light: #ffa7c1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ea7",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 167
  },
  "hsl": {
    "h": 340.32,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74609,
    "c": 0.15743,
    "h": 0.9
  },
  "luminance": 0.38221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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