#FB7FAC#FB7FAC

#FB7FAC is a light, vivid pink. Relative luminance 0.387; OKLCH L 74.9% C 0.158 H 358.6°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#FB7FAC
RGBrgb(251, 127, 172)
HSLhsl(338, 94%, 74%)
HSVhsv(338, 49%, 98%)
CMYKcmyk(0%, 49.4%, 31.5%, 1.6%)
CIE-LABlab(68.51, 51.93, -1.70)
CIE-LCHlch(68.51, 51.96, 358.12°)
OKLaboklab(74.9% 0.1576 -0.0038)
OKLCHoklch(74.9% 0.158 358.6)
XYZxyz(54.8218, 38.6715, 43.5988)
Luminance0.3867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7FAC #7FFBCE
analogous
#FB7FEA #FB7FAC #FB907F
triadic
#FB7FAC #ACFB7F #7FACFB
tetradic
#FB7FAC #EAFB7F #7FFBCE #907FFB
square
#FB7FAC #EAFB7F #7FFBCE #907FFB
split-complementary
#FB7FAC #7FFB90 #7FEAFB
monochromatic
#F7085F #F94486 #FB7FAC #FDBAD2 #FEE1EC

Accessibility & contrast

On white

2.40
#FB7FAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#FB7FAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7FAC
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7FAC#FFFFFF#000000##000000
##FB7FAC1.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9299AD
Deuteranopia (green-blind)
#B2B0A9
Tritanopia (blue-blind)
#FF768F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #fb7fac;
/* rgb */ color: rgb(251, 127, 172);
/* oklch */ color: oklch(74.9% 0.158 358.6);
Tailwind
colors: {
  custom: {
    50: '#ffa7c4',
    500: '#fb7fac',
    950: '#000000',
  },
}
SCSS
$custom: #fb7fac;
$custom-light: #ffa7c4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7fac",
  "rgb": {
    "r": 251,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 338.226,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.749,
    "c": 0.15766,
    "h": 358.6
  },
  "luminance": 0.38667
}

Semantic roles & 50–950 ramp

primary
#FB7FAC
secondary
#D5F6EA
accent
#E69200
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#181012
muted
#867F81

Preview Lab

Preview with #FB7FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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