#F87BB2#F87BB2

#F87BB2 is a light, vivid pink. Relative luminance 0.373; OKLCH L 74.1% C 0.163 H 354.1°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#F87BB2
RGBrgb(248, 123, 178)
HSLhsl(334, 90%, 73%)
HSVhsv(334, 50%, 97%)
CMYKcmyk(0%, 50.4%, 28.2%, 2.7%)
CIE-LABlab(67.53, 53.63, -6.57)
CIE-LCHlch(67.53, 54.03, 353.01°)
OKLaboklab(74.14% 0.1624 -0.0167)
OKLCHoklch(74.14% 0.163 354.1)
XYZxyz(53.8323, 37.3415, 46.4833)
Luminance0.3734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87BB2 #7BF8C1
analogous
#F87BF0 #F87BB2 #F8827B
triadic
#F87BB2 #B2F87B #7BB2F8
tetradic
#F87BB2 #F0F87B #7BF8C1 #827BF8
square
#F87BB2 #F0F87B #7BF8C1 #827BF8
split-complementary
#F87BB2 #7BF882 #7BF0F8
monochromatic
#EC0D6F #F54190 #F87BB2 #FBB5D4 #FDE2EE

Accessibility & contrast

On white

2.48
#F87BB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#F87BB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87BB2
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87BB2#FFFFFF#000000##000000
##F87BB21.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C97B4
Deuteranopia (green-blind)
#ACADAF
Tritanopia (blue-blind)
#FF758F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f87bb2;
/* rgb */ color: rgb(248, 123, 178);
/* oklch */ color: oklch(74.1% 0.163 354.1);
Tailwind
colors: {
  custom: {
    50: '#fea5c9',
    500: '#f87bb2',
    950: '#000000',
  },
}
SCSS
$custom: #f87bb2;
$custom-light: #fea5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f87bb2",
  "rgb": {
    "r": 248,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 333.6,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74137,
    "c": 0.1632,
    "h": 354.1
  },
  "luminance": 0.37337
}

Semantic roles & 50–950 ramp

primary
#F87BB2
secondary
#D5F6E7
accent
#E68100
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#181013
muted
#867F82

Preview Lab

Preview with #F87BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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