#F97ECF#F97ECF

#F97ECF is a light, vivid pink. Relative luminance 0.396; OKLCH L 75.7% C 0.176 H 342.0°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#F97ECF
RGBrgb(249, 126, 207)
HSLhsl(320, 91%, 74%)
HSVhsv(320, 49%, 98%)
CMYKcmyk(0%, 49.4%, 16.9%, 2.4%)
CIE-LABlab(69.16, 56.51, -20.36)
CIE-LCHlch(69.16, 60.07, 340.18°)
OKLaboklab(75.7% 0.1673 -0.0543)
OKLCHoklch(75.7% 0.176 342)
XYZxyz(57.7912, 39.5708, 63.6135)
Luminance0.3957 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97ECF #7EF9A8
analogous
#E57EF9 #F97ECF #F97E91
triadic
#F97ECF #CFF97E #7ECFF9
tetradic
#F97ECF #F9E57E #7EF9A8 #7E91F9
square
#F97ECF #F9E57E #7EF9A8 #7E91F9
split-complementary
#F97ECF #91F97E #7EF9E5
monochromatic
#F10BA3 #F644B9 #F97ECF #FCB8E5 #FEE2F4

Accessibility & contrast

On white

2.36
#F97ECF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#F97ECF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97ECF
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97ECF#FFFFFF#000000##000000
##F97ECF1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#859CD2
Deuteranopia (green-blind)
#A7B0CC
Tritanopia (blue-blind)
#FF7F9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f97ecf;
/* rgb */ color: rgb(249, 126, 207);
/* oklch */ color: oklch(75.7% 0.176 342.0);
Tailwind
colors: {
  custom: {
    50: '#fea7dd',
    500: '#f97ecf',
    950: '#000000',
  },
}
SCSS
$custom: #f97ecf;
$custom-light: #fea7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#f97ecf",
  "rgb": {
    "r": 249,
    "g": 126,
    "b": 207
  },
  "hsl": {
    "h": 320.488,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75695,
    "c": 0.17588,
    "h": 342
  },
  "luminance": 0.39566
}

Semantic roles & 50–950 ramp

primary
#F97ECF
secondary
#D5F6E0
accent
#E64E00
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#181015
muted
#867F83

Preview Lab

Preview with #F97ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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