#F87FA2#F87FA2

#F87FA2 is a light, vivid pink. Relative luminance 0.377; OKLCH L 74.2% C 0.151 H 3.1°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#F87FA2
RGBrgb(248, 127, 162)
HSLhsl(343, 90%, 74%)
HSVhsv(343, 49%, 97%)
CMYKcmyk(0%, 48.8%, 34.7%, 2.7%)
CIE-LABlab(67.84, 49.73, 2.90)
CIE-LCHlch(67.84, 49.82, 3.33°)
OKLaboklab(74.22% 0.1511 0.0082)
OKLCHoklch(74.22% 0.151 3.1)
XYZxyz(52.8249, 37.7488, 38.6796)
Luminance0.3774 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87FA2 #7FF8D5
analogous
#F87FDE #F87FA2 #F8987F
triadic
#F87FA2 #A2F87F #7FA2F8
tetradic
#F87FA2 #DEF87F #7FF8D5 #987FF8
square
#F87FA2 #DEF87F #7FF8D5 #987FF8
split-complementary
#F87FA2 #7FF898 #7FDEF8
monochromatic
#F00D4F #F54578 #F87FA2 #FBB9CC #FDE2EA

Accessibility & contrast

On white

2.46
#F87FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#F87FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87FA2
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87FA2#FFFFFF#000000##000000
##F87FA21.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9397A3
Deuteranopia (green-blind)
#B2AE9F
Tritanopia (blue-blind)
#FF758C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f87fa2;
/* rgb */ color: rgb(248, 127, 162);
/* oklch */ color: oklch(74.2% 0.151 3.1);
Tailwind
colors: {
  custom: {
    50: '#fea7bd',
    500: '#f87fa2',
    950: '#000000',
  },
}
SCSS
$custom: #f87fa2;
$custom-light: #fea7bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f87fa2",
  "rgb": {
    "r": 248,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 342.645,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74217,
    "c": 0.15131,
    "h": 3.1
  },
  "luminance": 0.37744
}

Semantic roles & 50–950 ramp

primary
#F87FA2
secondary
#D6F5EC
accent
#E6A300
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #F87FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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