#FB7FA1#FB7FA1

#FB7FA1 is a light, vivid pink. Relative luminance 0.383; OKLCH L 74.6% C 0.154 H 4.2°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#FB7FA1
RGBrgb(251, 127, 161)
HSLhsl(344, 94%, 74%)
HSVhsv(344, 49%, 98%)
CMYKcmyk(0%, 49.4%, 35.9%, 1.6%)
CIE-LABlab(68.22, 50.62, 4.06)
CIE-LCHlch(68.22, 50.79, 4.59°)
OKLaboklab(74.58% 0.1538 0.0112)
OKLCHoklch(74.58% 0.154 4.2)
XYZxyz(53.8088, 38.2663, 38.2636)
Luminance0.3826 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7FA1 #7FFBD9
analogous
#FB7FDF #FB7FA1 #FB9B7F
triadic
#FB7FA1 #A1FB7F #7FA1FB
tetradic
#FB7FA1 #DFFB7F #7FFBD9 #9B7FFB
square
#FB7FA1 #DFFB7F #7FFBD9 #9B7FFB
split-complementary
#FB7FA1 #7FFB9B #7FDFFB
monochromatic
#F7084A #F94475 #FB7FA1 #FDBACD #FEE1E9

Accessibility & contrast

On white

2.43
#FB7FA1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#FB7FA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7FA1
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7FA1#FFFFFF#000000##000000
##FB7FA11.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9498A2
Deuteranopia (green-blind)
#B4AF9E
Tritanopia (blue-blind)
#FF748B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #fb7fa1;
/* rgb */ color: rgb(251, 127, 161);
/* oklch */ color: oklch(74.6% 0.154 4.2);
Tailwind
colors: {
  custom: {
    50: '#ffa7bc',
    500: '#fb7fa1',
    950: '#000000',
  },
}
SCSS
$custom: #fb7fa1;
$custom-light: #ffa7bc;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7fa1",
  "rgb": {
    "r": 251,
    "g": 127,
    "b": 161
  },
  "hsl": {
    "h": 343.548,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74579,
    "c": 0.15425,
    "h": 4.2
  },
  "luminance": 0.38261
}

Semantic roles & 50–950 ramp

primary
#FB7FA1
secondary
#D5F6ED
accent
#E6A700
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #FB7FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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