#FB7FC5#FB7FC5

#FB7FC5 is a light, vivid pink. Relative luminance 0.397; OKLCH L 75.7% C 0.170 H 346.9°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#FB7FC5
RGBrgb(251, 127, 197)
HSLhsl(326, 94%, 74%)
HSVhsv(326, 49%, 98%)
CMYKcmyk(0%, 49.4%, 21.5%, 1.6%)
CIE-LABlab(69.27, 55.21, -14.59)
CIE-LCHlch(69.27, 57.10, 345.19°)
OKLaboklab(75.72% 0.1653 -0.0384)
OKLCHoklch(75.72% 0.17 346.9)
XYZxyz(57.4525, 39.7238, 57.4541)
Luminance0.3972 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7FC5 #7FFBB5
analogous
#F37FFB #FB7FC5 #FB7F87
triadic
#FB7FC5 #C5FB7F #7FC5FB
tetradic
#FB7FC5 #FBF37F #7FFBB5 #7F87FB
square
#FB7FC5 #FBF37F #7FFBB5 #7F87FB
split-complementary
#FB7FC5 #87FB7F #7FFBF3
monochromatic
#F7088F #F944AA #FB7FC5 #FDBAE0 #FEE1F2

Accessibility & contrast

On white

2.35
#FB7FC5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#FB7FC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7FC5
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7FC5#FFFFFF#000000##000000
##FB7FC51.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9CC7
Deuteranopia (green-blind)
#ABB1C2
Tritanopia (blue-blind)
#FF7D9A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #fb7fc5;
/* rgb */ color: rgb(251, 127, 197);
/* oklch */ color: oklch(75.7% 0.170 346.9);
Tailwind
colors: {
  custom: {
    50: '#ffa8d6',
    500: '#fb7fc5',
    950: '#000000',
  },
}
SCSS
$custom: #fb7fc5;
$custom-light: #ffa8d6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7fc5",
  "rgb": {
    "r": 251,
    "g": 127,
    "b": 197
  },
  "hsl": {
    "h": 326.129,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7572,
    "c": 0.16969,
    "h": 346.9
  },
  "luminance": 0.39719
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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