#F871A3#F871A3

#F871A3 is a light, vivid pink. Relative luminance 0.344; OKLCH L 72.3% C 0.172 H 359.0°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#F871A3
RGBrgb(248, 113, 163)
HSLhsl(338, 91%, 71%)
HSVhsv(338, 54%, 97%)
CMYKcmyk(0%, 54.4%, 34.3%, 2.7%)
CIE-LABlab(65.29, 56.52, -1.38)
CIE-LCHlch(65.29, 56.53, 358.61°)
OKLaboklab(72.31% 0.172 -0.0029)
OKLCHoklch(72.31% 0.172 359)
XYZxyz(51.2300, 34.4162, 38.5882)
Luminance0.3441 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871A3 #71F8C6
analogous
#F871E6 #F871A3 #F88271
triadic
#F871A3 #A3F871 #71A3F8
tetradic
#F871A3 #E6F871 #71F8C6 #8271F8
square
#F871A3 #E6F871 #71F8C6 #8271F8
split-complementary
#F871A3 #71F882 #71E6F8
monochromatic
#E30B5B #F5377D #F871A3 #FBABC9 #FEE2EC

Accessibility & contrast

On white

2.66
#F871A3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#F871A3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871A3
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871A3#FFFFFF#000000##000000
##F871A31.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#878FA4
Deuteranopia (green-blind)
#AAA8A0
Tritanopia (blue-blind)
#FF6684
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f871a3;
/* rgb */ color: rgb(248, 113, 163);
/* oklch */ color: oklch(72.3% 0.172 359.0);
Tailwind
colors: {
  custom: {
    50: '#fe9ebe',
    500: '#f871a3',
    950: '#000000',
  },
}
SCSS
$custom: #f871a3;
$custom-light: #fe9ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#f871a3",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 163
  },
  "hsl": {
    "h": 337.778,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72314,
    "c": 0.17205,
    "h": 359
  },
  "luminance": 0.34411
}

Semantic roles & 50–950 ramp

primary
#F871A3
secondary
#D0F5E7
accent
#E69100
background
#FFFAFB
surface
#FFF3F6
border
#D7CDD0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F871A3

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

Preview Lab → · Contrast checker → · Palette generator →

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