#FB2ED9#FB2ED9

#FB2ED9 is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 68.8% C 0.280 H 336.4°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#FB2ED9
RGBrgb(251, 46, 217)
HSLhsl(310, 96%, 58%)
HSVhsv(310, 82%, 98%)
CMYKcmyk(0%, 81.7%, 13.5%, 1.6%)
CIE-LABlab(59.41, 87.22, -41.04)
CIE-LCHlch(59.41, 96.39, 334.80°)
OKLaboklab(68.76% 0.2569 -0.112)
OKLCHoklch(68.76% 0.28 336.4)
XYZxyz(53.2861, 27.4781, 68.1297)
Luminance0.2747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB2ED9 #2EFB50
analogous
#B62EFB #FB2ED9 #FB2E72
triadic
#FB2ED9 #D9FB2E #2ED9FB
tetradic
#FB2ED9 #FBB62E #2EFB50 #2E72FB
square
#FB2ED9 #FBB62E #2EFB50 #2E72FB
split-complementary
#FB2ED9 #72FB2E #2EFBB6
monochromatic
#AB038F #E704C2 #FB2ED9 #FC6AE4 #FDA6EF

Accessibility & contrast

On white

3.23
#FB2ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#FB2ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FB2ED9
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB2ED9#FFFFFF#000000##000000
##FB2ED91.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#337CDD
Deuteranopia (green-blind)
#819AD5
Tritanopia (blue-blind)
#FF4185
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #fb2ed9;
/* rgb */ color: rgb(251, 46, 217);
/* oklch */ color: oklch(68.8% 0.280 336.4);
Tailwind
colors: {
  custom: {
    50: '#ff81e5',
    500: '#fb2ed9',
    950: '#000000',
  },
}
SCSS
$custom: #fb2ed9;
$custom-light: #ff81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#fb2ed9",
  "rgb": {
    "r": 251,
    "g": 46,
    "b": 217
  },
  "hsl": {
    "h": 309.951,
    "s": 96.244,
    "l": 58.235
  },
  "oklch": {
    "l": 0.68756,
    "c": 0.28023,
    "h": 336.4
  },
  "luminance": 0.27473
}

Semantic roles & 50–950 ramp

primary
#FB2ED9
secondary
#9AEBA7
accent
#FF4C29
background
#FFF8FE
surface
#FFF0FC
border
#D7CBD5
text
#190C16
muted
#877D84

Preview Lab

Preview with #FB2ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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