#F87EA2#F87EA2

#F87EA2 is a light, vivid pink. Relative luminance 0.375; OKLCH L 74.1% C 0.153 H 2.8°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#F87EA2
RGBrgb(248, 126, 162)
HSLhsl(342, 90%, 73%)
HSVhsv(342, 49%, 97%)
CMYKcmyk(0%, 49.2%, 34.7%, 2.7%)
CIE-LABlab(67.64, 50.22, 2.62)
CIE-LCHlch(67.64, 50.29, 2.99°)
OKLaboklab(74.07% 0.1526 0.0075)
OKLCHoklch(74.07% 0.153 2.8)
XYZxyz(52.6964, 37.4917, 38.6368)
Luminance0.3749 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87EA2 #7EF8D4
analogous
#F87EDF #F87EA2 #F8977E
triadic
#F87EA2 #A2F87E #7EA2F8
tetradic
#F87EA2 #DFF87E #7EF8D4 #977EF8
square
#F87EA2 #DFF87E #7EF8D4 #977EF8
split-complementary
#F87EA2 #7EF897 #7EDFF8
monochromatic
#EF0D50 #F54478 #F87EA2 #FBB8CC #FDE2EA

Accessibility & contrast

On white

2.47
#F87EA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#F87EA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87EA2
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87EA2#FFFFFF#000000##000000
##F87EA21.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9297A3
Deuteranopia (green-blind)
#B1AD9F
Tritanopia (blue-blind)
#FF748B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f87ea2;
/* rgb */ color: rgb(248, 126, 162);
/* oklch */ color: oklch(74.1% 0.153 2.8);
Tailwind
colors: {
  custom: {
    50: '#fea6bd',
    500: '#f87ea2',
    950: '#000000',
  },
}
SCSS
$custom: #f87ea2;
$custom-light: #fea6bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ea2",
  "rgb": {
    "r": 248,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 342.295,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74073,
    "c": 0.15277,
    "h": 2.8
  },
  "luminance": 0.37487
}

Semantic roles & 50–950 ramp

primary
#F87EA2
secondary
#D5F6EC
accent
#E6A200
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #F87EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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