#F871AD#F871AD

#F871AD is a light, vivid pink. Relative luminance 0.348; OKLCH L 72.6% C 0.176 H 354.5°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#F871AD
RGBrgb(248, 113, 173)
HSLhsl(333, 91%, 71%)
HSVhsv(333, 54%, 97%)
CMYKcmyk(0%, 54.4%, 30.2%, 2.7%)
CIE-LABlab(65.58, 57.71, -6.63)
CIE-LCHlch(65.58, 58.09, 353.44°)
OKLaboklab(72.63% 0.1752 -0.0168)
OKLCHoklch(72.63% 0.176 354.5)
XYZxyz(52.1616, 34.7889, 43.4949)
Luminance0.3478 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871AD #71F8BC
analogous
#F871F1 #F871AD #F87871
triadic
#F871AD #ADF871 #71ADF8
tetradic
#F871AD #F1F871 #71F8BC #7871F8
square
#F871AD #F1F871 #71F8BC #7871F8
split-complementary
#F871AD #71F878 #71F1F8
monochromatic
#E30B6B #F5378B #F871AD #FBABCF #FEE2EE

Accessibility & contrast

On white

2.64
#F871AD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#F871AD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871AD
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871AD#FFFFFF#000000##000000
##F871AD1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8490AF
Deuteranopia (green-blind)
#A8A8AA
Tritanopia (blue-blind)
#FF6988
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f871ad;
/* rgb */ color: rgb(248, 113, 173);
/* oklch */ color: oklch(72.6% 0.176 354.5);
Tailwind
colors: {
  custom: {
    50: '#fe9fc5',
    500: '#f871ad',
    950: '#000000',
  },
}
SCSS
$custom: #f871ad;
$custom-light: #fe9fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#f871ad",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 173
  },
  "hsl": {
    "h": 333.333,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72629,
    "c": 0.17602,
    "h": 354.5
  },
  "luminance": 0.34784
}

Semantic roles & 50–950 ramp

primary
#F871AD
secondary
#D0F5E4
accent
#E67F00
background
#FFFAFC
surface
#FFF3F8
border
#D7CDD1
text
#180F12
muted
#867F81

Preview Lab

Preview with #F871AD

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

Preview Lab → · Contrast checker → · Palette generator →

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