#FB48E7#FB48E7

#FB48E7 is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 71.1% C 0.267 H 333.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#FB48E7
RGBrgb(251, 72, 231)
HSLhsl(307, 96%, 63%)
HSVhsv(307, 71%, 98%)
CMYKcmyk(0%, 71.3%, 8%, 1.6%)
CIE-LABlab(62.44, 82.38, -44.16)
CIE-LCHlch(62.44, 93.46, 331.81°)
OKLaboklab(71.14% 0.2376 -0.1212)
OKLCHoklch(71.14% 0.267 333)
XYZxyz(56.5251, 30.9182, 78.5766)
Luminance0.3091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB48E7 #48FB5C
analogous
#B548FB #FB48E7 #FB488D
triadic
#FB48E7 #E7FB48 #48E7FB
tetradic
#FB48E7 #FBB548 #48FB5C #488DFB
square
#FB48E7 #FBB548 #48FB5C #488DFB
split-complementary
#FB48E7 #8DFB48 #48FBB5
monochromatic
#C404AF #FA0CDF #FB48E7 #FC84EF #FEC0F7

Accessibility & contrast

On white

2.92
#FB48E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#FB48E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB48E7
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB48E7#FFFFFF#000000##000000
##FB48E71.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4087EB
Deuteranopia (green-blind)
#83A0E3
Tritanopia (blue-blind)
#FF5A93
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #fb48e7;
/* rgb */ color: rgb(251, 72, 231);
/* oklch */ color: oklch(71.1% 0.267 333.0);
Tailwind
colors: {
  custom: {
    50: '#ff8bef',
    500: '#fb48e7',
    950: '#000000',
  },
}
SCSS
$custom: #fb48e7;
$custom-light: #ff8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#fb48e7",
  "rgb": {
    "r": 251,
    "g": 72,
    "b": 231
  },
  "hsl": {
    "h": 306.704,
    "s": 95.722,
    "l": 63.333
  },
  "oklch": {
    "l": 0.71141,
    "c": 0.26672,
    "h": 333
  },
  "luminance": 0.30913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB48E7

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

Preview Lab → · Contrast checker → · Palette generator →

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