#F87FB2#F87FB2

#F87FB2 is a light, vivid pink. Relative luminance 0.384; OKLCH L 74.7% C 0.157 H 355.0°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#F87FB2
RGBrgb(248, 127, 178)
HSLhsl(335, 90%, 74%)
HSVhsv(335, 49%, 97%)
CMYKcmyk(0%, 48.8%, 28.2%, 2.7%)
CIE-LABlab(68.28, 51.70, -5.46)
CIE-LCHlch(68.28, 51.99, 353.97°)
OKLaboklab(74.7% 0.1565 -0.0137)
OKLCHoklch(74.7% 0.157 355)
XYZxyz(54.3387, 38.3543, 46.6521)
Luminance0.3835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87FB2 #7FF8C5
analogous
#F87FEE #F87FB2 #F8887F
triadic
#F87FB2 #B2F87F #7FB2F8
tetradic
#F87FB2 #EEF87F #7FF8C5 #887FF8
square
#F87FB2 #EEF87F #7FF8C5 #887FF8
split-complementary
#F87FB2 #7FF888 #7FEEF8
monochromatic
#F00D6D #F5458F #F87FB2 #FBB9D5 #FDE2EE

Accessibility & contrast

On white

2.42
#F87FB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#F87FB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87FB2
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87FB2#FFFFFF#000000##000000
##F87FB21.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F99B4
Deuteranopia (green-blind)
#AEAFAF
Tritanopia (blue-blind)
#FF7992
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f87fb2;
/* rgb */ color: rgb(248, 127, 178);
/* oklch */ color: oklch(74.7% 0.157 355.0);
Tailwind
colors: {
  custom: {
    50: '#fda7c9',
    500: '#f87fb2',
    950: '#000000',
  },
}
SCSS
$custom: #f87fb2;
$custom-light: #fda7c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f87fb2",
  "rgb": {
    "r": 248,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 334.711,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74699,
    "c": 0.15706,
    "h": 355
  },
  "luminance": 0.3835
}

Semantic roles & 50–950 ramp

primary
#F87FB2
secondary
#D6F5E8
accent
#E68500
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#181013
muted
#867F82

Preview Lab

Preview with #F87FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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