#F87FC4#F87FC4

#F87FC4 is a light, vivid pink. Relative luminance 0.391; OKLCH L 75.3% C 0.166 H 346.5°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#F87FC4
RGBrgb(248, 127, 196)
HSLhsl(326, 90%, 74%)
HSVhsv(326, 49%, 97%)
CMYKcmyk(0%, 48.8%, 21%, 2.7%)
CIE-LABlab(68.84, 54.13, -14.72)
CIE-LCHlch(68.84, 56.10, 344.78°)
OKLaboklab(75.31% 0.1619 -0.0387)
OKLCHoklch(75.31% 0.166 346.5)
XYZxyz(56.2659, 39.1252, 56.8023)
Luminance0.3912 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87FC4 #7FF8B3
analogous
#EF7FF8 #F87FC4 #F87F87
triadic
#F87FC4 #C4F87F #7FC4F8
tetradic
#F87FC4 #F8EF7F #7FF8B3 #7F87F8
square
#F87FC4 #F8EF7F #7FF8B3 #7F87F8
split-complementary
#F87FC4 #87F87F #7FF8EF
monochromatic
#F00D8E #F545A9 #F87FC4 #FBB9DF #FDE2F2

Accessibility & contrast

On white

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

On black

8.82
#F87FC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87FC4
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87FC4#FFFFFF#000000##000000
##F87FC41.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9BC6
Deuteranopia (green-blind)
#AAB0C1
Tritanopia (blue-blind)
#FF7D99
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f87fc4;
/* rgb */ color: rgb(248, 127, 196);
/* oklch */ color: oklch(75.3% 0.166 346.5);
Tailwind
colors: {
  custom: {
    50: '#fda7d6',
    500: '#f87fc4',
    950: '#000000',
  },
}
SCSS
$custom: #f87fc4;
$custom-light: #fda7d6;
$custom-dark: #000000;
JSON
{
  "hex": "#f87fc4",
  "rgb": {
    "r": 248,
    "g": 127,
    "b": 196
  },
  "hsl": {
    "h": 325.785,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75305,
    "c": 0.16645,
    "h": 346.5
  },
  "luminance": 0.39121
}

Semantic roles & 50–950 ramp

primary
#F87FC4
secondary
#D6F5E3
accent
#E66300
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#181014
muted
#867F83

Preview Lab

Preview with #F87FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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