#FB7FB2#FB7FB2

#FB7FB2 is a light, vivid pink. Relative luminance 0.389; OKLCH L 75.1% C 0.160 H 355.7°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#FB7FB2
RGBrgb(251, 127, 178)
HSLhsl(335, 94%, 74%)
HSVhsv(335, 49%, 98%)
CMYKcmyk(0%, 49.4%, 29.1%, 1.6%)
CIE-LABlab(68.68, 52.67, -4.82)
CIE-LCHlch(68.68, 52.90, 354.77°)
OKLaboklab(75.09% 0.1596 -0.012)
OKLCHoklch(75.09% 0.16 355.7)
XYZxyz(55.4111, 38.9072, 46.7024)
Luminance0.3890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7FB2 #7FFBC8
analogous
#FB7FF0 #FB7FB2 #FB8A7F
triadic
#FB7FB2 #B2FB7F #7FB2FB
tetradic
#FB7FB2 #F0FB7F #7FFBC8 #8A7FFB
square
#FB7FB2 #F0FB7F #7FFBC8 #8A7FFB
split-complementary
#FB7FB2 #7FFB8A #7FF0FB
monochromatic
#F7086B #F9448E #FB7FB2 #FDBAD6 #FEE1ED

Accessibility & contrast

On white

2.39
#FB7FB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#FB7FB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7FB2
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7FB2#FFFFFF#000000##000000
##FB7FB21.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#909AB4
Deuteranopia (green-blind)
#B0B0AF
Tritanopia (blue-blind)
#FF7892
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #fb7fb2;
/* rgb */ color: rgb(251, 127, 178);
/* oklch */ color: oklch(75.1% 0.160 355.7);
Tailwind
colors: {
  custom: {
    50: '#ffa7c9',
    500: '#fb7fb2',
    950: '#000000',
  },
}
SCSS
$custom: #fb7fb2;
$custom-light: #ffa7c9;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7fb2",
  "rgb": {
    "r": 251,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 335.323,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75085,
    "c": 0.16002,
    "h": 355.7
  },
  "luminance": 0.38902
}

Semantic roles & 50–950 ramp

primary
#FB7FB2
secondary
#D5F6E8
accent
#E68700
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#181013
muted
#867F82

Preview Lab

Preview with #FB7FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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