#FB7FA4#FB7FA4

#FB7FA4 is a light, vivid pink. Relative luminance 0.384; OKLCH L 74.7% C 0.155 H 2.6°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#FB7FA4
RGBrgb(251, 127, 164)
HSLhsl(342, 94%, 74%)
HSVhsv(342, 49%, 98%)
CMYKcmyk(0%, 49.4%, 34.7%, 1.6%)
CIE-LABlab(68.29, 50.97, 2.49)
CIE-LCHlch(68.29, 51.03, 2.79°)
OKLaboklab(74.66% 0.1549 0.0071)
OKLCHoklch(74.66% 0.155 2.6)
XYZxyz(54.0765, 38.3734, 39.6736)
Luminance0.3837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7FA4 #7FFBD6
analogous
#FB7FE2 #FB7FA4 #FB987F
triadic
#FB7FA4 #A4FB7F #7FA4FB
tetradic
#FB7FA4 #E2FB7F #7FFBD6 #987FFB
square
#FB7FA4 #E2FB7F #7FFBD6 #987FFB
split-complementary
#FB7FA4 #7FFB98 #7FE2FB
monochromatic
#F70850 #F9447A #FB7FA4 #FDBACE #FEE1EA

Accessibility & contrast

On white

2.42
#FB7FA4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#FB7FA4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7FA4
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7FA4#FFFFFF#000000##000000
##FB7FA41.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9498A5
Deuteranopia (green-blind)
#B3AFA1
Tritanopia (blue-blind)
#FF758C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #fb7fa4;
/* rgb */ color: rgb(251, 127, 164);
/* oklch */ color: oklch(74.7% 0.155 2.6);
Tailwind
colors: {
  custom: {
    50: '#ffa7be',
    500: '#fb7fa4',
    950: '#000000',
  },
}
SCSS
$custom: #fb7fa4;
$custom-light: #ffa7be;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7fa4",
  "rgb": {
    "r": 251,
    "g": 127,
    "b": 164
  },
  "hsl": {
    "h": 342.097,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74664,
    "c": 0.15505,
    "h": 2.6
  },
  "luminance": 0.38368
}

Semantic roles & 50–950 ramp

primary
#FB7FA4
secondary
#D5F6EC
accent
#E6A100
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #FB7FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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