#F87FC2#F87FC2

#F87FC2 is a light, vivid pink. Relative luminance 0.390; OKLCH L 75.2% C 0.165 H 347.4°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#F87FC2
RGBrgb(248, 127, 194)
HSLhsl(327, 90%, 74%)
HSVhsv(327, 49%, 97%)
CMYKcmyk(0%, 48.8%, 21.8%, 2.7%)
CIE-LABlab(68.78, 53.85, -13.70)
CIE-LCHlch(68.78, 55.57, 345.72°)
OKLaboklab(75.23% 0.1613 -0.036)
OKLCHoklch(75.23% 0.165 347.4)
XYZxyz(56.0398, 39.0347, 55.6114)
Luminance0.3903 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87FC2 #7FF8B5
analogous
#F27FF8 #F87FC2 #F87F85
triadic
#F87FC2 #C2F87F #7FC2F8
tetradic
#F87FC2 #F8F27F #7FF8B5 #7F85F8
square
#F87FC2 #F8F27F #7FF8B5 #7F85F8
split-complementary
#F87FC2 #85F87F #7FF8F2
monochromatic
#F00D8A #F545A6 #F87FC2 #FBB9DE #FDE2F1

Accessibility & contrast

On white

2.38
#F87FC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#F87FC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87FC2
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87FC2#FFFFFF#000000##000000
##F87FC21.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9BC4
Deuteranopia (green-blind)
#AAAFBF
Tritanopia (blue-blind)
#FF7D98
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f87fc2;
/* rgb */ color: rgb(248, 127, 194);
/* oklch */ color: oklch(75.2% 0.165 347.4);
Tailwind
colors: {
  custom: {
    50: '#fda7d4',
    500: '#f87fc2',
    950: '#000000',
  },
}
SCSS
$custom: #f87fc2;
$custom-light: #fda7d4;
$custom-dark: #000000;
JSON
{
  "hex": "#f87fc2",
  "rgb": {
    "r": 248,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 326.777,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75234,
    "c": 0.16527,
    "h": 347.4
  },
  "luminance": 0.3903
}

Semantic roles & 50–950 ramp

primary
#F87FC2
secondary
#D6F5E4
accent
#E66600
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#181014
muted
#867F83

Preview Lab

Preview with #F87FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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