#F871A4#F871A4

#F871A4 is a light, vivid pink. Relative luminance 0.344; OKLCH L 72.3% C 0.172 H 358.6°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#F871A4
RGBrgb(248, 113, 164)
HSLhsl(337, 91%, 71%)
HSVhsv(337, 54%, 97%)
CMYKcmyk(0%, 54.4%, 33.9%, 2.7%)
CIE-LABlab(65.32, 56.63, -1.90)
CIE-LCHlch(65.32, 56.66, 358.07°)
OKLaboklab(72.35% 0.1724 -0.0043)
OKLCHoklch(72.35% 0.172 358.6)
XYZxyz(51.3199, 34.4522, 39.0620)
Luminance0.3445 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871A4 #71F8C5
analogous
#F871E8 #F871A4 #F88171
triadic
#F871A4 #A4F871 #71A4F8
tetradic
#F871A4 #E8F871 #71F8C5 #8171F8
square
#F871A4 #E8F871 #71F8C5 #8171F8
split-complementary
#F871A4 #71F881 #71E8F8
monochromatic
#E30B5D #F5377F #F871A4 #FBABC9 #FEE2EC

Accessibility & contrast

On white

2.66
#F871A4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#F871A4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871A4
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871A4#FFFFFF#000000##000000
##F871A41.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#878FA6
Deuteranopia (green-blind)
#AAA8A1
Tritanopia (blue-blind)
#FF6784
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f871a4;
/* rgb */ color: rgb(248, 113, 164);
/* oklch */ color: oklch(72.3% 0.172 358.6);
Tailwind
colors: {
  custom: {
    50: '#fe9ebe',
    500: '#f871a4',
    950: '#000000',
  },
}
SCSS
$custom: #f871a4;
$custom-light: #fe9ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#f871a4",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 164
  },
  "hsl": {
    "h": 337.333,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72345,
    "c": 0.17241,
    "h": 358.6
  },
  "luminance": 0.34447
}

Semantic roles & 50–950 ramp

primary
#F871A4
secondary
#D0F5E7
accent
#E68F00
background
#FFFAFB
surface
#FFF3F6
border
#D7CDD0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F871A4

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

Preview Lab → · Contrast checker → · Palette generator →

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