#FB48E5#FB48E5

#FB48E5 is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 71.0% C 0.265 H 333.5°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#FB48E5
RGBrgb(251, 72, 229)
HSLhsl(307, 96%, 63%)
HSVhsv(307, 71%, 98%)
CMYKcmyk(0%, 71.3%, 8.8%, 1.6%)
CIE-LABlab(62.34, 82.09, -43.19)
CIE-LCHlch(62.34, 92.75, 332.25°)
OKLaboklab(71.04% 0.2375 -0.1184)
OKLCHoklch(71.04% 0.265 333.5)
XYZxyz(56.2443, 30.8059, 77.0974)
Luminance0.3080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB48E5 #48FB5E
analogous
#B748FB #FB48E5 #FB488B
triadic
#FB48E5 #E5FB48 #48E5FB
tetradic
#FB48E5 #FBB748 #48FB5E #488BFB
square
#FB48E5 #FBB748 #48FB5E #488BFB
split-complementary
#FB48E5 #8BFB48 #48FBB7
monochromatic
#C404AD #FA0CDC #FB48E5 #FC84EE #FEC0F6

Accessibility & contrast

On white

2.93
#FB48E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#FB48E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB48E5
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB48E5#FFFFFF#000000##000000
##FB48E51.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4286E9
Deuteranopia (green-blind)
#84A0E1
Tritanopia (blue-blind)
#FF5992
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #fb48e5;
/* rgb */ color: rgb(251, 72, 229);
/* oklch */ color: oklch(71.0% 0.265 333.5);
Tailwind
colors: {
  custom: {
    50: '#ff8bed',
    500: '#fb48e5',
    950: '#000000',
  },
}
SCSS
$custom: #fb48e5;
$custom-light: #ff8bed;
$custom-dark: #000000;
JSON
{
  "hex": "#fb48e5",
  "rgb": {
    "r": 251,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 307.374,
    "s": 95.722,
    "l": 63.333
  },
  "oklch": {
    "l": 0.71042,
    "c": 0.26536,
    "h": 333.5
  },
  "luminance": 0.30801
}

Semantic roles & 50–950 ramp

primary
#FB48E5
secondary
#B0EFB7
accent
#E61C00
background
#FFF9FE
surface
#FFF1FD
border
#D7CBD5
text
#190D16
muted
#877E84

Preview Lab

Preview with #FB48E5

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

Preview Lab → · Contrast checker → · Palette generator →

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