#FB2EDA#FB2EDA

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

Color values

HEX#FB2EDA
RGBrgb(251, 46, 218)
HSLhsl(310, 96%, 58%)
HSVhsv(310, 82%, 98%)
CMYKcmyk(0%, 81.7%, 13.1%, 1.6%)
CIE-LABlab(59.46, 87.35, -41.53)
CIE-LCHlch(59.46, 96.72, 334.57°)
OKLaboklab(68.81% 0.2569 -0.1134)
OKLCHoklch(68.81% 0.281 336.2)
XYZxyz(53.4165, 27.5303, 68.8168)
Luminance0.2752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB2EDA #2EFB4F
analogous
#B62EFB #FB2EDA #FB2E73
triadic
#FB2EDA #DAFB2E #2EDAFB
tetradic
#FB2EDA #FBB62E #2EFB4F #2E73FB
square
#FB2EDA #FBB62E #2EFB4F #2E73FB
split-complementary
#FB2EDA #73FB2E #2EFBB6
monochromatic
#AB0390 #E704C3 #FB2EDA #FC6AE5 #FDA6EF

Accessibility & contrast

On white

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

On black

6.50
#FB2EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FB2EDA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB2EDA#FFFFFF#000000##000000
##FB2EDA1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#327CDE
Deuteranopia (green-blind)
#819AD6
Tritanopia (blue-blind)
#FF4186
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #fb2eda;
/* rgb */ color: rgb(251, 46, 218);
/* oklch */ color: oklch(68.8% 0.281 336.2);
Tailwind
colors: {
  custom: {
    50: '#ff81e6',
    500: '#fb2eda',
    950: '#000000',
  },
}
SCSS
$custom: #fb2eda;
$custom-light: #ff81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb2eda",
  "rgb": {
    "r": 251,
    "g": 46,
    "b": 218
  },
  "hsl": {
    "h": 309.659,
    "s": 96.244,
    "l": 58.235
  },
  "oklch": {
    "l": 0.68805,
    "c": 0.28084,
    "h": 336.2
  },
  "luminance": 0.27525
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB2EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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