#FB7CD8#FB7CD8

#FB7CD8 is a light, vivid pink. Relative luminance 0.399; OKLCH L 76.0% C 0.187 H 338.9°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#FB7CD8
RGBrgb(251, 124, 216)
HSLhsl(317, 94%, 74%)
HSVhsv(317, 51%, 98%)
CMYKcmyk(0%, 50.6%, 13.9%, 1.6%)
CIE-LABlab(69.39, 59.40, -25.00)
CIE-LCHlch(69.39, 64.44, 337.17°)
OKLaboklab(76.02% 0.1744 -0.0671)
OKLCHoklch(76.02% 0.187 338.9)
XYZxyz(59.3866, 39.8868, 69.5235)
Luminance0.3988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7CD8 #7CFB9F
analogous
#DE7CFB #FB7CD8 #FB7C98
triadic
#FB7CD8 #D8FB7C #7CD8FB
tetradic
#FB7CD8 #FBDE7C #7CFB9F #7C98FB
square
#FB7CD8 #FBDE7C #7CFB9F #7C98FB
split-complementary
#FB7CD8 #98FB7C #7CFBDE
monochromatic
#F507B4 #F941C6 #FB7CD8 #FDB7EA #FEE1F6

Accessibility & contrast

On white

2.34
#FB7CD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#FB7CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7CD8
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7CD8#FFFFFF#000000##000000
##FB7CD81.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#819DDB
Deuteranopia (green-blind)
#A4B1D5
Tritanopia (blue-blind)
#FF7FA0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #fb7cd8;
/* rgb */ color: rgb(251, 124, 216);
/* oklch */ color: oklch(76.0% 0.187 338.9);
Tailwind
colors: {
  custom: {
    50: '#ffa6e4',
    500: '#fb7cd8',
    950: '#000000',
  },
}
SCSS
$custom: #fb7cd8;
$custom-light: #ffa6e4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7cd8",
  "rgb": {
    "r": 251,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 316.535,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76025,
    "c": 0.18686,
    "h": 338.9
  },
  "luminance": 0.39882
}

Semantic roles & 50–950 ramp

primary
#FB7CD8
secondary
#D5F6DE
accent
#E63F00
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#181015
muted
#867F83

Preview Lab

Preview with #FB7CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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