#FB4CD7#FB4CD7

#FB4CD7 is a light, highly saturated pink. Relative luminance 0.306; OKLCH L 70.7% C 0.252 H 337.4°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#FB4CD7
RGBrgb(251, 76, 215)
HSLhsl(312, 96%, 64%)
HSVhsv(312, 70%, 98%)
CMYKcmyk(0%, 69.7%, 14.3%, 1.6%)
CIE-LABlab(62.16, 78.84, -35.61)
CIE-LCHlch(62.16, 86.51, 335.69°)
OKLaboklab(70.7% 0.2324 -0.0967)
OKLCHoklch(70.7% 0.252 337.4)
XYZxyz(54.6349, 30.5894, 67.3037)
Luminance0.3058 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB4CD7 #4CFB70
analogous
#C84CFB #FB4CD7 #FB4C80
triadic
#FB4CD7 #D7FB4C #4CD7FB
tetradic
#FB4CD7 #FBC84C #4CFB70 #4C80FB
square
#FB4CD7 #FBC84C #4CFB70 #4C80FB
split-complementary
#FB4CD7 #80FB4C #4CFBC8
monochromatic
#C804A0 #FA10CA #FB4CD7 #FC88E4 #FEC4F2

Accessibility & contrast

On white

2.95
#FB4CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#FB4CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB4CD7
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB4CD7#FFFFFF#000000##000000
##FB4CD71.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5285DB
Deuteranopia (green-blind)
#8CA0D3
Tritanopia (blue-blind)
#FF558C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #fb4cd7;
/* rgb */ color: rgb(251, 76, 215);
/* oklch */ color: oklch(70.7% 0.252 337.4);
Tailwind
colors: {
  custom: {
    50: '#ff8ce3',
    500: '#fb4cd7',
    950: '#000000',
  },
}
SCSS
$custom: #fb4cd7;
$custom-light: #ff8ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#fb4cd7",
  "rgb": {
    "r": 251,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 312.343,
    "s": 95.628,
    "l": 64.118
  },
  "oklch": {
    "l": 0.70702,
    "c": 0.25173,
    "h": 337.4
  },
  "luminance": 0.30584
}

Semantic roles & 50–950 ramp

primary
#FB4CD7
secondary
#B3F0BF
accent
#E62F00
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#190D15
muted
#877E83

Preview Lab

Preview with #FB4CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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