#FBA7EC#FBA7EC

#FBA7EC is a very light, vivid pink. Relative luminance 0.542; OKLCH L 83.2% C 0.131 H 333.3°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#FBA7EC
RGBrgb(251, 167, 236)
HSLhsl(311, 91%, 82%)
HSVhsv(311, 33%, 98%)
CMYKcmyk(0%, 33.5%, 6%, 1.6%)
CIE-LABlab(78.58, 41.13, -21.93)
CIE-LCHlch(78.58, 46.61, 331.93°)
OKLaboklab(83.17% 0.1172 -0.0589)
OKLCHoklch(83.17% 0.131 333.3)
XYZxyz(68.7420, 54.2059, 86.1825)
Luminance0.5420 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBA7EC #A7FBB6
analogous
#E0A7FB #FBA7EC #FBA7C2
triadic
#FBA7EC #ECFBA7 #A7ECFB
tetradic
#FBA7EC #FBE0A7 #A7FBB6 #A7C2FB
square
#FBA7EC #FBE0A7 #A7FBB6 #A7C2FB
split-complementary
#FBA7EC #C2FBA7 #A7FBE0
monochromatic
#F632D3 #F86CDF #FBA7EC #FEE2F9 #FEE2F9

Accessibility & contrast

On white

1.77
#FBA7EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#FBA7EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBA7EC
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBA7EC#FFFFFF#000000##000000
##FBA7EC1.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6BBEF
Deuteranopia (green-blind)
#BBC7E9
Tritanopia (blue-blind)
#FFABC0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #fba7ec;
/* rgb */ color: rgb(251, 167, 236);
/* oklch */ color: oklch(83.2% 0.131 333.3);
Tailwind
colors: {
  custom: {
    50: '#fec2f2',
    500: '#fba7ec',
    950: '#000000',
  },
}
SCSS
$custom: #fba7ec;
$custom-light: #fec2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fba7ec",
  "rgb": {
    "r": 251,
    "g": 167,
    "b": 236
  },
  "hsl": {
    "h": 310.714,
    "s": 91.304,
    "l": 81.961
  },
  "oklch": {
    "l": 0.83166,
    "c": 0.13118,
    "h": 333.3
  },
  "luminance": 0.54203
}

Semantic roles & 50–950 ramp

primary
#FBA7EC
secondary
#68DE7D
accent
#E62900
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181217
muted
#868285

Preview Lab

Preview with #FBA7EC

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

Preview Lab → · Contrast checker → · Palette generator →

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