#F87BA2#F87BA2

#F87BA2 is a light, vivid pink. Relative luminance 0.367; OKLCH L 73.6% C 0.157 H 2.0°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#F87BA2
RGBrgb(248, 123, 162)
HSLhsl(341, 90%, 73%)
HSVhsv(341, 50%, 97%)
CMYKcmyk(0%, 50.4%, 34.7%, 2.7%)
CIE-LABlab(67.08, 51.68, 1.80)
CIE-LCHlch(67.08, 51.71, 1.99°)
OKLaboklab(73.65% 0.1571 0.0054)
OKLCHoklch(73.65% 0.157 2)
XYZxyz(52.3185, 36.7360, 38.5108)
Luminance0.3673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87BA2 #7BF8D1
analogous
#F87BE0 #F87BA2 #F8927B
triadic
#F87BA2 #A2F87B #7BA2F8
tetradic
#F87BA2 #E0F87B #7BF8D1 #927BF8
square
#F87BA2 #E0F87B #7BF8D1 #927BF8
split-complementary
#F87BA2 #7BF892 #7BE0F8
monochromatic
#EC0D52 #F54179 #F87BA2 #FBB5CB #FDE2EB

Accessibility & contrast

On white

2.52
#F87BA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#F87BA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87BA2
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87BA2#FFFFFF#000000##000000
##F87BA21.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9095A3
Deuteranopia (green-blind)
#B0AC9F
Tritanopia (blue-blind)
#FF7189
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f87ba2;
/* rgb */ color: rgb(248, 123, 162);
/* oklch */ color: oklch(73.6% 0.157 2.0);
Tailwind
colors: {
  custom: {
    50: '#fea4bd',
    500: '#f87ba2',
    950: '#000000',
  },
}
SCSS
$custom: #f87ba2;
$custom-light: #fea4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ba2",
  "rgb": {
    "r": 248,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 341.28,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73647,
    "c": 0.15717,
    "h": 2
  },
  "luminance": 0.36731
}

Semantic roles & 50–950 ramp

primary
#F87BA2
secondary
#D5F6EC
accent
#E69E00
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F87BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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