#F874A7#F874A7

#F874A7 is a light, vivid pink. Relative luminance 0.352; OKLCH L 72.8% C 0.169 H 357.8°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#F874A7
RGBrgb(248, 116, 167)
HSLhsl(337, 90%, 71%)
HSVhsv(337, 53%, 97%)
CMYKcmyk(0%, 53.2%, 32.7%, 2.7%)
CIE-LABlab(65.94, 55.59, -2.70)
CIE-LCHlch(65.94, 55.66, 357.21°)
OKLaboklab(72.84% 0.169 -0.0064)
OKLCHoklch(72.84% 0.169 357.8)
XYZxyz(51.9343, 35.2423, 40.6191)
Luminance0.3524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F874A7 #74F8C5
analogous
#F874E9 #F874A7 #F88374
triadic
#F874A7 #A7F874 #74A7F8
tetradic
#F874A7 #E9F874 #74F8C5 #8374F8
square
#F874A7 #E9F874 #74F8C5 #8374F8
split-complementary
#F874A7 #74F883 #74E9F8
monochromatic
#E60C60 #F53A82 #F874A7 #FBAECC #FEE2ED

Accessibility & contrast

On white

2.61
#F874A7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#F874A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F874A7
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F874A7#FFFFFF#000000##000000
##F874A71.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8891A9
Deuteranopia (green-blind)
#ABA9A4
Tritanopia (blue-blind)
#FF6B87
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f874a7;
/* rgb */ color: rgb(248, 116, 167);
/* oklch */ color: oklch(72.8% 0.169 357.8);
Tailwind
colors: {
  custom: {
    50: '#fea0c1',
    500: '#f874a7',
    950: '#000000',
  },
}
SCSS
$custom: #f874a7;
$custom-light: #fea0c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f874a7",
  "rgb": {
    "r": 248,
    "g": 116,
    "b": 167
  },
  "hsl": {
    "h": 336.818,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72835,
    "c": 0.16915,
    "h": 357.8
  },
  "luminance": 0.35237
}

Semantic roles & 50–950 ramp

primary
#F874A7
secondary
#D3F5E8
accent
#E68D00
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F874A7

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

Preview Lab → · Contrast checker → · Palette generator →

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