#F871C8#F871C8

#F871C8 is a light, vivid pink. Relative luminance 0.359; OKLCH L 73.6% C 0.191 H 343.3°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#F871C8
RGBrgb(248, 113, 200)
HSLhsl(321, 91%, 71%)
HSVhsv(321, 54%, 97%)
CMYKcmyk(0%, 54.4%, 19.4%, 2.7%)
CIE-LABlab(66.48, 61.27, -20.55)
CIE-LCHlch(66.48, 64.62, 341.46°)
OKLaboklab(73.59% 0.1827 -0.0547)
OKLCHoklch(73.59% 0.191 343.3)
XYZxyz(55.0431, 35.9415, 58.6708)
Luminance0.3594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871C8 #71F8A1
analogous
#E471F8 #F871C8 #F87184
triadic
#F871C8 #C8F871 #71C8F8
tetradic
#F871C8 #F8E471 #71F8A1 #7184F8
square
#F871C8 #F8E471 #71F8A1 #7184F8
split-complementary
#F871C8 #84F871 #71F8E4
monochromatic
#E30B97 #F537B1 #F871C8 #FBABDF #FEE2F4

Accessibility & contrast

On white

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

On black

8.19
#F871C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871C8
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871C8#FFFFFF#000000##000000
##F871C81.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B94CB
Deuteranopia (green-blind)
#A1AAC5
Tritanopia (blue-blind)
#FF7194
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f871c8;
/* rgb */ color: rgb(248, 113, 200);
/* oklch */ color: oklch(73.6% 0.191 343.3);
Tailwind
colors: {
  custom: {
    50: '#fd9fd8',
    500: '#f871c8',
    950: '#000000',
  },
}
SCSS
$custom: #f871c8;
$custom-light: #fd9fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#f871c8",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 321.333,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73586,
    "c": 0.19068,
    "h": 343.3
  },
  "luminance": 0.35937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F871C8

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

Preview Lab → · Contrast checker → · Palette generator →

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