#FB7FA8#FB7FA8

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

Color values

HEX#FB7FA8
RGBrgb(251, 127, 168)
HSLhsl(340, 94%, 74%)
HSVhsv(340, 49%, 98%)
CMYKcmyk(0%, 49.4%, 33.1%, 1.6%)
CIE-LABlab(68.40, 51.44, 0.39)
CIE-LCHlch(68.40, 51.44, 0.43°)
OKLaboklab(74.78% 0.1563 0.0017)
OKLCHoklch(74.78% 0.156 0.6)
XYZxyz(54.4434, 38.5202, 41.6060)
Luminance0.3851 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7FA8 #7FFBD2
analogous
#FB7FE6 #FB7FA8 #FB947F
triadic
#FB7FA8 #A8FB7F #7FA8FB
tetradic
#FB7FA8 #E6FB7F #7FFBD2 #947FFB
square
#FB7FA8 #E6FB7F #7FFBD2 #947FFB
split-complementary
#FB7FA8 #7FFB94 #7FE6FB
monochromatic
#F70857 #F94480 #FB7FA8 #FDBAD0 #FEE1EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FB7FA8#FFFFFF#000000##000000
##FB7FA81.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)
#9398A9
Deuteranopia (green-blind)
#B2B0A5
Tritanopia (blue-blind)
#FF768E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #fb7fa8;
/* rgb */ color: rgb(251, 127, 168);
/* oklch */ color: oklch(74.8% 0.156 0.6);
Tailwind
colors: {
  custom: {
    50: '#ffa7c1',
    500: '#fb7fa8',
    950: '#000000',
  },
}
SCSS
$custom: #fb7fa8;
$custom-light: #ffa7c1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7fa8",
  "rgb": {
    "r": 251,
    "g": 127,
    "b": 168
  },
  "hsl": {
    "h": 340.161,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7478,
    "c": 0.15627,
    "h": 0.6
  },
  "luminance": 0.38515
}

Semantic roles & 50–950 ramp

primary
#FB7FA8
secondary
#D5F6EB
accent
#E69A00
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #FB7FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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