#FB7DB2#FB7DB2

#FB7DB2 is a light, vivid pink. Relative luminance 0.384; OKLCH L 74.8% C 0.163 H 355.3°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#FB7DB2
RGBrgb(251, 125, 178)
HSLhsl(335, 94%, 74%)
HSVhsv(335, 50%, 98%)
CMYKcmyk(0%, 50.2%, 29.1%, 1.6%)
CIE-LABlab(68.31, 53.64, -5.37)
CIE-LCHlch(68.31, 53.91, 354.28°)
OKLaboklab(74.8% 0.1625 -0.0135)
OKLCHoklch(74.8% 0.163 355.3)
XYZxyz(55.1553, 38.3958, 46.6171)
Luminance0.3839 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7DB2 #7DFBC6
analogous
#FB7DF1 #FB7DB2 #FB877D
triadic
#FB7DB2 #B2FB7D #7DB2FB
tetradic
#FB7DB2 #F1FB7D #7DFBC6 #877DFB
square
#FB7DB2 #F1FB7D #7DFBC6 #877DFB
split-complementary
#FB7DB2 #7DFB87 #7DF1FB
monochromatic
#F6086C #F9428F #FB7DB2 #FDB8D5 #FEE1ED

Accessibility & contrast

On white

2.42
#FB7DB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#FB7DB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7DB2
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7DB2#FFFFFF#000000##000000
##FB7DB21.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E98B4
Deuteranopia (green-blind)
#AFAFAF
Tritanopia (blue-blind)
#FF7691
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #fb7db2;
/* rgb */ color: rgb(251, 125, 178);
/* oklch */ color: oklch(74.8% 0.163 355.3);
Tailwind
colors: {
  custom: {
    50: '#ffa6c9',
    500: '#fb7db2',
    950: '#000000',
  },
}
SCSS
$custom: #fb7db2;
$custom-light: #ffa6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7db2",
  "rgb": {
    "r": 251,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 334.762,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74805,
    "c": 0.16307,
    "h": 355.3
  },
  "luminance": 0.38391
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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