#FB2DDA#FB2DDA

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

Color values

HEX#FB2DDA
RGBrgb(251, 45, 218)
HSLhsl(310, 96%, 58%)
HSVhsv(310, 82%, 98%)
CMYKcmyk(0%, 82.1%, 13.1%, 1.6%)
CIE-LABlab(59.39, 87.56, -41.64)
CIE-LCHlch(59.39, 96.95, 334.57°)
OKLaboklab(68.76% 0.2575 -0.1138)
OKLCHoklch(68.76% 0.282 336.2)
XYZxyz(53.3779, 27.4531, 68.8039)
Luminance0.2745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB2DDA #2DFB4E
analogous
#B52DFB #FB2DDA #FB2D73
triadic
#FB2DDA #DAFB2D #2DDAFB
tetradic
#FB2DDA #FBB52D #2DFB4E #2D73FB
square
#FB2DDA #FBB52D #2DFB4E #2D73FB
split-complementary
#FB2DDA #73FB2D #2DFBB5
monochromatic
#AA0390 #E604C2 #FB2DDA #FC69E5 #FDA5EF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FB2DDA#FFFFFF#000000##000000
##FB2DDA1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#317CDE
Deuteranopia (green-blind)
#809AD6
Tritanopia (blue-blind)
#FF4185
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #fb2dda;
/* rgb */ color: rgb(251, 45, 218);
/* oklch */ color: oklch(68.8% 0.282 336.2);
Tailwind
colors: {
  custom: {
    50: '#ff81e6',
    500: '#fb2dda',
    950: '#000000',
  },
}
SCSS
$custom: #fb2dda;
$custom-light: #ff81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb2dda",
  "rgb": {
    "r": 251,
    "g": 45,
    "b": 218
  },
  "hsl": {
    "h": 309.612,
    "s": 96.262,
    "l": 58.039
  },
  "oklch": {
    "l": 0.68755,
    "c": 0.28153,
    "h": 336.2
  },
  "luminance": 0.27448
}

Semantic roles & 50–950 ramp

primary
#FB2DDA
secondary
#99EBA6
accent
#FF4B29
background
#FFF8FE
surface
#FFF0FC
border
#D7CBD5
text
#190C16
muted
#877D84

Preview Lab

Preview with #FB2DDA

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

Preview Lab → · Contrast checker → · Palette generator →

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