#F871CC#F871CC

#F871CC is a light, vivid pink. Relative luminance 0.361; OKLCH L 73.7% C 0.193 H 341.8°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#F871CC
RGBrgb(248, 113, 204)
HSLhsl(320, 91%, 71%)
HSVhsv(320, 54%, 97%)
CMYKcmyk(0%, 54.4%, 17.7%, 2.7%)
CIE-LABlab(66.62, 61.84, -22.57)
CIE-LCHlch(66.62, 65.83, 339.94°)
OKLaboklab(73.74% 0.1836 -0.0603)
OKLCHoklch(73.74% 0.193 341.8)
XYZxyz(55.5167, 36.1309, 61.1650)
Luminance0.3613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871CC #71F89D
analogous
#E171F8 #F871CC #F87188
triadic
#F871CC #CCF871 #71CCF8
tetradic
#F871CC #F8E171 #71F89D #7188F8
square
#F871CC #F8E171 #71F89D #7188F8
split-complementary
#F871CC #88F871 #71F8E1
monochromatic
#E30B9D #F537B7 #F871CC #FBABE1 #FEE2F5

Accessibility & contrast

On white

2.55
#F871CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#F871CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871CC
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871CC#FFFFFF#000000##000000
##F871CC1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CF
Deuteranopia (green-blind)
#A0AAC9
Tritanopia (blue-blind)
#FF7295
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f871cc;
/* rgb */ color: rgb(248, 113, 204);
/* oklch */ color: oklch(73.7% 0.193 341.8);
Tailwind
colors: {
  custom: {
    50: '#fd9fdb',
    500: '#f871cc',
    950: '#000000',
  },
}
SCSS
$custom: #f871cc;
$custom-light: #fd9fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#f871cc",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 319.556,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7374,
    "c": 0.19327,
    "h": 341.8
  },
  "luminance": 0.36126
}

Semantic roles & 50–950 ramp

primary
#F871CC
secondary
#D0F5DC
accent
#E64B00
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F871CC

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

Preview Lab → · Contrast checker → · Palette generator →

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