#FB7DC7#FB7DC7

#FB7DC7 is a light, vivid pink. Relative luminance 0.393; OKLCH L 75.5% C 0.174 H 345.8°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#FB7DC7
RGBrgb(251, 125, 199)
HSLhsl(325, 94%, 74%)
HSVhsv(325, 50%, 98%)
CMYKcmyk(0%, 50.2%, 20.7%, 1.6%)
CIE-LABlab(68.97, 56.44, -16.17)
CIE-LCHlch(68.97, 58.71, 344.02°)
OKLaboklab(75.52% 0.1687 -0.0426)
OKLCHoklch(75.52% 0.174 345.8)
XYZxyz(57.4275, 39.3046, 58.5837)
Luminance0.3930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7DC7 #7DFBB1
analogous
#F07DFB #FB7DC7 #FB7D88
triadic
#FB7DC7 #C7FB7D #7DC7FB
tetradic
#FB7DC7 #FBF07D #7DFBB1 #7D88FB
square
#FB7DC7 #FBF07D #7DFBB1 #7D88FB
split-complementary
#FB7DC7 #88FB7D #7DFBF0
monochromatic
#F60894 #F942AD #FB7DC7 #FDB8E1 #FEE1F2

Accessibility & contrast

On white

2.37
#FB7DC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#FB7DC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7DC7
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7DC7#FFFFFF#000000##000000
##FB7DC71.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#889BC9
Deuteranopia (green-blind)
#AAB0C4
Tritanopia (blue-blind)
#FF7B99
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #fb7dc7;
/* rgb */ color: rgb(251, 125, 199);
/* oklch */ color: oklch(75.5% 0.174 345.8);
Tailwind
colors: {
  custom: {
    50: '#ffa6d8',
    500: '#fb7dc7',
    950: '#000000',
  },
}
SCSS
$custom: #fb7dc7;
$custom-light: #ffa6d8;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7dc7",
  "rgb": {
    "r": 251,
    "g": 125,
    "b": 199
  },
  "hsl": {
    "h": 324.762,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75517,
    "c": 0.17403,
    "h": 345.8
  },
  "luminance": 0.393
}

Semantic roles & 50–950 ramp

primary
#FB7DC7
secondary
#D5F6E3
accent
#E65F00
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#181014
muted
#867F83

Preview Lab

Preview with #FB7DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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