#FB7ECB#FB7ECB

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

Color values

HEX#FB7ECB
RGBrgb(251, 126, 203)
HSLhsl(323, 94%, 74%)
HSVhsv(323, 50%, 98%)
CMYKcmyk(0%, 49.8%, 19.1%, 1.6%)
CIE-LABlab(69.29, 56.53, -17.92)
CIE-LCHlch(69.29, 59.31, 342.41°)
OKLaboklab(75.8% 0.1684 -0.0475)
OKLCHoklch(75.8% 0.175 344.3)
XYZxyz(58.0252, 39.7473, 61.1042)
Luminance0.3974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7ECB #7EFBAE
analogous
#ED7EFB #FB7ECB #FB7E8D
triadic
#FB7ECB #CBFB7E #7ECBFB
tetradic
#FB7ECB #FBED7E #7EFBAE #7E8DFB
square
#FB7ECB #FBED7E #7EFBAE #7E8DFB
split-complementary
#FB7ECB #8DFB7E #7EFBED
monochromatic
#F7089B #F943B3 #FB7ECB #FDB9E3 #FEE1F3

Accessibility & contrast

On white

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

On black

8.95
#FB7ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7ECB
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7ECB#FFFFFF#000000##000000
##FB7ECB1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#879CCE
Deuteranopia (green-blind)
#A9B1C8
Tritanopia (blue-blind)
#FF7D9C
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #fb7ecb;
/* rgb */ color: rgb(251, 126, 203);
/* oklch */ color: oklch(75.8% 0.175 344.3);
Tailwind
colors: {
  custom: {
    50: '#ffa7db',
    500: '#fb7ecb',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ecb;
$custom-light: #ffa7db;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ecb",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 323.04,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75799,
    "c": 0.17494,
    "h": 344.3
  },
  "luminance": 0.39743
}

Semantic roles & 50–950 ramp

primary
#FB7ECB
secondary
#D5F6E2
accent
#E65800
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#181015
muted
#867F83

Preview Lab

Preview with #FB7ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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