#F97EC7#F97EC7

#F97EC7 is a light, vivid pink. Relative luminance 0.392; OKLCH L 75.4% C 0.171 H 345.4°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#F97EC7
RGBrgb(249, 126, 199)
HSLhsl(324, 91%, 74%)
HSVhsv(324, 49%, 98%)
CMYKcmyk(0%, 49.4%, 20.1%, 2.4%)
CIE-LABlab(68.89, 55.35, -16.32)
CIE-LCHlch(68.89, 57.70, 343.57°)
OKLaboklab(75.4% 0.1652 -0.0431)
OKLCHoklch(75.4% 0.171 345.4)
XYZxyz(56.8379, 39.1894, 58.5925)
Luminance0.3918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97EC7 #7EF9B0
analogous
#ED7EF9 #F97EC7 #F97E89
triadic
#F97EC7 #C7F97E #7EC7F9
tetradic
#F97EC7 #F9ED7E #7EF9B0 #7E89F9
square
#F97EC7 #F9ED7E #7EF9B0 #7E89F9
split-complementary
#F97EC7 #89F97E #7EF9ED
monochromatic
#F10B94 #F644AE #F97EC7 #FCB8E0 #FEE2F2

Accessibility & contrast

On white

2.38
#F97EC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#F97EC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97EC7
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97EC7#FFFFFF#000000##000000
##F97EC71.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#889BC9
Deuteranopia (green-blind)
#A9B0C4
Tritanopia (blue-blind)
#FF7D9A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f97ec7;
/* rgb */ color: rgb(249, 126, 199);
/* oklch */ color: oklch(75.4% 0.171 345.4);
Tailwind
colors: {
  custom: {
    50: '#fea7d8',
    500: '#f97ec7',
    950: '#000000',
  },
}
SCSS
$custom: #f97ec7;
$custom-light: #fea7d8;
$custom-dark: #000000;
JSON
{
  "hex": "#f97ec7",
  "rgb": {
    "r": 249,
    "g": 126,
    "b": 199
  },
  "hsl": {
    "h": 324.39,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.754,
    "c": 0.17073,
    "h": 345.4
  },
  "luminance": 0.39185
}

Semantic roles & 50–950 ramp

primary
#F97EC7
secondary
#D5F6E2
accent
#E65D00
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#181014
muted
#867F83

Preview Lab

Preview with #F97EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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