#F87BC5#F87BC5

#F87BC5 is a light, vivid pink. Relative luminance 0.382; OKLCH L 74.8% C 0.173 H 345.6°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#F87BC5
RGBrgb(248, 123, 197)
HSLhsl(324, 90%, 73%)
HSVhsv(324, 50%, 97%)
CMYKcmyk(0%, 50.4%, 20.6%, 2.7%)
CIE-LABlab(68.14, 56.19, -16.35)
CIE-LCHlch(68.14, 58.52, 343.78°)
OKLaboklab(74.79% 0.1679 -0.0432)
OKLCHoklch(74.79% 0.173 345.6)
XYZxyz(55.8737, 38.1581, 57.2350)
Luminance0.3815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87BC5 #7BF8AE
analogous
#EC7BF8 #F87BC5 #F87B86
triadic
#F87BC5 #C5F87B #7BC5F8
tetradic
#F87BC5 #F8EC7B #7BF8AE #7B86F8
square
#F87BC5 #F8EC7B #7BF8AE #7B86F8
split-complementary
#F87BC5 #86F87B #7BF8EC
monochromatic
#EC0D91 #F541AB #F87BC5 #FBB5DF #FDE2F2

Accessibility & contrast

On white

2.43
#F87BC5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#F87BC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87BC5
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87BC5#FFFFFF#000000##000000
##F87BC51.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8699C7
Deuteranopia (green-blind)
#A7AEC2
Tritanopia (blue-blind)
#FF7A97
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f87bc5;
/* rgb */ color: rgb(248, 123, 197);
/* oklch */ color: oklch(74.8% 0.173 345.6);
Tailwind
colors: {
  custom: {
    50: '#fda5d6',
    500: '#f87bc5',
    950: '#000000',
  },
}
SCSS
$custom: #f87bc5;
$custom-light: #fda5d6;
$custom-dark: #000000;
JSON
{
  "hex": "#f87bc5",
  "rgb": {
    "r": 248,
    "g": 123,
    "b": 197
  },
  "hsl": {
    "h": 324.48,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74789,
    "c": 0.17338,
    "h": 345.6
  },
  "luminance": 0.38154
}

Semantic roles & 50–950 ramp

primary
#F87BC5
secondary
#D5F6E3
accent
#E65E00
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#181014
muted
#867F83

Preview Lab

Preview with #F87BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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