#FB2EDB#FB2EDB

#FB2EDB is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 68.9% C 0.281 H 335.9°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#FB2EDB
RGBrgb(251, 46, 219)
HSLhsl(309, 96%, 58%)
HSVhsv(309, 82%, 98%)
CMYKcmyk(0%, 81.7%, 12.7%, 1.6%)
CIE-LABlab(59.51, 87.48, -42.02)
CIE-LCHlch(59.51, 97.05, 334.34°)
OKLaboklab(68.86% 0.257 -0.1149)
OKLCHoklch(68.86% 0.281 335.9)
XYZxyz(53.5478, 27.5828, 69.5080)
Luminance0.2758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB2EDB #2EFB4E
analogous
#B42EFB #FB2EDB #FB2E74
triadic
#FB2EDB #DBFB2E #2EDBFB
tetradic
#FB2EDB #FBB42E #2EFB4E #2E74FB
square
#FB2EDB #FBB42E #2EFB4E #2E74FB
split-complementary
#FB2EDB #74FB2E #2EFBB4
monochromatic
#AB0391 #E704C4 #FB2EDB #FC6AE5 #FDA6F0

Accessibility & contrast

On white

3.22
#FB2EDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#FB2EDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FB2EDB
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB2EDB#FFFFFF#000000##000000
##FB2EDB1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#317CDF
Deuteranopia (green-blind)
#809AD7
Tritanopia (blue-blind)
#FF4286
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #fb2edb;
/* rgb */ color: rgb(251, 46, 219);
/* oklch */ color: oklch(68.9% 0.281 335.9);
Tailwind
colors: {
  custom: {
    50: '#ff81e6',
    500: '#fb2edb',
    950: '#000000',
  },
}
SCSS
$custom: #fb2edb;
$custom-light: #ff81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb2edb",
  "rgb": {
    "r": 251,
    "g": 46,
    "b": 219
  },
  "hsl": {
    "h": 309.366,
    "s": 96.244,
    "l": 58.235
  },
  "oklch": {
    "l": 0.68855,
    "c": 0.28146,
    "h": 335.9
  },
  "luminance": 0.27578
}

Semantic roles & 50–950 ramp

primary
#FB2EDB
secondary
#9AEBA6
accent
#FF4A29
background
#FFF8FE
surface
#FFF0FC
border
#D7CBD5
text
#190C16
muted
#877D84

Preview Lab

Preview with #FB2EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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