#F97EA7#F97EA7

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

Color values

HEX#F97EA7
RGBrgb(249, 126, 167)
HSLhsl(340, 91%, 74%)
HSVhsv(340, 49%, 98%)
CMYKcmyk(0%, 49.4%, 32.9%, 2.4%)
CIE-LABlab(67.91, 51.15, 0.21)
CIE-LCHlch(67.91, 51.15, 0.23°)
OKLaboklab(74.35% 0.1553 0.0012)
OKLCHoklch(74.35% 0.155 0.4)
XYZxyz(53.5053, 37.8564, 41.0408)
Luminance0.3785 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97EA7 #7EF9D0
analogous
#F97EE4 #F97EA7 #F9927E
triadic
#F97EA7 #A7F97E #7EA7F9
tetradic
#F97EA7 #E4F97E #7EF9D0 #927EF9
square
#F97EA7 #E4F97E #7EF9D0 #927EF9
split-complementary
#F97EA7 #7EF992 #7EE4F9
monochromatic
#F10B58 #F6447F #F97EA7 #FCB8CF #FEE2EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F97EA7#FFFFFF#000000##000000
##F97EA71.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)
#9197A8
Deuteranopia (green-blind)
#B1AEA4
Tritanopia (blue-blind)
#FF758D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f97ea7;
/* rgb */ color: rgb(249, 126, 167);
/* oklch */ color: oklch(74.3% 0.155 0.4);
Tailwind
colors: {
  custom: {
    50: '#fea6c1',
    500: '#f97ea7',
    950: '#000000',
  },
}
SCSS
$custom: #f97ea7;
$custom-light: #fea6c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f97ea7",
  "rgb": {
    "r": 249,
    "g": 126,
    "b": 167
  },
  "hsl": {
    "h": 340,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74349,
    "c": 0.15535,
    "h": 0.4
  },
  "luminance": 0.37851
}

Semantic roles & 50–950 ramp

primary
#F97EA7
secondary
#D5F6EB
accent
#E69900
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #F97EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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