#FB2DDD#FB2DDD

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

Color values

HEX#FB2DDD
RGBrgb(251, 45, 221)
HSLhsl(309, 96%, 58%)
HSVhsv(309, 82%, 98%)
CMYKcmyk(0%, 82.1%, 12%, 1.6%)
CIE-LABlab(59.54, 87.95, -43.11)
CIE-LCHlch(59.54, 97.95, 333.89°)
OKLaboklab(68.91% 0.2577 -0.118)
OKLCHoklch(68.91% 0.283 335.4)
XYZxyz(53.7741, 27.6116, 70.8901)
Luminance0.2761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB2DDD #2DFB4B
analogous
#B22DFB #FB2DDD #FB2D76
triadic
#FB2DDD #DDFB2D #2DDDFB
tetradic
#FB2DDD #FBB22D #2DFB4B #2D76FB
square
#FB2DDD #FBB22D #2DFB4B #2D76FB
split-complementary
#FB2DDD #76FB2D #2DFBB2
monochromatic
#AA0392 #E604C5 #FB2DDD #FC69E7 #FDA5F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FB2DDD#FFFFFF#000000##000000
##FB2DDD1.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)
#2D7CE1
Deuteranopia (green-blind)
#7F9AD9
Tritanopia (blue-blind)
#FF4387
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #fb2ddd;
/* rgb */ color: rgb(251, 45, 221);
/* oklch */ color: oklch(68.9% 0.283 335.4);
Tailwind
colors: {
  custom: {
    50: '#ff81e8',
    500: '#fb2ddd',
    950: '#000000',
  },
}
SCSS
$custom: #fb2ddd;
$custom-light: #ff81e8;
$custom-dark: #000000;
JSON
{
  "hex": "#fb2ddd",
  "rgb": {
    "r": 251,
    "g": 45,
    "b": 221
  },
  "hsl": {
    "h": 308.738,
    "s": 96.262,
    "l": 58.039
  },
  "oklch": {
    "l": 0.68905,
    "c": 0.28338,
    "h": 335.4
  },
  "luminance": 0.27606
}

Semantic roles & 50–950 ramp

primary
#FB2DDD
secondary
#99EBA5
accent
#FF4829
background
#FFF8FE
surface
#FFF0FC
border
#D7CBD5
text
#190C16
muted
#877D84

Preview Lab

Preview with #FB2DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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