#FB7AC7#FB7AC7

#FB7AC7 is a light, vivid pink. Relative luminance 0.386; OKLCH L 75.1% C 0.179 H 345.5°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#FB7AC7
RGBrgb(251, 122, 199)
HSLhsl(324, 94%, 73%)
HSVhsv(324, 51%, 98%)
CMYKcmyk(0%, 51.4%, 20.7%, 1.6%)
CIE-LABlab(68.43, 57.86, -16.99)
CIE-LCHlch(68.43, 60.30, 343.64°)
OKLaboklab(75.11% 0.173 -0.0449)
OKLCHoklch(75.11% 0.179 345.5)
XYZxyz(57.0534, 38.5565, 58.4590)
Luminance0.3855 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7AC7 #7AFBAE
analogous
#EE7AFB #FB7AC7 #FB7A86
triadic
#FB7AC7 #C7FB7A #7AC7FB
tetradic
#FB7AC7 #FBEE7A #7AFBAE #7A86FB
square
#FB7AC7 #FBEE7A #7AFBAE #7A86FB
split-complementary
#FB7AC7 #86FB7A #7AFBEE
monochromatic
#F30794 #F93FAE #FB7AC7 #FDB5E0 #FEE1F2

Accessibility & contrast

On white

2.41
#FB7AC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#FB7AC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7AC7
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7AC7#FFFFFF#000000##000000
##FB7AC71.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8599CA
Deuteranopia (green-blind)
#A8AFC4
Tritanopia (blue-blind)
#FF7998
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #fb7ac7;
/* rgb */ color: rgb(251, 122, 199);
/* oklch */ color: oklch(75.1% 0.179 345.5);
Tailwind
colors: {
  custom: {
    50: '#ffa5d8',
    500: '#fb7ac7',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ac7;
$custom-light: #ffa5d8;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ac7",
  "rgb": {
    "r": 251,
    "g": 122,
    "b": 199
  },
  "hsl": {
    "h": 324.186,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75112,
    "c": 0.17872,
    "h": 345.5
  },
  "luminance": 0.38552
}

Semantic roles & 50–950 ramp

primary
#FB7AC7
secondary
#D5F6E2
accent
#E65D00
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#181014
muted
#867F83

Preview Lab

Preview with #FB7AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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