#F871BF#F871BF

#F871BF is a light, vivid pink. Relative luminance 0.355; OKLCH L 73.2% C 0.185 H 346.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#F871BF
RGBrgb(248, 113, 191)
HSLhsl(325, 91%, 71%)
HSVhsv(325, 54%, 97%)
CMYKcmyk(0%, 54.4%, 23%, 2.7%)
CIE-LABlab(66.16, 60.03, -15.96)
CIE-LCHlch(66.16, 62.11, 345.11°)
OKLaboklab(73.25% 0.1804 -0.042)
OKLCHoklch(73.25% 0.185 346.9)
XYZxyz(54.0221, 35.5331, 53.2935)
Luminance0.3553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871BF #71F8AA
analogous
#ED71F8 #F871BF #F8717B
triadic
#F871BF #BFF871 #71BFF8
tetradic
#F871BF #F8ED71 #71F8AA #717BF8
square
#F871BF #F8ED71 #71F8AA #717BF8
split-complementary
#F871BF #7BF871 #71F8ED
monochromatic
#E30B88 #F537A5 #F871BF #FBABD9 #FEE2F2

Accessibility & contrast

On white

2.59
#F871BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#F871BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871BF
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871BF#FFFFFF#000000##000000
##F871BF1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E92C2
Deuteranopia (green-blind)
#A3A9BC
Tritanopia (blue-blind)
#FF6E90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f871bf;
/* rgb */ color: rgb(248, 113, 191);
/* oklch */ color: oklch(73.2% 0.185 346.9);
Tailwind
colors: {
  custom: {
    50: '#fe9fd2',
    500: '#f871bf',
    950: '#000000',
  },
}
SCSS
$custom: #f871bf;
$custom-light: #fe9fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#f871bf",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 325.333,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73249,
    "c": 0.18522,
    "h": 346.9
  },
  "luminance": 0.35528
}

Semantic roles & 50–950 ramp

primary
#F871BF
secondary
#D0F5E0
accent
#E66100
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#180F14
muted
#867F82

Preview Lab

Preview with #F871BF

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

Preview Lab → · Contrast checker → · Palette generator →

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