#F97ED4#F97ED4

#F97ED4 is a light, vivid pink. Relative luminance 0.398; OKLCH L 75.9% C 0.179 H 340.0°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#F97ED4
RGBrgb(249, 126, 212)
HSLhsl(318, 91%, 74%)
HSVhsv(318, 49%, 98%)
CMYKcmyk(0%, 49.4%, 14.9%, 2.4%)
CIE-LABlab(69.34, 57.25, -22.87)
CIE-LCHlch(69.34, 61.65, 338.22°)
OKLaboklab(75.89% 0.1685 -0.0612)
OKLCHoklch(75.89% 0.179 340)
XYZxyz(58.4122, 39.8192, 66.8839)
Luminance0.3982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97ED4 #7EF9A3
analogous
#E07EF9 #F97ED4 #F97E96
triadic
#F97ED4 #D4F97E #7ED4F9
tetradic
#F97ED4 #F9E07E #7EF9A3 #7E96F9
square
#F97ED4 #F9E07E #7EF9A3 #7E96F9
split-complementary
#F97ED4 #96F97E #7EF9E0
monochromatic
#F10BAC #F644C1 #F97ED4 #FCB8E7 #FEE2F5

Accessibility & contrast

On white

2.34
#F97ED4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#F97ED4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97ED4
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97ED4#FFFFFF#000000##000000
##F97ED41.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#849DD7
Deuteranopia (green-blind)
#A5B0D1
Tritanopia (blue-blind)
#FF809F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f97ed4;
/* rgb */ color: rgb(249, 126, 212);
/* oklch */ color: oklch(75.9% 0.179 340.0);
Tailwind
colors: {
  custom: {
    50: '#fea7e1',
    500: '#f97ed4',
    950: '#000000',
  },
}
SCSS
$custom: #f97ed4;
$custom-light: #fea7e1;
$custom-dark: #000000;
JSON
{
  "hex": "#f97ed4",
  "rgb": {
    "r": 249,
    "g": 126,
    "b": 212
  },
  "hsl": {
    "h": 318.049,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75886,
    "c": 0.17932,
    "h": 340
  },
  "luminance": 0.39815
}

Semantic roles & 50–950 ramp

primary
#F97ED4
secondary
#D5F6DF
accent
#E64500
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#181015
muted
#867F83

Preview Lab

Preview with #F97ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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