#F87297#F87297

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

Color values

HEX#F87297
RGBrgb(248, 114, 151)
HSLhsl(343, 91%, 71%)
HSVhsv(343, 54%, 97%)
CMYKcmyk(0%, 54%, 39.1%, 2.7%)
CIE-LABlab(65.15, 54.72, 5.25)
CIE-LCHlch(65.15, 54.97, 5.48°)
OKLaboklab(72.1% 0.1665 0.0142)
OKLCHoklch(72.1% 0.167 4.9)
XYZxyz(50.3176, 34.2307, 33.2294)
Luminance0.3422 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87297 #72F8D3
analogous
#F872DA #F87297 #F89072
triadic
#F87297 #97F872 #7297F8
tetradic
#F87297 #DAF872 #72F8D3 #9072F8
square
#F87297 #DAF872 #72F8D3 #9072F8
split-complementary
#F87297 #72F890 #72DAF8
monochromatic
#E40B47 #F5386C #F87297 #FBACC2 #FEE2E9

Accessibility & contrast

On white

2.68
#F87297 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##F87297#FFFFFF#000000##000000
##F872971.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8E98
Deuteranopia (green-blind)
#ADA894
Tritanopia (blue-blind)
#FF6480
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f87297;
/* rgb */ color: rgb(248, 114, 151);
/* oklch */ color: oklch(72.1% 0.167 4.9);
Tailwind
colors: {
  custom: {
    50: '#ff9fb5',
    500: '#f87297',
    950: '#000000',
  },
}
SCSS
$custom: #f87297;
$custom-light: #ff9fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#f87297",
  "rgb": {
    "r": 248,
    "g": 114,
    "b": 151
  },
  "hsl": {
    "h": 343.433,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72098,
    "c": 0.1671,
    "h": 4.9
  },
  "luminance": 0.34225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87297

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

Preview Lab → · Contrast checker → · Palette generator →

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