#F87FA5#F87FA5

#F87FA5 is a light, vivid pink. Relative luminance 0.379; OKLCH L 74.3% C 0.152 H 1.5°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#F87FA5
RGBrgb(248, 127, 165)
HSLhsl(341, 90%, 74%)
HSVhsv(341, 49%, 97%)
CMYKcmyk(0%, 48.8%, 33.5%, 2.7%)
CIE-LABlab(67.91, 50.09, 1.32)
CIE-LCHlch(67.91, 50.10, 1.51°)
OKLaboklab(74.3% 0.1521 0.0041)
OKLCHoklch(74.3% 0.152 1.5)
XYZxyz(53.0947, 37.8567, 40.1008)
Luminance0.3785 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87FA5 #7FF8D2
analogous
#F87FE1 #F87FA5 #F8957F
triadic
#F87FA5 #A5F87F #7FA5F8
tetradic
#F87FA5 #E1F87F #7FF8D2 #957FF8
square
#F87FA5 #E1F87F #7FF8D2 #957FF8
split-complementary
#F87FA5 #7FF895 #7FE1F8
monochromatic
#F00D54 #F5457C #F87FA5 #FBB9CE #FDE2EB

Accessibility & contrast

On white

2.45
#F87FA5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#F87FA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87FA5
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87FA5#FFFFFF#000000##000000
##F87FA51.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9297A6
Deuteranopia (green-blind)
#B1AEA2
Tritanopia (blue-blind)
#FF758D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f87fa5;
/* rgb */ color: rgb(248, 127, 165);
/* oklch */ color: oklch(74.3% 0.152 1.5);
Tailwind
colors: {
  custom: {
    50: '#fea7bf',
    500: '#f87fa5',
    950: '#000000',
  },
}
SCSS
$custom: #f87fa5;
$custom-light: #fea7bf;
$custom-dark: #000000;
JSON
{
  "hex": "#f87fa5",
  "rgb": {
    "r": 248,
    "g": 127,
    "b": 165
  },
  "hsl": {
    "h": 341.157,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74303,
    "c": 0.15218,
    "h": 1.5
  },
  "luminance": 0.37852
}

Semantic roles & 50–950 ramp

primary
#F87FA5
secondary
#D6F5EB
accent
#E69D00
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #F87FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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