#F871AC#F871AC

#F871AC is a light, vivid pink. Relative luminance 0.347; OKLCH L 72.6% C 0.176 H 355.0°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#F871AC
RGBrgb(248, 113, 172)
HSLhsl(334, 91%, 71%)
HSVhsv(334, 54%, 97%)
CMYKcmyk(0%, 54.4%, 30.6%, 2.7%)
CIE-LABlab(65.55, 57.58, -6.11)
CIE-LCHlch(65.55, 57.91, 353.94°)
OKLaboklab(72.6% 0.1749 -0.0154)
OKLCHoklch(72.6% 0.176 355)
XYZxyz(52.0652, 34.7503, 42.9872)
Luminance0.3474 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871AC #71F8BD
analogous
#F871EF #F871AC #F87971
triadic
#F871AC #ACF871 #71ACF8
tetradic
#F871AC #EFF871 #71F8BD #7971F8
square
#F871AC #EFF871 #71F8BD #7971F8
split-complementary
#F871AC #71F879 #71EFF8
monochromatic
#E30B6A #F5378A #F871AC #FBABCE #FEE2EE

Accessibility & contrast

On white

2.64
#F871AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#F871AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871AC
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871AC#FFFFFF#000000##000000
##F871AC1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8490AE
Deuteranopia (green-blind)
#A8A8A9
Tritanopia (blue-blind)
#FF6987
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f871ac;
/* rgb */ color: rgb(248, 113, 172);
/* oklch */ color: oklch(72.6% 0.176 355.0);
Tailwind
colors: {
  custom: {
    50: '#fe9fc4',
    500: '#f871ac',
    950: '#000000',
  },
}
SCSS
$custom: #f871ac;
$custom-light: #fe9fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#f871ac",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 172
  },
  "hsl": {
    "h": 333.778,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72596,
    "c": 0.17558,
    "h": 355
  },
  "luminance": 0.34745
}

Semantic roles & 50–950 ramp

primary
#F871AC
secondary
#D0F5E5
accent
#E68100
background
#FFFAFC
surface
#FFF3F8
border
#D7CDD1
text
#180F12
muted
#867F81

Preview Lab

Preview with #F871AC

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

Preview Lab → · Contrast checker → · Palette generator →

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