#FB7FA2#FB7FA2

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

Color values

HEX#FB7FA2
RGBrgb(251, 127, 162)
HSLhsl(343, 94%, 74%)
HSVhsv(343, 49%, 98%)
CMYKcmyk(0%, 49.4%, 35.5%, 1.6%)
CIE-LABlab(68.24, 50.74, 3.54)
CIE-LCHlch(68.24, 50.86, 3.99°)
OKLaboklab(74.61% 0.1542 0.0098)
OKLCHoklch(74.61% 0.155 3.6)
XYZxyz(53.8973, 38.3017, 38.7299)
Luminance0.3830 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7FA2 #7FFBD8
analogous
#FB7FE0 #FB7FA2 #FB9A7F
triadic
#FB7FA2 #A2FB7F #7FA2FB
tetradic
#FB7FA2 #E0FB7F #7FFBD8 #9A7FFB
square
#FB7FA2 #E0FB7F #7FFBD8 #9A7FFB
split-complementary
#FB7FA2 #7FFB9A #7FE0FB
monochromatic
#F7084C #F94477 #FB7FA2 #FDBACD #FEE1E9

Accessibility & contrast

On white

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

On black

8.66
#FB7FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7FA2
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7FA2#FFFFFF#000000##000000
##FB7FA21.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9498A3
Deuteranopia (green-blind)
#B4AF9F
Tritanopia (blue-blind)
#FF748C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #fb7fa2;
/* rgb */ color: rgb(251, 127, 162);
/* oklch */ color: oklch(74.6% 0.154 3.6);
Tailwind
colors: {
  custom: {
    50: '#ffa7bd',
    500: '#fb7fa2',
    950: '#000000',
  },
}
SCSS
$custom: #fb7fa2;
$custom-light: #ffa7bd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7fa2",
  "rgb": {
    "r": 251,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 343.065,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74607,
    "c": 0.1545,
    "h": 3.6
  },
  "luminance": 0.38297
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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