#FB7EC2#FB7EC2

#FB7EC2 is a light, vivid pink. Relative luminance 0.393; OKLCH L 75.5% C 0.170 H 348.1°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#FB7EC2
RGBrgb(251, 126, 194)
HSLhsl(327, 94%, 74%)
HSVhsv(327, 50%, 98%)
CMYKcmyk(0%, 49.8%, 22.7%, 1.6%)
CIE-LABlab(68.99, 55.27, -13.34)
CIE-LCHlch(68.99, 56.86, 346.43°)
OKLaboklab(75.48% 0.1659 -0.0349)
OKLCHoklch(75.48% 0.17 348.1)
XYZxyz(56.9837, 39.3307, 55.6189)
Luminance0.3933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7EC2 #7EFBB7
analogous
#F67EFB #FB7EC2 #FB7E84
triadic
#FB7EC2 #C2FB7E #7EC2FB
tetradic
#FB7EC2 #FBF67E #7EFBB7 #7E84FB
square
#FB7EC2 #FBF67E #7EFBB7 #7E84FB
split-complementary
#FB7EC2 #84FB7E #7EFBF6
monochromatic
#F7088A #F943A6 #FB7EC2 #FDB9DE #FEE1F1

Accessibility & contrast

On white

2.37
#FB7EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#FB7EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7EC2
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7EC2#FFFFFF#000000##000000
##FB7EC21.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9BC4
Deuteranopia (green-blind)
#ACB0BF
Tritanopia (blue-blind)
#FF7B98
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #fb7ec2;
/* rgb */ color: rgb(251, 126, 194);
/* oklch */ color: oklch(75.5% 0.170 348.1);
Tailwind
colors: {
  custom: {
    50: '#ffa7d4',
    500: '#fb7ec2',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ec2;
$custom-light: #ffa7d4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ec2",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 327.36,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75477,
    "c": 0.16953,
    "h": 348.1
  },
  "luminance": 0.39326
}

Semantic roles & 50–950 ramp

primary
#FB7EC2
secondary
#D5F6E4
accent
#E66900
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#181014
muted
#867F83

Preview Lab

Preview with #FB7EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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