#F97FE3#F97FE3

#F97FE3 is a light, vivid pink. Relative luminance 0.409; OKLCH L 76.6% C 0.189 H 334.5°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#F97FE3
RGBrgb(249, 127, 227)
HSLhsl(311, 91%, 74%)
HSVhsv(311, 49%, 98%)
CMYKcmyk(0%, 49%, 8.8%, 2.4%)
CIE-LABlab(70.08, 59.11, -30.04)
CIE-LCHlch(70.08, 66.30, 333.06°)
OKLaboklab(76.62% 0.1705 -0.0814)
OKLCHoklch(76.62% 0.189 334.5)
XYZxyz(60.5215, 40.8685, 77.3589)
Luminance0.4087 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97FE3 #7FF995
analogous
#D27FF9 #F97FE3 #F97FA6
triadic
#F97FE3 #E3F97F #7FE3F9
tetradic
#F97FE3 #F9D27F #7FF995 #7FA6F9
square
#F97FE3 #F9D27F #7FF995 #7FA6F9
split-complementary
#F97FE3 #A6F97F #7FF9D2
monochromatic
#F20BC9 #F645D6 #F97FE3 #FCB9F0 #FEE2F9

Accessibility & contrast

On white

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

On black

9.17
#F97FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97FE3
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97FE3#FFFFFF#000000##000000
##F97FE31.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f97fe3;
/* rgb */ color: rgb(249, 127, 227);
/* oklch */ color: oklch(76.6% 0.189 334.5);
Tailwind
colors: {
  custom: {
    50: '#fea8ec',
    500: '#f97fe3',
    950: '#000000',
  },
}
SCSS
$custom: #f97fe3;
$custom-light: #fea8ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f97fe3",
  "rgb": {
    "r": 249,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 310.82,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76624,
    "c": 0.18891,
    "h": 334.5
  },
  "luminance": 0.40865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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