#FB7FA6#FB7FA6

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

Color values

HEX#FB7FA6
RGBrgb(251, 127, 166)
HSLhsl(341, 94%, 74%)
HSVhsv(341, 49%, 98%)
CMYKcmyk(0%, 49.4%, 33.9%, 1.6%)
CIE-LABlab(68.35, 51.21, 1.44)
CIE-LCHlch(68.35, 51.23, 1.61°)
OKLaboklab(74.72% 0.1556 0.0044)
OKLCHoklch(74.72% 0.156 1.6)
XYZxyz(54.2585, 38.4462, 40.6323)
Luminance0.3844 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7FA6 #7FFBD4
analogous
#FB7FE4 #FB7FA6 #FB967F
triadic
#FB7FA6 #A6FB7F #7FA6FB
tetradic
#FB7FA6 #E4FB7F #7FFBD4 #967FFB
square
#FB7FA6 #E4FB7F #7FFBD4 #967FFB
split-complementary
#FB7FA6 #7FFB96 #7FE4FB
monochromatic
#F70853 #F9447D #FB7FA6 #FDBACF #FEE1EA

Accessibility & contrast

On white

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

On black

8.69
#FB7FA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7FA6
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7FA6#FFFFFF#000000##000000
##FB7FA61.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9398A7
Deuteranopia (green-blind)
#B3AFA3
Tritanopia (blue-blind)
#FF758D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #fb7fa6;
/* rgb */ color: rgb(251, 127, 166);
/* oklch */ color: oklch(74.7% 0.156 1.6);
Tailwind
colors: {
  custom: {
    50: '#ffa7c0',
    500: '#fb7fa6',
    950: '#000000',
  },
}
SCSS
$custom: #fb7fa6;
$custom-light: #ffa7c0;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7fa6",
  "rgb": {
    "r": 251,
    "g": 127,
    "b": 166
  },
  "hsl": {
    "h": 341.129,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74722,
    "c": 0.15564,
    "h": 1.6
  },
  "luminance": 0.38441
}

Semantic roles & 50–950 ramp

primary
#FB7FA6
secondary
#D5F6EC
accent
#E69D00
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #FB7FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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