#F87FA3#F87FA3

#F87FA3 is a light, vivid pink. Relative luminance 0.378; OKLCH L 74.2% C 0.152 H 2.6°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#F87FA3
RGBrgb(248, 127, 163)
HSLhsl(342, 90%, 74%)
HSVhsv(342, 49%, 97%)
CMYKcmyk(0%, 48.8%, 34.3%, 2.7%)
CIE-LABlab(67.86, 49.85, 2.37)
CIE-LCHlch(67.86, 49.91, 2.72°)
OKLaboklab(74.25% 0.1514 0.0068)
OKLCHoklch(74.25% 0.152 2.6)
XYZxyz(52.9141, 37.7845, 39.1496)
Luminance0.3778 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87FA3 #7FF8D4
analogous
#F87FDF #F87FA3 #F8977F
triadic
#F87FA3 #A3F87F #7FA3F8
tetradic
#F87FA3 #DFF87F #7FF8D4 #977FF8
square
#F87FA3 #DFF87F #7FF8D4 #977FF8
split-complementary
#F87FA3 #7FF897 #7FDFF8
monochromatic
#F00D50 #F54579 #F87FA3 #FBB9CD #FDE2EA

Accessibility & contrast

On white

2.45
#F87FA3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#F87FA3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87FA3
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87FA3#FFFFFF#000000##000000
##F87FA31.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9397A4
Deuteranopia (green-blind)
#B2AEA0
Tritanopia (blue-blind)
#FF758C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f87fa3;
/* rgb */ color: rgb(248, 127, 163);
/* oklch */ color: oklch(74.2% 0.152 2.6);
Tailwind
colors: {
  custom: {
    50: '#fea7be',
    500: '#f87fa3',
    950: '#000000',
  },
}
SCSS
$custom: #f87fa3;
$custom-light: #fea7be;
$custom-dark: #000000;
JSON
{
  "hex": "#f87fa3",
  "rgb": {
    "r": 248,
    "g": 127,
    "b": 163
  },
  "hsl": {
    "h": 342.149,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74246,
    "c": 0.15159,
    "h": 2.6
  },
  "luminance": 0.3778
}

Semantic roles & 50–950 ramp

primary
#F87FA3
secondary
#D6F5EC
accent
#E6A100
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #F87FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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