#F871CB#F871CB

#F871CB is a light, vivid pink. Relative luminance 0.361; OKLCH L 73.7% C 0.193 H 342.2°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#F871CB
RGBrgb(248, 113, 203)
HSLhsl(320, 91%, 71%)
HSVhsv(320, 54%, 97%)
CMYKcmyk(0%, 54.4%, 18.1%, 2.7%)
CIE-LABlab(66.58, 61.69, -22.07)
CIE-LCHlch(66.58, 65.52, 340.32°)
OKLaboklab(73.7% 0.1834 -0.0589)
OKLCHoklch(73.7% 0.193 342.2)
XYZxyz(55.3972, 36.0831, 60.5354)
Luminance0.3608 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871CB #71F89E
analogous
#E171F8 #F871CB #F87187
triadic
#F871CB #CBF871 #71CBF8
tetradic
#F871CB #F8E171 #71F89E #7187F8
square
#F871CB #F8E171 #71F89E #7187F8
split-complementary
#F871CB #87F871 #71F8E1
monochromatic
#E30B9B #F537B6 #F871CB #FBABE0 #FEE2F4

Accessibility & contrast

On white

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

On black

8.22
#F871CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871CB
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871CB#FFFFFF#000000##000000
##F871CB1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CE
Deuteranopia (green-blind)
#A0AAC8
Tritanopia (blue-blind)
#FF7295
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f871cb;
/* rgb */ color: rgb(248, 113, 203);
/* oklch */ color: oklch(73.7% 0.193 342.2);
Tailwind
colors: {
  custom: {
    50: '#fd9fdb',
    500: '#f871cb',
    950: '#000000',
  },
}
SCSS
$custom: #f871cb;
$custom-light: #fd9fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#f871cb",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 320,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73701,
    "c": 0.19262,
    "h": 342.2
  },
  "luminance": 0.36079
}

Semantic roles & 50–950 ramp

primary
#F871CB
secondary
#D0F5DC
accent
#E64D00
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F871CB

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

Preview Lab → · Contrast checker → · Palette generator →

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