#F87BE3#F87BE3

#F87BE3 is a light, vivid pink. Relative luminance 0.397; OKLCH L 76.0% C 0.195 H 334.1°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#F87BE3
RGBrgb(248, 123, 227)
HSLhsl(310, 90%, 73%)
HSVhsv(310, 50%, 97%)
CMYKcmyk(0%, 50.4%, 8.5%, 2.7%)
CIE-LABlab(69.24, 60.71, -31.36)
CIE-LCHlch(69.24, 68.33, 332.68°)
OKLaboklab(75.97% 0.1749 -0.0851)
OKLCHoklch(75.97% 0.195 334.1)
XYZxyz(59.6595, 39.6724, 77.1734)
Luminance0.3967 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87BE3 #7BF890
analogous
#CE7BF8 #F87BE3 #F87BA4
triadic
#F87BE3 #E3F87B #7BE3F8
tetradic
#F87BE3 #F8CE7B #7BF890 #7BA4F8
square
#F87BE3 #F8CE7B #7BF890 #7BA4F8
split-complementary
#F87BE3 #A4F87B #7BF8CE
monochromatic
#EC0DC7 #F541D7 #F87BE3 #FBB5EF #FDE2F9

Accessibility & contrast

On white

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

On black

8.93
#F87BE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87BE3
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87BE3#FFFFFF#000000##000000
##F87BE31.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9DE6
Deuteranopia (green-blind)
#9EB0E0
Tritanopia (blue-blind)
#FF82A5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f87be3;
/* rgb */ color: rgb(248, 123, 227);
/* oklch */ color: oklch(76.0% 0.195 334.1);
Tailwind
colors: {
  custom: {
    50: '#fda5ec',
    500: '#f87be3',
    950: '#000000',
  },
}
SCSS
$custom: #f87be3;
$custom-light: #fda5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f87be3",
  "rgb": {
    "r": 248,
    "g": 123,
    "b": 227
  },
  "hsl": {
    "h": 310.08,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75967,
    "c": 0.1945,
    "h": 334.1
  },
  "luminance": 0.39668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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