#FB48E4#FB48E4

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

Color values

HEX#FB48E4
RGBrgb(251, 72, 228)
HSLhsl(308, 96%, 63%)
HSVhsv(308, 71%, 98%)
CMYKcmyk(0%, 71.3%, 9.2%, 1.6%)
CIE-LABlab(62.30, 81.94, -42.70)
CIE-LCHlch(62.30, 92.40, 332.48°)
OKLaboklab(70.99% 0.2374 -0.117)
OKLCHoklch(70.99% 0.265 333.8)
XYZxyz(56.1051, 30.7502, 76.3642)
Luminance0.3075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB48E4 #48FB5F
analogous
#B848FB #FB48E4 #FB488B
triadic
#FB48E4 #E4FB48 #48E4FB
tetradic
#FB48E4 #FBB848 #48FB5F #488BFB
square
#FB48E4 #FBB848 #48FB5F #488BFB
split-complementary
#FB48E4 #8BFB48 #48FBB8
monochromatic
#C404AC #FA0CDB #FB48E4 #FC84ED #FEC0F6

Accessibility & contrast

On white

2.94
#FB48E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#FB48E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB48E4
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB48E4#FFFFFF#000000##000000
##FB48E41.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4386E8
Deuteranopia (green-blind)
#85A0E0
Tritanopia (blue-blind)
#FF5991
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #fb48e4;
/* rgb */ color: rgb(251, 72, 228);
/* oklch */ color: oklch(71.0% 0.265 333.8);
Tailwind
colors: {
  custom: {
    50: '#ff8bed',
    500: '#fb48e4',
    950: '#000000',
  },
}
SCSS
$custom: #fb48e4;
$custom-light: #ff8bed;
$custom-dark: #000000;
JSON
{
  "hex": "#fb48e4",
  "rgb": {
    "r": 251,
    "g": 72,
    "b": 228
  },
  "hsl": {
    "h": 307.709,
    "s": 95.722,
    "l": 63.333
  },
  "oklch": {
    "l": 0.70993,
    "c": 0.26468,
    "h": 333.8
  },
  "luminance": 0.30745
}

Semantic roles & 50–950 ramp

primary
#FB48E4
secondary
#B0EFB8
accent
#E61D00
background
#FFF9FE
surface
#FFF1FD
border
#D7CBD5
text
#190D16
muted
#877E84

Preview Lab

Preview with #FB48E4

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

Preview Lab → · Contrast checker → · Palette generator →

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