#F871DF#F871DF

#F871DF is a light, highly saturated pink. Relative luminance 0.371; OKLCH L 74.5% C 0.207 H 335.1°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#F871DF
RGBrgb(248, 113, 223)
HSLhsl(311, 91%, 71%)
HSVhsv(311, 54%, 97%)
CMYKcmyk(0%, 54.4%, 10.1%, 2.7%)
CIE-LABlab(67.35, 64.67, -32.06)
CIE-LCHlch(67.35, 72.18, 333.63°)
OKLaboklab(74.52% 0.1875 -0.087)
OKLCHoklch(74.52% 0.207 335.1)
XYZxyz(57.9361, 37.0986, 73.9070)
Luminance0.3709 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871DF #71F88A
analogous
#CD71F8 #F871DF #F8719B
triadic
#F871DF #DFF871 #71DFF8
tetradic
#F871DF #F8CD71 #71F88A #719BF8
square
#F871DF #F8CD71 #71F88A #719BF8
split-complementary
#F871DF #9BF871 #71F8CD
monochromatic
#E30BBB #F537D2 #F871DF #FBABEC #FEE2F8

Accessibility & contrast

On white

2.49
#F871DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#F871DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871DF
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871DF#FFFFFF#000000##000000
##F871DF1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7197E3
Deuteranopia (green-blind)
#99ABDB
Tritanopia (blue-blind)
#FF789E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f871df;
/* rgb */ color: rgb(248, 113, 223);
/* oklch */ color: oklch(74.5% 0.207 335.1);
Tailwind
colors: {
  custom: {
    50: '#fd9fe9',
    500: '#f871df',
    950: '#000000',
  },
}
SCSS
$custom: #f871df;
$custom-light: #fd9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#f871df",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 311.111,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74521,
    "c": 0.20671,
    "h": 335.1
  },
  "luminance": 0.37094
}

Semantic roles & 50–950 ramp

primary
#F871DF
secondary
#D0F5D7
accent
#E62A00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F871DF

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

Preview Lab → · Contrast checker → · Palette generator →

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