#FB50E3#FB50E3

#FB50E3 is a light, highly saturated purple. Relative luminance 0.318; OKLCH L 71.6% C 0.255 H 334.1°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#FB50E3
RGBrgb(251, 80, 227)
HSLhsl(308, 96%, 65%)
HSVhsv(308, 68%, 98%)
CMYKcmyk(0%, 68.1%, 9.6%, 1.6%)
CIE-LABlab(63.17, 79.18, -40.76)
CIE-LCHlch(63.17, 89.06, 332.76°)
OKLaboklab(71.61% 0.2297 -0.1115)
OKLCHoklch(71.61% 0.255 334.1)
XYZxyz(56.5179, 31.7973, 75.8190)
Luminance0.3179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB50E3 #50FB68
analogous
#BD50FB #FB50E3 #FB508E
triadic
#FB50E3 #E3FB50 #50E3FB
tetradic
#FB50E3 #FBBD50 #50FB68 #508EFB
square
#FB50E3 #FBBD50 #50FB68 #508EFB
split-complementary
#FB50E3 #8EFB50 #50FBBD
monochromatic
#CC05B0 #FA14D9 #FB50E3 #FC8CED #FEC8F6

Accessibility & contrast

On white

2.85
#FB50E3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#FB50E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB50E3
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB50E3#FFFFFF#000000##000000
##FB50E31.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D89E7
Deuteranopia (green-blind)
#89A2DF
Tritanopia (blue-blind)
#FF5E93
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #fb50e3;
/* rgb */ color: rgb(251, 80, 227);
/* oklch */ color: oklch(71.6% 0.255 334.1);
Tailwind
colors: {
  custom: {
    50: '#ff8eec',
    500: '#fb50e3',
    950: '#000000',
  },
}
SCSS
$custom: #fb50e3;
$custom-light: #ff8eec;
$custom-dark: #000000;
JSON
{
  "hex": "#fb50e3",
  "rgb": {
    "r": 251,
    "g": 80,
    "b": 227
  },
  "hsl": {
    "h": 308.421,
    "s": 95.531,
    "l": 64.902
  },
  "oklch": {
    "l": 0.71612,
    "c": 0.25528,
    "h": 334.1
  },
  "luminance": 0.31793
}

Semantic roles & 50–950 ramp

primary
#FB50E3
secondary
#B6F1BE
accent
#E62000
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190D16
muted
#877E84

Preview Lab

Preview with #FB50E3

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

Preview Lab → · Contrast checker → · Palette generator →

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