#F87FE2#F87FE2

#F87FE2 is a light, vivid pink. Relative luminance 0.406; OKLCH L 76.5% C 0.187 H 334.5°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#F87FE2
RGBrgb(248, 127, 226)
HSLhsl(311, 90%, 74%)
HSVhsv(311, 49%, 97%)
CMYKcmyk(0%, 48.8%, 8.9%, 2.7%)
CIE-LABlab(69.92, 58.66, -29.76)
CIE-LCHlch(69.92, 65.78, 333.10°)
OKLaboklab(76.46% 0.1692 -0.0806)
OKLCHoklch(76.46% 0.187 334.5)
XYZxyz(60.0283, 40.6301, 76.6174)
Luminance0.4063 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87FE2 #7FF895
analogous
#D17FF8 #F87FE2 #F87FA5
triadic
#F87FE2 #E2F87F #7FE2F8
tetradic
#F87FE2 #F8D17F #7FF895 #7FA5F8
square
#F87FE2 #F8D17F #7FF895 #7FA5F8
split-complementary
#F87FE2 #A5F87F #7FF8D1
monochromatic
#F00DC6 #F545D5 #F87FE2 #FBB9EF #FDE2F8

Accessibility & contrast

On white

2.30
#F87FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#F87FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87FE2
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87FE2#FFFFFF#000000##000000
##F87FE21.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA0E5
Deuteranopia (green-blind)
#A1B1DF
Tritanopia (blue-blind)
#FF85A6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f87fe2;
/* rgb */ color: rgb(248, 127, 226);
/* oklch */ color: oklch(76.5% 0.187 334.5);
Tailwind
colors: {
  custom: {
    50: '#fda8eb',
    500: '#f87fe2',
    950: '#000000',
  },
}
SCSS
$custom: #f87fe2;
$custom-light: #fda8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f87fe2",
  "rgb": {
    "r": 248,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 310.909,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7646,
    "c": 0.18743,
    "h": 334.5
  },
  "luminance": 0.40626
}

Semantic roles & 50–950 ramp

primary
#F87FE2
secondary
#D6F5DB
accent
#E62A00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F87FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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