#FB7ECA#FB7ECA

#FB7ECA is a light, vivid pink. Relative luminance 0.397; OKLCH L 75.8% C 0.174 H 344.7°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#FB7ECA
RGBrgb(251, 126, 202)
HSLhsl(324, 94%, 74%)
HSVhsv(324, 50%, 98%)
CMYKcmyk(0%, 49.8%, 19.5%, 1.6%)
CIE-LABlab(69.26, 56.39, -17.41)
CIE-LCHlch(69.26, 59.02, 342.84°)
OKLaboklab(75.76% 0.1681 -0.0461)
OKLCHoklch(75.76% 0.174 344.7)
XYZxyz(57.9064, 39.6998, 60.4786)
Luminance0.3970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7ECA #7EFBAF
analogous
#EE7EFB #FB7ECA #FB7E8C
triadic
#FB7ECA #CAFB7E #7ECAFB
tetradic
#FB7ECA #FBEE7E #7EFBAF #7E8CFB
square
#FB7ECA #FBEE7E #7EFBAF #7E8CFB
split-complementary
#FB7ECA #8CFB7E #7EFBEE
monochromatic
#F70899 #F943B2 #FB7ECA #FDB9E2 #FEE1F3

Accessibility & contrast

On white

2.35
#FB7ECA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#FB7ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7ECA
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7ECA#FFFFFF#000000##000000
##FB7ECA1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#889CCD
Deuteranopia (green-blind)
#A9B1C7
Tritanopia (blue-blind)
#FF7D9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #fb7eca;
/* rgb */ color: rgb(251, 126, 202);
/* oklch */ color: oklch(75.8% 0.174 344.7);
Tailwind
colors: {
  custom: {
    50: '#ffa7da',
    500: '#fb7eca',
    950: '#000000',
  },
}
SCSS
$custom: #fb7eca;
$custom-light: #ffa7da;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7eca",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 323.52,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75762,
    "c": 0.1743,
    "h": 344.7
  },
  "luminance": 0.39695
}

Semantic roles & 50–950 ramp

primary
#FB7ECA
secondary
#D5F6E2
accent
#E65A00
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#181014
muted
#867F83

Preview Lab

Preview with #FB7ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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