#F97FD7#F97FD7

#F97FD7 is a light, vivid pink. Relative luminance 0.402; OKLCH L 76.1% C 0.180 H 338.9°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#F97FD7
RGBrgb(249, 127, 215)
HSLhsl(317, 91%, 74%)
HSVhsv(317, 49%, 98%)
CMYKcmyk(0%, 49%, 13.7%, 2.4%)
CIE-LABlab(69.63, 57.23, -24.09)
CIE-LCHlch(69.63, 62.10, 337.17°)
OKLaboklab(76.14% 0.1679 -0.0647)
OKLCHoklch(76.14% 0.18 338.9)
XYZxyz(58.9226, 40.2290, 68.9383)
Luminance0.4022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97FD7 #7FF9A1
analogous
#DE7FF9 #F97FD7 #F97F9A
triadic
#F97FD7 #D7F97F #7FD7F9
tetradic
#F97FD7 #F9DE7F #7FF9A1 #7F9AF9
square
#F97FD7 #F9DE7F #7FF9A1 #7F9AF9
split-complementary
#F97FD7 #9AF97F #7FF9DE
monochromatic
#F20BB2 #F645C5 #F97FD7 #FCB9E9 #FEE2F6

Accessibility & contrast

On white

2.32
#F97FD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#F97FD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97FD7
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97FD7#FFFFFF#000000##000000
##F97FD71.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#839EDA
Deuteranopia (green-blind)
#A5B1D4
Tritanopia (blue-blind)
#FF82A1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f97fd7;
/* rgb */ color: rgb(249, 127, 215);
/* oklch */ color: oklch(76.1% 0.180 338.9);
Tailwind
colors: {
  custom: {
    50: '#fea8e3',
    500: '#f97fd7',
    950: '#000000',
  },
}
SCSS
$custom: #f97fd7;
$custom-light: #fea8e3;
$custom-dark: #000000;
JSON
{
  "hex": "#f97fd7",
  "rgb": {
    "r": 249,
    "g": 127,
    "b": 215
  },
  "hsl": {
    "h": 316.721,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7614,
    "c": 0.17987,
    "h": 338.9
  },
  "luminance": 0.40225
}

Semantic roles & 50–950 ramp

primary
#F97FD7
secondary
#D5F6DE
accent
#E64000
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#181015
muted
#867F83

Preview Lab

Preview with #F97FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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