#F871F4#F871F4

#F871F4 is a light, highly saturated purple. Relative luminance 0.383; OKLCH L 75.5% C 0.223 H 328.7°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#F871F4
RGBrgb(248, 113, 244)
HSLhsl(302, 91%, 71%)
HSVhsv(302, 54%, 97%)
CMYKcmyk(0%, 54.4%, 1.6%, 2.7%)
CIE-LABlab(68.24, 68.04, -42.28)
CIE-LCHlch(68.24, 80.11, 328.14°)
OKLaboklab(75.47% 0.1907 -0.1161)
OKLCHoklch(75.47% 0.223 328.7)
XYZxyz(60.9449, 38.3022, 89.7534)
Luminance0.3830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871F4 #71F875
analogous
#B871F8 #F871F4 #F871B0
triadic
#F871F4 #F4F871 #71F4F8
tetradic
#F871F4 #F8B871 #71F875 #71B0F8
square
#F871F4 #F8B871 #71F875 #71B0F8
split-complementary
#F871F4 #B0F871 #71F8B8
monochromatic
#E30BDD #F537EF #F871F4 #FBABF9 #FEE2FD

Accessibility & contrast

On white

2.43
#F871F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#F871F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871F4
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871F4#FFFFFF#000000##000000
##F871F41.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#659BF8
Deuteranopia (green-blind)
#90ADF0
Tritanopia (blue-blind)
#FF7FA8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f871f4;
/* rgb */ color: rgb(248, 113, 244);
/* oklch */ color: oklch(75.5% 0.223 328.7);
Tailwind
colors: {
  custom: {
    50: '#fda0f8',
    500: '#f871f4',
    950: '#000000',
  },
}
SCSS
$custom: #f871f4;
$custom-light: #fda0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#f871f4",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 301.778,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.75469,
    "c": 0.22327,
    "h": 328.7
  },
  "luminance": 0.38298
}

Semantic roles & 50–950 ramp

primary
#F871F4
secondary
#D0F5D1
accent
#E60700
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F871F4

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

Preview Lab → · Contrast checker → · Palette generator →

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