#F871AA#F871AA

#F871AA is a light, vivid pink. Relative luminance 0.347; OKLCH L 72.5% C 0.175 H 355.9°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#F871AA
RGBrgb(248, 113, 170)
HSLhsl(335, 91%, 71%)
HSVhsv(335, 54%, 97%)
CMYKcmyk(0%, 54.4%, 31.5%, 2.7%)
CIE-LABlab(65.49, 57.34, -5.06)
CIE-LCHlch(65.49, 57.57, 354.96°)
OKLaboklab(72.53% 0.1743 -0.0126)
OKLCHoklch(72.53% 0.175 355.9)
XYZxyz(51.8746, 34.6740, 41.9832)
Luminance0.3467 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871AA #71F8BF
analogous
#F871ED #F871AA #F87B71
triadic
#F871AA #AAF871 #71AAF8
tetradic
#F871AA #EDF871 #71F8BF #7B71F8
square
#F871AA #EDF871 #71F8BF #7B71F8
split-complementary
#F871AA #71F87B #71EDF8
monochromatic
#E30B66 #F53787 #F871AA #FBABCD #FEE2EE

Accessibility & contrast

On white

2.65
#F871AA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#F871AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871AA
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871AA#FFFFFF#000000##000000
##F871AA1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8590AC
Deuteranopia (green-blind)
#A9A8A7
Tritanopia (blue-blind)
#FF6887
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f871aa;
/* rgb */ color: rgb(248, 113, 170);
/* oklch */ color: oklch(72.5% 0.175 355.9);
Tailwind
colors: {
  custom: {
    50: '#fe9ec3',
    500: '#f871aa',
    950: '#000000',
  },
}
SCSS
$custom: #f871aa;
$custom-light: #fe9ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#f871aa",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 170
  },
  "hsl": {
    "h": 334.667,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72532,
    "c": 0.17474,
    "h": 355.9
  },
  "luminance": 0.34669
}

Semantic roles & 50–950 ramp

primary
#F871AA
secondary
#D0F5E5
accent
#E68500
background
#FFFAFB
surface
#FFF3F7
border
#D7CDD0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F871AA

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

Preview Lab → · Contrast checker → · Palette generator →

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