#F87AA2#F87AA2

#F87AA2 is a light, vivid pink. Relative luminance 0.365; OKLCH L 73.5% C 0.159 H 1.7°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#F87AA2
RGBrgb(248, 122, 162)
HSLhsl(341, 90%, 73%)
HSVhsv(341, 51%, 97%)
CMYKcmyk(0%, 50.8%, 34.7%, 2.7%)
CIE-LABlab(66.89, 52.16, 1.53)
CIE-LCHlch(66.89, 52.18, 1.68°)
OKLaboklab(73.51% 0.1586 0.0046)
OKLCHoklch(73.51% 0.159 1.7)
XYZxyz(52.1951, 36.4892, 38.4697)
Luminance0.3648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87AA2 #7AF8D0
analogous
#F87AE1 #F87AA2 #F8917A
triadic
#F87AA2 #A2F87A #7AA2F8
tetradic
#F87AA2 #E1F87A #7AF8D0 #917AF8
square
#F87AA2 #E1F87A #7AF8D0 #917AF8
split-complementary
#F87AA2 #7AF891 #7AE1F8
monochromatic
#EB0C53 #F54079 #F87AA2 #FBB4CB #FDE2EB

Accessibility & contrast

On white

2.53
#F87AA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#F87AA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87AA2
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87AA2#FFFFFF#000000##000000
##F87AA21.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F94A3
Deuteranopia (green-blind)
#AFAC9F
Tritanopia (blue-blind)
#FF7089
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f87aa2;
/* rgb */ color: rgb(248, 122, 162);
/* oklch */ color: oklch(73.5% 0.159 1.7);
Tailwind
colors: {
  custom: {
    50: '#fea4bd',
    500: '#f87aa2',
    950: '#000000',
  },
}
SCSS
$custom: #f87aa2;
$custom-light: #fea4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f87aa2",
  "rgb": {
    "r": 248,
    "g": 122,
    "b": 162
  },
  "hsl": {
    "h": 340.952,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73506,
    "c": 0.15864,
    "h": 1.7
  },
  "luminance": 0.36484
}

Semantic roles & 50–950 ramp

primary
#F87AA2
secondary
#D5F6EB
accent
#E69D00
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F87AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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