#F97FD4#F97FD4

#F97FD4 is a light, vivid pink. Relative luminance 0.401; OKLCH L 76.0% C 0.178 H 340.1°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#F97FD4
RGBrgb(249, 127, 212)
HSLhsl(318, 91%, 74%)
HSVhsv(318, 49%, 98%)
CMYKcmyk(0%, 49%, 14.9%, 2.4%)
CIE-LABlab(69.52, 56.78, -22.60)
CIE-LCHlch(69.52, 61.11, 338.30°)
OKLaboklab(76.02% 0.1671 -0.0605)
OKLCHoklch(76.02% 0.178 340.1)
XYZxyz(58.5407, 40.0762, 66.9268)
Luminance0.4007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97FD4 #7FF9A4
analogous
#E17FF9 #F97FD4 #F97F97
triadic
#F97FD4 #D4F97F #7FD4F9
tetradic
#F97FD4 #F9E17F #7FF9A4 #7F97F9
square
#F97FD4 #F9E17F #7FF9A4 #7F97F9
split-complementary
#F97FD4 #97F97F #7FF9E1
monochromatic
#F20BAC #F645C0 #F97FD4 #FCB9E8 #FEE2F5

Accessibility & contrast

On white

2.33
#F97FD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#F97FD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97FD4
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97FD4#FFFFFF#000000##000000
##F97FD41.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#859ED7
Deuteranopia (green-blind)
#A6B1D1
Tritanopia (blue-blind)
#FF81A0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f97fd4;
/* rgb */ color: rgb(249, 127, 212);
/* oklch */ color: oklch(76.0% 0.178 340.1);
Tailwind
colors: {
  custom: {
    50: '#fea8e1',
    500: '#f97fd4',
    950: '#000000',
  },
}
SCSS
$custom: #f97fd4;
$custom-light: #fea8e1;
$custom-dark: #000000;
JSON
{
  "hex": "#f97fd4",
  "rgb": {
    "r": 249,
    "g": 127,
    "b": 212
  },
  "hsl": {
    "h": 318.197,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76023,
    "c": 0.17773,
    "h": 340.1
  },
  "luminance": 0.40072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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