#F87FE3#F87FE3

#F87FE3 is a light, vivid pink. Relative luminance 0.407; OKLCH L 76.5% C 0.188 H 334.2°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#F87FE3
RGBrgb(248, 127, 227)
HSLhsl(310, 90%, 74%)
HSVhsv(310, 49%, 97%)
CMYKcmyk(0%, 48.8%, 8.5%, 2.7%)
CIE-LABlab(69.95, 58.82, -30.25)
CIE-LCHlch(69.95, 66.14, 332.78°)
OKLaboklab(76.5% 0.1694 -0.082)
OKLCHoklch(76.5% 0.188 334.2)
XYZxyz(60.1659, 40.6852, 77.3422)
Luminance0.4068 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87FE3 #7FF894
analogous
#D07FF8 #F87FE3 #F87FA6
triadic
#F87FE3 #E3F87F #7FE3F8
tetradic
#F87FE3 #F8D07F #7FF894 #7FA6F8
square
#F87FE3 #F8D07F #7FF894 #7FA6F8
split-complementary
#F87FE3 #A6F87F #7FF8D0
monochromatic
#F00DC8 #F545D6 #F87FE3 #FBB9F0 #FDE2F9

Accessibility & contrast

On white

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

On black

9.14
#F87FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87FE3
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87FE3#FFFFFF#000000##000000
##F87FE31.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA0E6
Deuteranopia (green-blind)
#A0B1E0
Tritanopia (blue-blind)
#FF86A7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f87fe3;
/* rgb */ color: rgb(248, 127, 227);
/* oklch */ color: oklch(76.5% 0.188 334.2);
Tailwind
colors: {
  custom: {
    50: '#fda8ec',
    500: '#f87fe3',
    950: '#000000',
  },
}
SCSS
$custom: #f87fe3;
$custom-light: #fda8ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f87fe3",
  "rgb": {
    "r": 248,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 310.413,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76501,
    "c": 0.18821,
    "h": 334.2
  },
  "luminance": 0.40681
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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