#FB42DC#FB42DC

#FB42DC is a light, highly saturated pink. Relative luminance 0.296; OKLCH L 70.1% C 0.265 H 335.9°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#FB42DC
RGBrgb(251, 66, 220)
HSLhsl(310, 96%, 62%)
HSVhsv(310, 74%, 98%)
CMYKcmyk(0%, 73.7%, 12.4%, 1.6%)
CIE-LABlab(61.29, 82.63, -39.79)
CIE-LCHlch(61.29, 91.72, 334.29°)
OKLaboklab(70.15% 0.2422 -0.1086)
OKLCHoklch(70.15% 0.265 335.9)
XYZxyz(54.6510, 29.5779, 70.5271)
Luminance0.2957 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB42DC #42FB61
analogous
#BE42FB #FB42DC #FB4280
triadic
#FB42DC #DCFB42 #42DCFB
tetradic
#FB42DC #FBBE42 #42FB61 #4280FB
square
#FB42DC #FBBE42 #42FB61 #4280FB
split-complementary
#FB42DC #80FB42 #42FBBE
monochromatic
#BF049F #FA06D1 #FB42DC #FC7EE7 #FEBAF2

Accessibility & contrast

On white

3.04
#FB42DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#FB42DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FB42DC
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB42DC#FFFFFF#000000##000000
##FB42DC1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482E0
Deuteranopia (green-blind)
#869ED8
Tritanopia (blue-blind)
#FF508B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #fb42dc;
/* rgb */ color: rgb(251, 66, 220);
/* oklch */ color: oklch(70.1% 0.265 335.9);
Tailwind
colors: {
  custom: {
    50: '#ff88e7',
    500: '#fb42dc',
    950: '#000000',
  },
}
SCSS
$custom: #fb42dc;
$custom-light: #ff88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#fb42dc",
  "rgb": {
    "r": 251,
    "g": 66,
    "b": 220
  },
  "hsl": {
    "h": 310.054,
    "s": 95.855,
    "l": 62.157
  },
  "oklch": {
    "l": 0.70146,
    "c": 0.26541,
    "h": 335.9
  },
  "luminance": 0.29573
}

Semantic roles & 50–950 ramp

primary
#FB42DC
secondary
#AAEEB6
accent
#E62600
background
#FFF9FE
surface
#FFF1FC
border
#D7CBD5
text
#190D16
muted
#877E84

Preview Lab

Preview with #FB42DC

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

Preview Lab → · Contrast checker → · Palette generator →

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