#F871CF#F871CF

#F871CF is a light, vivid pink. Relative luminance 0.363; OKLCH L 73.9% C 0.195 H 340.7°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#F871CF
RGBrgb(248, 113, 207)
HSLhsl(318, 91%, 71%)
HSVhsv(318, 54%, 97%)
CMYKcmyk(0%, 54.4%, 16.5%, 2.7%)
CIE-LABlab(66.73, 62.27, -24.09)
CIE-LCHlch(66.73, 66.77, 338.85°)
OKLaboklab(73.86% 0.1843 -0.0645)
OKLCHoklch(73.86% 0.195 340.7)
XYZxyz(55.8800, 36.2762, 63.0783)
Luminance0.3627 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871CF #71F89A
analogous
#DD71F8 #F871CF #F8718B
triadic
#F871CF #CFF871 #71CFF8
tetradic
#F871CF #F8DD71 #71F89A #718BF8
square
#F871CF #F8DD71 #71F89A #718BF8
split-complementary
#F871CF #8BF871 #71F8DD
monochromatic
#E30BA2 #F537BB #F871CF #FBABE3 #FEE2F5

Accessibility & contrast

On white

2.54
#F871CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#F871CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871CF
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871CF#FFFFFF#000000##000000
##F871CF1.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7895D2
Deuteranopia (green-blind)
#9FAACC
Tritanopia (blue-blind)
#FF7397
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f871cf;
/* rgb */ color: rgb(248, 113, 207);
/* oklch */ color: oklch(73.9% 0.195 340.7);
Tailwind
colors: {
  custom: {
    50: '#fd9fdd',
    500: '#f871cf',
    950: '#000000',
  },
}
SCSS
$custom: #f871cf;
$custom-light: #fd9fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#f871cf",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 318.222,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73859,
    "c": 0.19527,
    "h": 340.7
  },
  "luminance": 0.36272
}

Semantic roles & 50–950 ramp

primary
#F871CF
secondary
#D0F5DB
accent
#E64600
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F871CF

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

Preview Lab → · Contrast checker → · Palette generator →

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