#FB7BB2#FB7BB2

#FB7BB2 is a light, vivid pink. Relative luminance 0.379; OKLCH L 74.5% C 0.166 H 354.8°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#FB7BB2
RGBrgb(251, 123, 178)
HSLhsl(334, 94%, 73%)
HSVhsv(334, 51%, 98%)
CMYKcmyk(0%, 51%, 29.1%, 1.6%)
CIE-LABlab(67.94, 54.59, -5.92)
CIE-LCHlch(67.94, 54.91, 353.81°)
OKLaboklab(74.53% 0.1654 -0.0149)
OKLCHoklch(74.53% 0.166 354.8)
XYZxyz(54.9047, 37.8945, 46.5336)
Luminance0.3789 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7BB2 #7BFBC4
analogous
#FB7BF2 #FB7BB2 #FB847B
triadic
#FB7BB2 #B2FB7B #7BB2FB
tetradic
#FB7BB2 #F2FB7B #7BFBC4 #847BFB
square
#FB7BB2 #F2FB7B #7BFBC4 #847BFB
split-complementary
#FB7BB2 #7BFB84 #7BF2FB
monochromatic
#F4076D #F9408F #FB7BB2 #FDB6D5 #FEE1EE

Accessibility & contrast

On white

2.45
#FB7BB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#FB7BB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7BB2
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7BB2#FFFFFF#000000##000000
##FB7BB21.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C97B4
Deuteranopia (green-blind)
#AEAEAF
Tritanopia (blue-blind)
#FF7490
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #fb7bb2;
/* rgb */ color: rgb(251, 123, 178);
/* oklch */ color: oklch(74.5% 0.166 354.8);
Tailwind
colors: {
  custom: {
    50: '#ffa5c9',
    500: '#fb7bb2',
    950: '#000000',
  },
}
SCSS
$custom: #fb7bb2;
$custom-light: #ffa5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7bb2",
  "rgb": {
    "r": 251,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 334.219,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74528,
    "c": 0.16611,
    "h": 354.8
  },
  "luminance": 0.37889
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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