#FB7EA2#FB7EA2

#FB7EA2 is a light, vivid pink. Relative luminance 0.380; OKLCH L 74.5% C 0.156 H 3.4°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#FB7EA2
RGBrgb(251, 126, 162)
HSLhsl(343, 94%, 74%)
HSVhsv(343, 50%, 98%)
CMYKcmyk(0%, 49.8%, 35.5%, 1.6%)
CIE-LABlab(68.05, 51.22, 3.27)
CIE-LCHlch(68.05, 51.33, 3.65°)
OKLaboklab(74.47% 0.1557 0.0091)
OKLCHoklch(74.47% 0.156 3.4)
XYZxyz(53.7688, 38.0447, 38.6870)
Luminance0.3804 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7EA2 #7EFBD7
analogous
#FB7EE1 #FB7EA2 #FB997E
triadic
#FB7EA2 #A2FB7E #7EA2FB
tetradic
#FB7EA2 #E1FB7E #7EFBD7 #997EFB
square
#FB7EA2 #E1FB7E #7EFBD7 #997EFB
split-complementary
#FB7EA2 #7EFB99 #7EE1FB
monochromatic
#F7084D #F94377 #FB7EA2 #FDB9CD #FEE1EA

Accessibility & contrast

On white

2.44
#FB7EA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#FB7EA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7EA2
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7EA2#FFFFFF#000000##000000
##FB7EA21.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9397A3
Deuteranopia (green-blind)
#B3AF9F
Tritanopia (blue-blind)
#FF738B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #fb7ea2;
/* rgb */ color: rgb(251, 126, 162);
/* oklch */ color: oklch(74.5% 0.156 3.4);
Tailwind
colors: {
  custom: {
    50: '#ffa7bd',
    500: '#fb7ea2',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ea2;
$custom-light: #ffa7bd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ea2",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 342.72,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74465,
    "c": 0.15596,
    "h": 3.4
  },
  "luminance": 0.3804
}

Semantic roles & 50–950 ramp

primary
#FB7EA2
secondary
#D5F6ED
accent
#E6A300
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #FB7EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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