#FB7CD9#FB7CD9

#FB7CD9 is a light, vivid pink. Relative luminance 0.399; OKLCH L 76.1% C 0.188 H 338.6°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#FB7CD9
RGBrgb(251, 124, 217)
HSLhsl(316, 94%, 74%)
HSVhsv(316, 51%, 98%)
CMYKcmyk(0%, 50.6%, 13.5%, 1.6%)
CIE-LABlab(69.43, 59.55, -25.50)
CIE-LCHlch(69.43, 64.78, 336.82°)
OKLaboklab(76.06% 0.1746 -0.0685)
OKLCHoklch(76.06% 0.188 338.6)
XYZxyz(59.5163, 39.9386, 70.2064)
Luminance0.3993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7CD9 #7CFB9E
analogous
#DD7CFB #FB7CD9 #FB7C99
triadic
#FB7CD9 #D9FB7C #7CD9FB
tetradic
#FB7CD9 #FBDD7C #7CFB9E #7C99FB
square
#FB7CD9 #FBDD7C #7CFB9E #7C99FB
split-complementary
#FB7CD9 #99FB7C #7CFBDD
monochromatic
#F507B5 #F941C8 #FB7CD9 #FDB7EA #FEE1F6

Accessibility & contrast

On white

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

On black

8.99
#FB7CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7CD9
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7CD9#FFFFFF#000000##000000
##FB7CD91.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#809DDC
Deuteranopia (green-blind)
#A4B1D6
Tritanopia (blue-blind)
#FF80A1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #fb7cd9;
/* rgb */ color: rgb(251, 124, 217);
/* oklch */ color: oklch(76.1% 0.188 338.6);
Tailwind
colors: {
  custom: {
    50: '#ffa6e5',
    500: '#fb7cd9',
    950: '#000000',
  },
}
SCSS
$custom: #fb7cd9;
$custom-light: #ffa6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7cd9",
  "rgb": {
    "r": 251,
    "g": 124,
    "b": 217
  },
  "hsl": {
    "h": 316.063,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76064,
    "c": 0.18758,
    "h": 338.6
  },
  "luminance": 0.39934
}

Semantic roles & 50–950 ramp

primary
#FB7CD9
secondary
#D5F6DE
accent
#E63D00
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#181015
muted
#867F84

Preview Lab

Preview with #FB7CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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