#F871C5#F871C5

#F871C5 is a light, vivid pink. Relative luminance 0.358; OKLCH L 73.5% C 0.189 H 344.5°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#F871C5
RGBrgb(248, 113, 197)
HSLhsl(323, 91%, 71%)
HSVhsv(323, 54%, 97%)
CMYKcmyk(0%, 54.4%, 20.6%, 2.7%)
CIE-LABlab(66.37, 60.85, -19.02)
CIE-LCHlch(66.37, 63.75, 342.64°)
OKLaboklab(73.47% 0.1819 -0.0505)
OKLCHoklch(73.47% 0.189 344.5)
XYZxyz(54.6960, 35.8026, 56.8424)
Luminance0.3580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871C5 #71F8A4
analogous
#E871F8 #F871C5 #F87181
triadic
#F871C5 #C5F871 #71C5F8
tetradic
#F871C5 #F8E871 #71F8A4 #7181F8
square
#F871C5 #F8E871 #71F8A4 #7181F8
split-complementary
#F871C5 #81F871 #71F8E8
monochromatic
#E30B92 #F537AD #F871C5 #FBABDD #FEE2F3

Accessibility & contrast

On white

2.57
#F871C5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#F871C5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871C5
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871C5#FFFFFF#000000##000000
##F871C51.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C93C8
Deuteranopia (green-blind)
#A2AAC2
Tritanopia (blue-blind)
#FF7092
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f871c5;
/* rgb */ color: rgb(248, 113, 197);
/* oklch */ color: oklch(73.5% 0.189 344.5);
Tailwind
colors: {
  custom: {
    50: '#fe9fd6',
    500: '#f871c5',
    950: '#000000',
  },
}
SCSS
$custom: #f871c5;
$custom-light: #fe9fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#f871c5",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 197
  },
  "hsl": {
    "h": 322.667,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73472,
    "c": 0.18881,
    "h": 344.5
  },
  "luminance": 0.35798
}

Semantic roles & 50–950 ramp

primary
#F871C5
secondary
#D0F5DE
accent
#E65700
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#180F14
muted
#867F83

Preview Lab

Preview with #F871C5

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

Preview Lab → · Contrast checker → · Palette generator →

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