#F871DB#F871DB

#F871DB is a light, highly saturated pink. Relative luminance 0.369; OKLCH L 74.4% C 0.204 H 336.5°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#F871DB
RGBrgb(248, 113, 219)
HSLhsl(313, 91%, 71%)
HSVhsv(313, 54%, 97%)
CMYKcmyk(0%, 54.4%, 11.7%, 2.7%)
CIE-LABlab(67.19, 64.06, -30.08)
CIE-LCHlch(67.19, 70.77, 334.85°)
OKLaboklab(74.35% 0.1868 -0.0814)
OKLCHoklch(74.35% 0.204 336.5)
XYZxyz(57.4032, 36.8855, 71.1003)
Luminance0.3688 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871DB #71F88E
analogous
#D171F8 #F871DB #F87197
triadic
#F871DB #DBF871 #71DBF8
tetradic
#F871DB #F8D171 #71F88E #7197F8
square
#F871DB #F8D171 #71F88E #7197F8
split-complementary
#F871DB #97F871 #71F8D1
monochromatic
#E30BB5 #F537CC #F871DB #FBABEA #FEE2F8

Accessibility & contrast

On white

2.51
#F871DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#F871DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871DB
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871DB#FFFFFF#000000##000000
##F871DB1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397DE
Deuteranopia (green-blind)
#9AABD7
Tritanopia (blue-blind)
#FF779C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f871db;
/* rgb */ color: rgb(248, 113, 219);
/* oklch */ color: oklch(74.4% 0.204 336.5);
Tailwind
colors: {
  custom: {
    50: '#fd9fe6',
    500: '#f871db',
    950: '#000000',
  },
}
SCSS
$custom: #f871db;
$custom-light: #fd9fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#f871db",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 312.889,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74351,
    "c": 0.20374,
    "h": 336.5
  },
  "luminance": 0.36881
}

Semantic roles & 50–950 ramp

primary
#F871DB
secondary
#D0F5D8
accent
#E63100
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F871DB

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

Preview Lab → · Contrast checker → · Palette generator →

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