#F87298#F87298

#F87298 is a light, vivid pink. Relative luminance 0.343; OKLCH L 72.1% C 0.167 H 4.4°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#F87298
RGBrgb(248, 114, 152)
HSLhsl(343, 91%, 71%)
HSVhsv(343, 54%, 97%)
CMYKcmyk(0%, 54%, 38.7%, 2.7%)
CIE-LABlab(65.17, 54.82, 4.72)
CIE-LCHlch(65.17, 55.03, 4.92°)
OKLaboklab(72.13% 0.1668 0.0129)
OKLCHoklch(72.13% 0.167 4.4)
XYZxyz(50.3991, 34.2633, 33.6590)
Luminance0.3426 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87298 #72F8D2
analogous
#F872DB #F87298 #F88F72
triadic
#F87298 #98F872 #7298F8
tetradic
#F87298 #DBF872 #72F8D2 #8F72F8
square
#F87298 #DBF872 #72F8D2 #8F72F8
split-complementary
#F87298 #72F88F #72DBF8
monochromatic
#E40B49 #F5386D #F87298 #FBACC3 #FEE2EA

Accessibility & contrast

On white

2.67
#F87298 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#F87298 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87298
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87298#FFFFFF#000000##000000
##F872981.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8E99
Deuteranopia (green-blind)
#ADA895
Tritanopia (blue-blind)
#FF6580
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f87298;
/* rgb */ color: rgb(248, 114, 152);
/* oklch */ color: oklch(72.1% 0.167 4.4);
Tailwind
colors: {
  custom: {
    50: '#ff9fb6',
    500: '#f87298',
    950: '#000000',
  },
}
SCSS
$custom: #f87298;
$custom-light: #ff9fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#f87298",
  "rgb": {
    "r": 248,
    "g": 114,
    "b": 152
  },
  "hsl": {
    "h": 342.985,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72126,
    "c": 0.16734,
    "h": 4.4
  },
  "luminance": 0.34258
}

Semantic roles & 50–950 ramp

primary
#F87298
secondary
#D1F5EB
accent
#E6A400
background
#FFFAFB
surface
#FFF3F6
border
#D7CDD0
text
#180F11
muted
#867F80

Preview Lab

Preview with #F87298

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

Preview Lab → · Contrast checker → · Palette generator →

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