#F97FE4#F97FE4

#F97FE4 is a light, vivid pink. Relative luminance 0.409; OKLCH L 76.7% C 0.190 H 334.1°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#F97FE4
RGBrgb(249, 127, 228)
HSLhsl(310, 91%, 74%)
HSVhsv(310, 49%, 98%)
CMYKcmyk(0%, 49%, 8.4%, 2.4%)
CIE-LABlab(70.12, 59.27, -30.53)
CIE-LCHlch(70.12, 66.67, 332.74°)
OKLaboklab(76.67% 0.1707 -0.0827)
OKLCHoklch(76.67% 0.19 334.1)
XYZxyz(60.6599, 40.9239, 78.0878)
Luminance0.4092 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97FE4 #7FF994
analogous
#D17FF9 #F97FE4 #F97FA7
triadic
#F97FE4 #E4F97F #7FE4F9
tetradic
#F97FE4 #F9D17F #7FF994 #7FA7F9
square
#F97FE4 #F9D17F #7FF994 #7FA7F9
split-complementary
#F97FE4 #A7F97F #7FF9D1
monochromatic
#F20BCA #F645D8 #F97FE4 #FCB9F0 #FEE2F9

Accessibility & contrast

On white

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

On black

9.18
#F97FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97FE4
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97FE4#FFFFFF#000000##000000
##F97FE41.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA0E7
Deuteranopia (green-blind)
#A0B2E1
Tritanopia (blue-blind)
#FF86A7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f97fe4;
/* rgb */ color: rgb(249, 127, 228);
/* oklch */ color: oklch(76.7% 0.190 334.1);
Tailwind
colors: {
  custom: {
    50: '#fea8ec',
    500: '#f97fe4',
    950: '#000000',
  },
}
SCSS
$custom: #f97fe4;
$custom-light: #fea8ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f97fe4",
  "rgb": {
    "r": 249,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 310.328,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76665,
    "c": 0.1897,
    "h": 334.1
  },
  "luminance": 0.4092
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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