#F978DF#F978DF

#F978DF is a light, vivid pink. Relative luminance 0.389; OKLCH L 75.5% C 0.197 H 335.6°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#F978DF
RGBrgb(249, 120, 223)
HSLhsl(312, 91%, 72%)
HSVhsv(312, 52%, 98%)
CMYKcmyk(0%, 51.8%, 10.4%, 2.4%)
CIE-LABlab(68.68, 61.76, -29.99)
CIE-LCHlch(68.68, 68.66, 334.10°)
OKLaboklab(75.53% 0.1793 -0.0812)
OKLCHoklch(75.53% 0.197 335.6)
XYZxyz(59.1030, 38.9046, 74.1941)
Luminance0.3890 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F978DF #78F992
analogous
#D278F9 #F978DF #F9789F
triadic
#F978DF #DFF978 #78DFF9
tetradic
#F978DF #F9D278 #78F992 #789FF9
square
#F978DF #F9D278 #78F992 #789FF9
split-complementary
#F978DF #9FF978 #78F9D2
monochromatic
#EC0ABF #F63DD1 #F978DF #FCB3ED #FEE2F8

Accessibility & contrast

On white

2.39
#F978DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#F978DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F978DF
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F978DF#FFFFFF#000000##000000
##F978DF1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#799BE2
Deuteranopia (green-blind)
#9EAFDB
Tritanopia (blue-blind)
#FF7EA1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f978df;
/* rgb */ color: rgb(249, 120, 223);
/* oklch */ color: oklch(75.5% 0.197 335.6);
Tailwind
colors: {
  custom: {
    50: '#fea4e9',
    500: '#f978df',
    950: '#000000',
  },
}
SCSS
$custom: #f978df;
$custom-light: #fea4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f978df",
  "rgb": {
    "r": 249,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 312.093,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75533,
    "c": 0.19678,
    "h": 335.6
  },
  "luminance": 0.389
}

Semantic roles & 50–950 ramp

primary
#F978DF
secondary
#D5F6DC
accent
#E62E00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F978DF

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

Preview Lab → · Contrast checker → · Palette generator →

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