#F871DE#F871DE

#F871DE is a light, highly saturated pink. Relative luminance 0.370; OKLCH L 74.5% C 0.206 H 335.5°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#F871DE
RGBrgb(248, 113, 222)
HSLhsl(312, 91%, 71%)
HSVhsv(312, 54%, 97%)
CMYKcmyk(0%, 54.4%, 10.5%, 2.7%)
CIE-LABlab(67.31, 64.52, -31.57)
CIE-LCHlch(67.31, 71.82, 333.93°)
OKLaboklab(74.48% 0.1874 -0.0856)
OKLCHoklch(74.48% 0.206 335.5)
XYZxyz(57.8017, 37.0449, 73.1991)
Luminance0.3704 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871DE #71F88B
analogous
#CF71F8 #F871DE #F8719A
triadic
#F871DE #DEF871 #71DEF8
tetradic
#F871DE #F8CF71 #71F88B #719AF8
square
#F871DE #F8CF71 #71F88B #719AF8
split-complementary
#F871DE #9AF871 #71F8CF
monochromatic
#E30BBA #F537D0 #F871DE #FBABEC #FEE2F8

Accessibility & contrast

On white

2.50
#F871DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#F871DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871DE
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871DE#FFFFFF#000000##000000
##F871DE1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7297E2
Deuteranopia (green-blind)
#99ABDA
Tritanopia (blue-blind)
#FF789E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f871de;
/* rgb */ color: rgb(248, 113, 222);
/* oklch */ color: oklch(74.5% 0.206 335.5);
Tailwind
colors: {
  custom: {
    50: '#fd9fe8',
    500: '#f871de',
    950: '#000000',
  },
}
SCSS
$custom: #f871de;
$custom-light: #fd9fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#f871de",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 222
  },
  "hsl": {
    "h": 311.556,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74478,
    "c": 0.20597,
    "h": 335.5
  },
  "luminance": 0.37041
}

Semantic roles & 50–950 ramp

primary
#F871DE
secondary
#D0F5D7
accent
#E62C00
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F871DE

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

Preview Lab → · Contrast checker → · Palette generator →

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