#FB7BD9#FB7BD9

#FB7BD9 is a light, vivid pink. Relative luminance 0.397; OKLCH L 75.9% C 0.189 H 338.5°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#FB7BD9
RGBrgb(251, 123, 217)
HSLhsl(316, 94%, 73%)
HSVhsv(316, 51%, 98%)
CMYKcmyk(0%, 51%, 13.5%, 1.6%)
CIE-LABlab(69.25, 60.02, -25.77)
CIE-LCHlch(69.25, 65.32, 336.76°)
OKLaboklab(75.93% 0.176 -0.0693)
OKLCHoklch(75.93% 0.189 338.5)
XYZxyz(59.3916, 39.6893, 70.1649)
Luminance0.3968 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7BD9 #7BFB9D
analogous
#DD7BFB #FB7BD9 #FB7B99
triadic
#FB7BD9 #D9FB7B #7BD9FB
tetradic
#FB7BD9 #FBDD7B #7BFB9D #7B99FB
square
#FB7BD9 #FBDD7B #7BFB9D #7B99FB
split-complementary
#FB7BD9 #99FB7B #7BFBDD
monochromatic
#F407B5 #F940C8 #FB7BD9 #FDB6EA #FEE1F6

Accessibility & contrast

On white

2.35
#FB7BD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#FB7BD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7BD9
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7BD9#FFFFFF#000000##000000
##FB7BD91.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9DDC
Deuteranopia (green-blind)
#A3B0D6
Tritanopia (blue-blind)
#FF7FA0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #fb7bd9;
/* rgb */ color: rgb(251, 123, 217);
/* oklch */ color: oklch(75.9% 0.189 338.5);
Tailwind
colors: {
  custom: {
    50: '#ffa5e5',
    500: '#fb7bd9',
    950: '#000000',
  },
}
SCSS
$custom: #fb7bd9;
$custom-light: #ffa5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7bd9",
  "rgb": {
    "r": 251,
    "g": 123,
    "b": 217
  },
  "hsl": {
    "h": 315.938,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75932,
    "c": 0.18914,
    "h": 338.5
  },
  "luminance": 0.39685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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