#F97EC4#F97EC4

#F97EC4 is a light, vivid pink. Relative luminance 0.390; OKLCH L 75.3% C 0.169 H 346.7°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#F97EC4
RGBrgb(249, 126, 196)
HSLhsl(326, 91%, 74%)
HSVhsv(326, 49%, 98%)
CMYKcmyk(0%, 49.4%, 21.3%, 2.4%)
CIE-LABlab(68.79, 54.92, -14.79)
CIE-LCHlch(68.79, 56.88, 344.93°)
OKLaboklab(75.29% 0.1644 -0.0389)
OKLCHoklch(75.29% 0.169 346.7)
XYZxyz(56.4930, 39.0515, 56.7762)
Luminance0.3905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97EC4 #7EF9B3
analogous
#F17EF9 #F97EC4 #F97E86
triadic
#F97EC4 #C4F97E #7EC4F9
tetradic
#F97EC4 #F9F17E #7EF9B3 #7E86F9
square
#F97EC4 #F9F17E #7EF9B3 #7E86F9
split-complementary
#F97EC4 #86F97E #7EF9F1
monochromatic
#F10B8E #F644A9 #F97EC4 #FCB8DF #FEE2F2

Accessibility & contrast

On white

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

On black

8.81
#F97EC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97EC4
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97EC4#FFFFFF#000000##000000
##F97EC41.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#899BC6
Deuteranopia (green-blind)
#AAB0C1
Tritanopia (blue-blind)
#FF7C99
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f97ec4;
/* rgb */ color: rgb(249, 126, 196);
/* oklch */ color: oklch(75.3% 0.169 346.7);
Tailwind
colors: {
  custom: {
    50: '#fea7d6',
    500: '#f97ec4',
    950: '#000000',
  },
}
SCSS
$custom: #f97ec4;
$custom-light: #fea7d6;
$custom-dark: #000000;
JSON
{
  "hex": "#f97ec4",
  "rgb": {
    "r": 249,
    "g": 126,
    "b": 196
  },
  "hsl": {
    "h": 325.854,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75292,
    "c": 0.16891,
    "h": 346.7
  },
  "luminance": 0.39047
}

Semantic roles & 50–950 ramp

primary
#F97EC4
secondary
#D5F6E3
accent
#E66300
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#181014
muted
#867F83

Preview Lab

Preview with #F97EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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