#F978DC#F978DC

#F978DC is a light, vivid pink. Relative luminance 0.387; OKLCH L 75.4% C 0.195 H 336.7°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#F978DC
RGBrgb(249, 120, 220)
HSLhsl(313, 91%, 72%)
HSVhsv(313, 52%, 98%)
CMYKcmyk(0%, 51.8%, 11.6%, 2.4%)
CIE-LABlab(68.57, 61.30, -28.51)
CIE-LCHlch(68.57, 67.60, 335.06°)
OKLaboklab(75.41% 0.1787 -0.077)
OKLCHoklch(75.41% 0.195 336.7)
XYZxyz(58.7021, 38.7442, 72.0828)
Luminance0.3874 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F978DC #78F995
analogous
#D578F9 #F978DC #F9789C
triadic
#F978DC #DCF978 #78DCF9
tetradic
#F978DC #F9D578 #78F995 #789CF9
square
#F978DC #F9D578 #78F995 #789CF9
split-complementary
#F978DC #9CF978 #78F9D5
monochromatic
#EC0AB9 #F63DCD #F978DC #FCB3EB #FEE2F7

Accessibility & contrast

On white

2.40
#F978DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#F978DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F978DC
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F978DC#FFFFFF#000000##000000
##F978DC1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9BDF
Deuteranopia (green-blind)
#9FAED9
Tritanopia (blue-blind)
#FF7DA0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f978dc;
/* rgb */ color: rgb(249, 120, 220);
/* oklch */ color: oklch(75.4% 0.195 336.7);
Tailwind
colors: {
  custom: {
    50: '#fea4e7',
    500: '#f978dc',
    950: '#000000',
  },
}
SCSS
$custom: #f978dc;
$custom-light: #fea4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f978dc",
  "rgb": {
    "r": 249,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 313.488,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75408,
    "c": 0.19453,
    "h": 336.7
  },
  "luminance": 0.3874
}

Semantic roles & 50–950 ramp

primary
#F978DC
secondary
#D5F6DD
accent
#E63400
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F978DC

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

Preview Lab → · Contrast checker → · Palette generator →

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