#F871CA#F871CA

#F871CA is a light, vivid pink. Relative luminance 0.360; OKLCH L 73.7% C 0.192 H 342.6°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#F871CA
RGBrgb(248, 113, 202)
HSLhsl(320, 91%, 71%)
HSVhsv(320, 54%, 97%)
CMYKcmyk(0%, 54.4%, 18.5%, 2.7%)
CIE-LABlab(66.55, 61.55, -21.56)
CIE-LCHlch(66.55, 65.22, 340.69°)
OKLaboklab(73.66% 0.1832 -0.0575)
OKLCHoklch(73.66% 0.192 342.6)
XYZxyz(55.2784, 36.0356, 59.9098)
Luminance0.3603 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871CA #71F89F
analogous
#E271F8 #F871CA #F87186
triadic
#F871CA #CAF871 #71CAF8
tetradic
#F871CA #F8E271 #71F89F #7186F8
square
#F871CA #F8E271 #71F89F #7186F8
split-complementary
#F871CA #86F871 #71F8E2
monochromatic
#E30B9A #F537B4 #F871CA #FBABE0 #FEE2F4

Accessibility & contrast

On white

2.56
#F871CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#F871CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871CA
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871CA#FFFFFF#000000##000000
##F871CA1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CD
Deuteranopia (green-blind)
#A0AAC7
Tritanopia (blue-blind)
#FF7294
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f871ca;
/* rgb */ color: rgb(248, 113, 202);
/* oklch */ color: oklch(73.7% 0.192 342.6);
Tailwind
colors: {
  custom: {
    50: '#fd9fda',
    500: '#f871ca',
    950: '#000000',
  },
}
SCSS
$custom: #f871ca;
$custom-light: #fd9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#f871ca",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 320.444,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73663,
    "c": 0.19196,
    "h": 342.6
  },
  "luminance": 0.36031
}

Semantic roles & 50–950 ramp

primary
#F871CA
secondary
#D0F5DD
accent
#E64E00
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#180F14
muted
#867F83

Preview Lab

Preview with #F871CA

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

Preview Lab → · Contrast checker → · Palette generator →

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