#FB7AC6#FB7AC6

#FB7AC6 is a light, vivid pink. Relative luminance 0.385; OKLCH L 75.1% C 0.178 H 345.9°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#FB7AC6
RGBrgb(251, 122, 198)
HSLhsl(325, 94%, 73%)
HSVhsv(325, 51%, 98%)
CMYKcmyk(0%, 51.4%, 21.1%, 1.6%)
CIE-LABlab(68.39, 57.72, -16.48)
CIE-LCHlch(68.39, 60.03, 344.07°)
OKLaboklab(75.08% 0.1727 -0.0435)
OKLCHoklch(75.08% 0.178 345.9)
XYZxyz(56.9377, 38.5102, 57.8496)
Luminance0.3851 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7AC6 #7AFBAF
analogous
#EF7AFB #FB7AC6 #FB7A85
triadic
#FB7AC6 #C6FB7A #7AC6FB
tetradic
#FB7AC6 #FBEF7A #7AFBAF #7A85FB
square
#FB7AC6 #FBEF7A #7AFBAF #7A85FB
split-complementary
#FB7AC6 #85FB7A #7AFBEF
monochromatic
#F30792 #F93FAD #FB7AC6 #FDB5DF #FEE1F2

Accessibility & contrast

On white

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

On black

8.70
#FB7AC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7AC6
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7AC6#FFFFFF#000000##000000
##FB7AC61.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8599C9
Deuteranopia (green-blind)
#A8AFC3
Tritanopia (blue-blind)
#FF7897
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #fb7ac6;
/* rgb */ color: rgb(251, 122, 198);
/* oklch */ color: oklch(75.1% 0.178 345.9);
Tailwind
colors: {
  custom: {
    50: '#ffa5d7',
    500: '#fb7ac6',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ac6;
$custom-light: #ffa5d7;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ac6",
  "rgb": {
    "r": 251,
    "g": 122,
    "b": 198
  },
  "hsl": {
    "h": 324.651,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75075,
    "c": 0.17811,
    "h": 345.9
  },
  "luminance": 0.38506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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