#FB7ECC#FB7ECC

#FB7ECC is a light, vivid pink. Relative luminance 0.398; OKLCH L 75.8% C 0.176 H 343.8°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#FB7ECC
RGBrgb(251, 126, 204)
HSLhsl(323, 94%, 74%)
HSVhsv(323, 50%, 98%)
CMYKcmyk(0%, 49.8%, 18.7%, 1.6%)
CIE-LABlab(69.32, 56.68, -18.42)
CIE-LCHlch(69.32, 59.60, 341.99°)
OKLaboklab(75.83% 0.1686 -0.0489)
OKLCHoklch(75.83% 0.176 343.8)
XYZxyz(58.1448, 39.7951, 61.7339)
Luminance0.3979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7ECC #7EFBAD
analogous
#EC7EFB #FB7ECC #FB7E8E
triadic
#FB7ECC #CCFB7E #7ECCFB
tetradic
#FB7ECC #FBEC7E #7EFBAD #7E8EFB
square
#FB7ECC #FBEC7E #7EFBAD #7E8EFB
split-complementary
#FB7ECC #8EFB7E #7EFBEC
monochromatic
#F7089D #F943B5 #FB7ECC #FDB9E3 #FEE1F3

Accessibility & contrast

On white

2.34
#FB7ECC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#FB7ECC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7ECC
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7ECC#FFFFFF#000000##000000
##FB7ECC1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#879CCF
Deuteranopia (green-blind)
#A9B1C9
Tritanopia (blue-blind)
#FF7E9C
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #fb7ecc;
/* rgb */ color: rgb(251, 126, 204);
/* oklch */ color: oklch(75.8% 0.176 343.8);
Tailwind
colors: {
  custom: {
    50: '#ffa7db',
    500: '#fb7ecc',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ecc;
$custom-light: #ffa7db;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ecc",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 322.56,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75835,
    "c": 0.17557,
    "h": 343.8
  },
  "luminance": 0.39791
}

Semantic roles & 50–950 ramp

primary
#FB7ECC
secondary
#D5F6E1
accent
#E65600
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#181015
muted
#867F83

Preview Lab

Preview with #FB7ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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