#F978E2#F978E2

#F978E2 is a light, vivid pink. Relative luminance 0.391; OKLCH L 75.7% C 0.199 H 334.6°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#F978E2
RGBrgb(249, 120, 226)
HSLhsl(311, 91%, 72%)
HSVhsv(311, 52%, 98%)
CMYKcmyk(0%, 51.8%, 9.2%, 2.4%)
CIE-LABlab(68.80, 62.23, -31.47)
CIE-LCHlch(68.80, 69.74, 333.17°)
OKLaboklab(75.66% 0.1798 -0.0853)
OKLCHoklch(75.66% 0.199 334.6)
XYZxyz(59.5110, 39.0678, 76.3431)
Luminance0.3906 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F978E2 #78F98F
analogous
#D078F9 #F978E2 #F978A1
triadic
#F978E2 #E2F978 #78E2F9
tetradic
#F978E2 #F9D078 #78F98F #78A1F9
square
#F978E2 #F9D078 #78F98F #78A1F9
split-complementary
#F978E2 #A1F978 #78F9D0
monochromatic
#EC0AC4 #F63DD5 #F978E2 #FCB3EF #FEE2F9

Accessibility & contrast

On white

2.38
#F978E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#F978E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F978E2
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F978E2#FFFFFF#000000##000000
##F978E21.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#789CE5
Deuteranopia (green-blind)
#9DAFDE
Tritanopia (blue-blind)
#FF7FA3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f978e2;
/* rgb */ color: rgb(249, 120, 226);
/* oklch */ color: oklch(75.7% 0.199 334.6);
Tailwind
colors: {
  custom: {
    50: '#fea4eb',
    500: '#f978e2',
    950: '#000000',
  },
}
SCSS
$custom: #f978e2;
$custom-light: #fea4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f978e2",
  "rgb": {
    "r": 249,
    "g": 120,
    "b": 226
  },
  "hsl": {
    "h": 310.698,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75659,
    "c": 0.19906,
    "h": 334.6
  },
  "luminance": 0.39064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F978E2

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

Preview Lab → · Contrast checker → · Palette generator →

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