#F87DA2#F87DA2

#F87DA2 is a light, vivid pink. Relative luminance 0.372; OKLCH L 73.9% C 0.154 H 2.5°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#F87DA2
RGBrgb(248, 125, 162)
HSLhsl(342, 90%, 73%)
HSVhsv(342, 50%, 97%)
CMYKcmyk(0%, 49.6%, 34.7%, 2.7%)
CIE-LABlab(67.45, 50.71, 2.35)
CIE-LCHlch(67.45, 50.76, 2.65°)
OKLaboklab(73.93% 0.1541 0.0068)
OKLCHoklch(73.93% 0.154 2.5)
XYZxyz(52.5691, 37.2373, 38.5944)
Luminance0.3723 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87DA2 #7DF8D3
analogous
#F87DE0 #F87DA2 #F8957D
triadic
#F87DA2 #A2F87D #7DA2F8
tetradic
#F87DA2 #E0F87D #7DF8D3 #957DF8
square
#F87DA2 #E0F87D #7DF8D3 #957DF8
split-complementary
#F87DA2 #7DF895 #7DE0F8
monochromatic
#EE0D50 #F54378 #F87DA2 #FBB7CC #FDE2EA

Accessibility & contrast

On white

2.49
#F87DA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#F87DA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87DA2
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87DA2#FFFFFF#000000##000000
##F87DA21.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9196A3
Deuteranopia (green-blind)
#B1AD9F
Tritanopia (blue-blind)
#FF738A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f87da2;
/* rgb */ color: rgb(248, 125, 162);
/* oklch */ color: oklch(73.9% 0.154 2.5);
Tailwind
colors: {
  custom: {
    50: '#fea6bd',
    500: '#f87da2',
    950: '#000000',
  },
}
SCSS
$custom: #f87da2;
$custom-light: #fea6bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f87da2",
  "rgb": {
    "r": 248,
    "g": 125,
    "b": 162
  },
  "hsl": {
    "h": 341.951,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7393,
    "c": 0.15424,
    "h": 2.5
  },
  "luminance": 0.37232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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