#F87BE2#F87BE2

#F87BE2 is a light, vivid pink. Relative luminance 0.396; OKLCH L 75.9% C 0.194 H 334.4°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#F87BE2
RGBrgb(248, 123, 226)
HSLhsl(311, 90%, 73%)
HSVhsv(311, 50%, 97%)
CMYKcmyk(0%, 50.4%, 8.9%, 2.7%)
CIE-LABlab(69.20, 60.55, -30.87)
CIE-LCHlch(69.20, 67.97, 332.99°)
OKLaboklab(75.93% 0.1747 -0.0837)
OKLCHoklch(75.93% 0.194 334.4)
XYZxyz(59.5219, 39.6174, 76.4486)
Luminance0.3961 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87BE2 #7BF891
analogous
#CF7BF8 #F87BE2 #F87BA3
triadic
#F87BE2 #E2F87B #7BE2F8
tetradic
#F87BE2 #F8CF7B #7BF891 #7BA3F8
square
#F87BE2 #F8CF7B #7BF891 #7BA3F8
split-complementary
#F87BE2 #A3F87B #7BF8CF
monochromatic
#EC0DC5 #F541D5 #F87BE2 #FBB5EF #FDE2F9

Accessibility & contrast

On white

2.35
#F87BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#F87BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87BE2
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87BE2#FFFFFF#000000##000000
##F87BE21.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9DE5
Deuteranopia (green-blind)
#9EB0DF
Tritanopia (blue-blind)
#FF82A4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f87be2;
/* rgb */ color: rgb(248, 123, 226);
/* oklch */ color: oklch(75.9% 0.194 334.4);
Tailwind
colors: {
  custom: {
    50: '#fda5eb',
    500: '#f87be2',
    950: '#000000',
  },
}
SCSS
$custom: #f87be2;
$custom-light: #fda5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f87be2",
  "rgb": {
    "r": 248,
    "g": 123,
    "b": 226
  },
  "hsl": {
    "h": 310.56,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75925,
    "c": 0.19372,
    "h": 334.4
  },
  "luminance": 0.39613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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