#F871B1#F871B1

#F871B1 is a light, vivid pink. Relative luminance 0.349; OKLCH L 72.8% C 0.178 H 352.8°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#F871B1
RGBrgb(248, 113, 177)
HSLhsl(332, 91%, 71%)
HSVhsv(332, 54%, 97%)
CMYKcmyk(0%, 54.4%, 28.6%, 2.7%)
CIE-LABlab(65.71, 58.20, -8.72)
CIE-LCHlch(65.71, 58.85, 351.48°)
OKLaboklab(72.76% 0.1764 -0.0224)
OKLCHoklch(72.76% 0.178 352.8)
XYZxyz(52.5545, 34.9460, 45.5639)
Luminance0.3494 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871B1 #71F8B8
analogous
#F871F4 #F871B1 #F87471
triadic
#F871B1 #B1F871 #71B1F8
tetradic
#F871B1 #F4F871 #71F8B8 #7471F8
square
#F871B1 #F4F871 #71F8B8 #7471F8
split-complementary
#F871B1 #71F874 #71F4F8
monochromatic
#E30B72 #F53791 #F871B1 #FBABD1 #FEE2EF

Accessibility & contrast

On white

2.63
#F871B1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#F871B1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871B1
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871B1#FFFFFF#000000##000000
##F871B11.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8390B3
Deuteranopia (green-blind)
#A7A9AE
Tritanopia (blue-blind)
#FF6A8A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f871b1;
/* rgb */ color: rgb(248, 113, 177);
/* oklch */ color: oklch(72.8% 0.178 352.8);
Tailwind
colors: {
  custom: {
    50: '#fe9fc8',
    500: '#f871b1',
    950: '#000000',
  },
}
SCSS
$custom: #f871b1;
$custom-light: #fe9fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#f871b1",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 177
  },
  "hsl": {
    "h": 331.556,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72761,
    "c": 0.17785,
    "h": 352.8
  },
  "luminance": 0.34941
}

Semantic roles & 50–950 ramp

primary
#F871B1
secondary
#D0F5E3
accent
#E67900
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F871B1

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

Preview Lab → · Contrast checker → · Palette generator →

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