#FB2ED8#FB2ED8

#FB2ED8 is a light, highly saturated pink. Relative luminance 0.274; OKLCH L 68.7% C 0.280 H 336.7°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#FB2ED8
RGBrgb(251, 46, 216)
HSLhsl(310, 96%, 58%)
HSVhsv(310, 82%, 98%)
CMYKcmyk(0%, 81.7%, 13.9%, 1.6%)
CIE-LABlab(59.37, 87.09, -40.55)
CIE-LCHlch(59.37, 96.07, 335.04°)
OKLaboklab(68.71% 0.2568 -0.1106)
OKLCHoklch(68.71% 0.28 336.7)
XYZxyz(53.1564, 27.4263, 67.4467)
Luminance0.2742 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB2ED8 #2EFB51
analogous
#B72EFB #FB2ED8 #FB2E71
triadic
#FB2ED8 #D8FB2E #2ED8FB
tetradic
#FB2ED8 #FBB72E #2EFB51 #2E71FB
square
#FB2ED8 #FBB72E #2EFB51 #2E71FB
split-complementary
#FB2ED8 #71FB2E #2EFBB7
monochromatic
#AB038F #E704C1 #FB2ED8 #FC6AE3 #FDA6EE

Accessibility & contrast

On white

3.24
#FB2ED8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#FB2ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FB2ED8
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB2ED8#FFFFFF#000000##000000
##FB2ED81.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#357CDC
Deuteranopia (green-blind)
#819AD4
Tritanopia (blue-blind)
#FF4084
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #fb2ed8;
/* rgb */ color: rgb(251, 46, 216);
/* oklch */ color: oklch(68.7% 0.280 336.7);
Tailwind
colors: {
  custom: {
    50: '#ff81e4',
    500: '#fb2ed8',
    950: '#000000',
  },
}
SCSS
$custom: #fb2ed8;
$custom-light: #ff81e4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb2ed8",
  "rgb": {
    "r": 251,
    "g": 46,
    "b": 216
  },
  "hsl": {
    "h": 310.244,
    "s": 96.244,
    "l": 58.235
  },
  "oklch": {
    "l": 0.68706,
    "c": 0.27962,
    "h": 336.7
  },
  "luminance": 0.27421
}

Semantic roles & 50–950 ramp

primary
#FB2ED8
secondary
#9AEBA8
accent
#FF4D29
background
#FFF8FE
surface
#FFF0FC
border
#D7CBD5
text
#190C15
muted
#877D84

Preview Lab

Preview with #FB2ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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