#FB7FC2#FB7FC2

#FB7FC2 is a light, vivid pink. Relative luminance 0.396; OKLCH L 75.6% C 0.168 H 348.3°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#FB7FC2
RGBrgb(251, 127, 194)
HSLhsl(328, 94%, 74%)
HSVhsv(328, 49%, 98%)
CMYKcmyk(0%, 49.4%, 22.7%, 1.6%)
CIE-LABlab(69.17, 54.79, -13.06)
CIE-LCHlch(69.17, 56.33, 346.59°)
OKLaboklab(75.61% 0.1645 -0.0342)
OKLCHoklch(75.61% 0.168 348.3)
XYZxyz(57.1122, 39.5877, 55.6617)
Luminance0.3958 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7FC2 #7FFBB8
analogous
#F67FFB #FB7FC2 #FB7F84
triadic
#FB7FC2 #C2FB7F #7FC2FB
tetradic
#FB7FC2 #FBF67F #7FFBB8 #7F84FB
square
#FB7FC2 #FBF67F #7FFBB8 #7F84FB
split-complementary
#FB7FC2 #84FB7F #7FFBF6
monochromatic
#F70889 #F944A6 #FB7FC2 #FDBADE #FEE1F1

Accessibility & contrast

On white

2.36
#FB7FC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#FB7FC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7FC2
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7FC2#FFFFFF#000000##000000
##FB7FC21.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9CC4
Deuteranopia (green-blind)
#ACB1BF
Tritanopia (blue-blind)
#FF7C98
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #fb7fc2;
/* rgb */ color: rgb(251, 127, 194);
/* oklch */ color: oklch(75.6% 0.168 348.3);
Tailwind
colors: {
  custom: {
    50: '#ffa8d4',
    500: '#fb7fc2',
    950: '#000000',
  },
}
SCSS
$custom: #fb7fc2;
$custom-light: #ffa8d4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7fc2",
  "rgb": {
    "r": 251,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 327.581,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75615,
    "c": 0.16797,
    "h": 348.3
  },
  "luminance": 0.39583
}

Semantic roles & 50–950 ramp

primary
#FB7FC2
secondary
#D5F6E4
accent
#E66900
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#181014
muted
#867F83

Preview Lab

Preview with #FB7FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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