#F97FE2#F97FE2

#F97FE2 is a light, vivid pink. Relative luminance 0.408; OKLCH L 76.6% C 0.188 H 334.8°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#F97FE2
RGBrgb(249, 127, 226)
HSLhsl(311, 91%, 74%)
HSVhsv(311, 49%, 98%)
CMYKcmyk(0%, 49%, 9.2%, 2.4%)
CIE-LABlab(70.05, 58.95, -29.55)
CIE-LCHlch(70.05, 65.94, 333.38°)
OKLaboklab(76.58% 0.1703 -0.08)
OKLCHoklch(76.58% 0.188 334.8)
XYZxyz(60.3838, 40.8135, 76.6341)
Luminance0.4081 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97FE2 #7FF996
analogous
#D37FF9 #F97FE2 #F97FA5
triadic
#F97FE2 #E2F97F #7FE2F9
tetradic
#F97FE2 #F9D37F #7FF996 #7FA5F9
square
#F97FE2 #F9D37F #7FF996 #7FA5F9
split-complementary
#F97FE2 #A5F97F #7FF9D3
monochromatic
#F20BC7 #F645D5 #F97FE2 #FCB9EF #FEE2F8

Accessibility & contrast

On white

2.29
#F97FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#F97FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97FE2
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97FE2#FFFFFF#000000##000000
##F97FE21.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA0E5
Deuteranopia (green-blind)
#A1B2DF
Tritanopia (blue-blind)
#FF85A6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f97fe2;
/* rgb */ color: rgb(249, 127, 226);
/* oklch */ color: oklch(76.6% 0.188 334.8);
Tailwind
colors: {
  custom: {
    50: '#fea8eb',
    500: '#f97fe2',
    950: '#000000',
  },
}
SCSS
$custom: #f97fe2;
$custom-light: #fea8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f97fe2",
  "rgb": {
    "r": 249,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 311.311,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76582,
    "c": 0.18813,
    "h": 334.8
  },
  "luminance": 0.40809
}

Semantic roles & 50–950 ramp

primary
#F97FE2
secondary
#D5F6DB
accent
#E62B00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F97FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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