#FB8CE4#FB8CE4

#FB8CE4 is a light, vivid pink. Relative luminance 0.449; OKLCH L 78.7% C 0.170 H 335.3°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#FB8CE4
RGBrgb(251, 140, 228)
HSLhsl(312, 93%, 77%)
HSVhsv(312, 44%, 98%)
CMYKcmyk(0%, 44.2%, 9.2%, 1.6%)
CIE-LABlab(72.81, 53.54, -26.39)
CIE-LCHlch(72.81, 59.69, 333.77°)
OKLaboklab(78.72% 0.1546 -0.0712)
OKLCHoklch(78.72% 0.17 335.3)
XYZxyz(63.1653, 44.8707, 78.7176)
Luminance0.4487 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8CE4 #8CFBA3
analogous
#DA8CFB #FB8CE4 #FB8CAD
triadic
#FB8CE4 #E4FB8C #8CE4FB
tetradic
#FB8CE4 #FBDA8C #8CFBA3 #8CADFB
square
#FB8CE4 #FBDA8C #8CFBA3 #8CADFB
split-complementary
#FB8CE4 #ADFB8C #8CFBDA
monochromatic
#F716C8 #F951D6 #FB8CE4 #FDC7F2 #FEE1F8

Accessibility & contrast

On white

2.11
#FB8CE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#FB8CE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8CE4
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8CE4#FFFFFF#000000##000000
##FB8CE41.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA8E7
Deuteranopia (green-blind)
#AAB9E1
Tritanopia (blue-blind)
#FF91AE
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #fb8ce4;
/* rgb */ color: rgb(251, 140, 228);
/* oklch */ color: oklch(78.7% 0.170 335.3);
Tailwind
colors: {
  custom: {
    50: '#ffb0ec',
    500: '#fb8ce4',
    950: '#000000',
  },
}
SCSS
$custom: #fb8ce4;
$custom-light: #ffb0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8ce4",
  "rgb": {
    "r": 251,
    "g": 140,
    "b": 228
  },
  "hsl": {
    "h": 312.432,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7872,
    "c": 0.17016,
    "h": 335.3
  },
  "luminance": 0.44867
}

Semantic roles & 50–950 ramp

primary
#FB8CE4
secondary
#D5F6DC
accent
#E63000
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FB8CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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