#F871A0#F871A0

#F871A0 is a light, vivid pink. Relative luminance 0.343; OKLCH L 72.2% C 0.171 H 0.4°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#F871A0
RGBrgb(248, 113, 160)
HSLhsl(339, 91%, 71%)
HSVhsv(339, 54%, 97%)
CMYKcmyk(0%, 54.4%, 35.5%, 2.7%)
CIE-LABlab(65.21, 56.17, 0.21)
CIE-LCHlch(65.21, 56.17, 0.21°)
OKLaboklab(72.22% 0.171 0.0013)
OKLCHoklch(72.22% 0.171 0.4)
XYZxyz(50.9644, 34.3100, 37.1894)
Luminance0.3431 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871A0 #71F8C9
analogous
#F871E3 #F871A0 #F88571
triadic
#F871A0 #A0F871 #71A0F8
tetradic
#F871A0 #E3F871 #71F8C9 #8571F8
square
#F871A0 #E3F871 #71F8C9 #8571F8
split-complementary
#F871A0 #71F885 #71E3F8
monochromatic
#E30B56 #F53779 #F871A0 #FBABC7 #FEE2EB

Accessibility & contrast

On white

2.67
#F871A0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#F871A0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871A0
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871A0#FFFFFF#000000##000000
##F871A01.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#888EA1
Deuteranopia (green-blind)
#ABA89D
Tritanopia (blue-blind)
#FF6683
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f871a0;
/* rgb */ color: rgb(248, 113, 160);
/* oklch */ color: oklch(72.2% 0.171 0.4);
Tailwind
colors: {
  custom: {
    50: '#fe9ebc',
    500: '#f871a0',
    950: '#000000',
  },
}
SCSS
$custom: #f871a0;
$custom-light: #fe9ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#f871a0",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 160
  },
  "hsl": {
    "h": 339.111,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72224,
    "c": 0.17103,
    "h": 0.4
  },
  "luminance": 0.34305
}

Semantic roles & 50–950 ramp

primary
#F871A0
secondary
#D0F5E8
accent
#E69600
background
#FFFAFB
surface
#FFF3F6
border
#D7CDD0
text
#180F11
muted
#867F80

Preview Lab

Preview with #F871A0

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

Preview Lab → · Contrast checker → · Palette generator →

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