#F871B2#F871B2

#F871B2 is a light, vivid pink. Relative luminance 0.350; OKLCH L 72.8% C 0.178 H 352.3°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#F871B2
RGBrgb(248, 113, 178)
HSLhsl(331, 91%, 71%)
HSVhsv(331, 54%, 97%)
CMYKcmyk(0%, 54.4%, 28.2%, 2.7%)
CIE-LABlab(65.74, 58.33, -9.24)
CIE-LCHlch(65.74, 59.06, 351.00°)
OKLaboklab(72.79% 0.1767 -0.0238)
OKLCHoklch(72.79% 0.178 352.3)
XYZxyz(52.6545, 34.9860, 46.0907)
Luminance0.3498 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871B2 #71F8B7
analogous
#F871F6 #F871B2 #F87371
triadic
#F871B2 #B2F871 #71B2F8
tetradic
#F871B2 #F6F871 #71F8B7 #7371F8
square
#F871B2 #F6F871 #71F8B7 #7371F8
split-complementary
#F871B2 #71F873 #71F6F8
monochromatic
#E30B73 #F53792 #F871B2 #FBABD2 #FEE2EF

Accessibility & contrast

On white

2.63
#F871B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#F871B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871B2
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871B2#FFFFFF#000000##000000
##F871B21.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8391B4
Deuteranopia (green-blind)
#A7A9AF
Tritanopia (blue-blind)
#FF6B8A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f871b2;
/* rgb */ color: rgb(248, 113, 178);
/* oklch */ color: oklch(72.8% 0.178 352.3);
Tailwind
colors: {
  custom: {
    50: '#fe9fc9',
    500: '#f871b2',
    950: '#000000',
  },
}
SCSS
$custom: #f871b2;
$custom-light: #fe9fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#f871b2",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 178
  },
  "hsl": {
    "h": 331.111,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72794,
    "c": 0.17832,
    "h": 352.3
  },
  "luminance": 0.34981
}

Semantic roles & 50–950 ramp

primary
#F871B2
secondary
#D0F5E3
accent
#E67700
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F871B2

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

Preview Lab → · Contrast checker → · Palette generator →

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