#FB2EDC#FB2EDC

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

Color values

HEX#FB2EDC
RGBrgb(251, 46, 220)
HSLhsl(309, 96%, 58%)
HSVhsv(309, 82%, 98%)
CMYKcmyk(0%, 81.7%, 12.4%, 1.6%)
CIE-LABlab(59.56, 87.61, -42.51)
CIE-LCHlch(59.56, 97.38, 334.12°)
OKLaboklab(68.91% 0.257 -0.1163)
OKLCHoklch(68.91% 0.282 335.7)
XYZxyz(53.6798, 27.6356, 70.2034)
Luminance0.2763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB2EDC #2EFB4D
analogous
#B32EFB #FB2EDC #FB2E75
triadic
#FB2EDC #DCFB2E #2EDCFB
tetradic
#FB2EDC #FBB32E #2EFB4D #2E75FB
square
#FB2EDC #FBB32E #2EFB4D #2E75FB
split-complementary
#FB2EDC #75FB2E #2EFBB3
monochromatic
#AB0392 #E704C5 #FB2EDC #FC6AE6 #FDA6F0

Accessibility & contrast

On white

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

On black

6.53
#FB2EDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FB2EDC
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB2EDC#FFFFFF#000000##000000
##FB2EDC1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#307CE0
Deuteranopia (green-blind)
#809AD8
Tritanopia (blue-blind)
#FF4387
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #fb2edc;
/* rgb */ color: rgb(251, 46, 220);
/* oklch */ color: oklch(68.9% 0.282 335.7);
Tailwind
colors: {
  custom: {
    50: '#ff81e7',
    500: '#fb2edc',
    950: '#000000',
  },
}
SCSS
$custom: #fb2edc;
$custom-light: #ff81e7;
$custom-dark: #000000;
JSON
{
  "hex": "#fb2edc",
  "rgb": {
    "r": 251,
    "g": 46,
    "b": 220
  },
  "hsl": {
    "h": 309.073,
    "s": 96.244,
    "l": 58.235
  },
  "oklch": {
    "l": 0.68905,
    "c": 0.28208,
    "h": 335.7
  },
  "luminance": 0.27631
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB2EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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