#FB7DAB#FB7DAB

#FB7DAB is a light, vivid pink. Relative luminance 0.381; OKLCH L 74.6% C 0.160 H 358.6°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#FB7DAB
RGBrgb(251, 125, 171)
HSLhsl(338, 94%, 74%)
HSVhsv(338, 50%, 98%)
CMYKcmyk(0%, 50.2%, 31.9%, 1.6%)
CIE-LABlab(68.11, 52.77, -1.73)
CIE-LCHlch(68.11, 52.80, 358.12°)
OKLaboklab(74.59% 0.1602 -0.0038)
OKLCHoklch(74.59% 0.16 358.6)
XYZxyz(54.4704, 38.1218, 43.0097)
Luminance0.3812 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7DAB #7DFBCD
analogous
#FB7DEA #FB7DAB #FB8E7D
triadic
#FB7DAB #ABFB7D #7DABFB
tetradic
#FB7DAB #EAFB7D #7DFBCD #8E7DFB
square
#FB7DAB #EAFB7D #7DFBCD #8E7DFB
split-complementary
#FB7DAB #7DFB8E #7DEAFB
monochromatic
#F6085F #F94285 #FB7DAB #FDB8D1 #FEE1EC

Accessibility & contrast

On white

2.44
#FB7DAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#FB7DAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7DAB
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7DAB#FFFFFF#000000##000000
##FB7DAB1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9098AC
Deuteranopia (green-blind)
#B1AFA8
Tritanopia (blue-blind)
#FF748E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #fb7dab;
/* rgb */ color: rgb(251, 125, 171);
/* oklch */ color: oklch(74.6% 0.160 358.6);
Tailwind
colors: {
  custom: {
    50: '#ffa6c3',
    500: '#fb7dab',
    950: '#000000',
  },
}
SCSS
$custom: #fb7dab;
$custom-light: #ffa6c3;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7dab",
  "rgb": {
    "r": 251,
    "g": 125,
    "b": 171
  },
  "hsl": {
    "h": 338.095,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74588,
    "c": 0.16029,
    "h": 358.6
  },
  "luminance": 0.38117
}

Semantic roles & 50–950 ramp

primary
#FB7DAB
secondary
#D5F6EA
accent
#E69200
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#181012
muted
#867F81

Preview Lab

Preview with #FB7DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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