#F078DC#F078DC

#F078DC is a light, vivid pink. Relative luminance 0.371; OKLCH L 74.3% C 0.188 H 334.0°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#F078DC
RGBrgb(240, 120, 220)
HSLhsl(310, 80%, 71%)
HSVhsv(310, 50%, 94%)
CMYKcmyk(0%, 50%, 8.3%, 5.9%)
CIE-LABlab(67.37, 58.72, -30.44)
CIE-LCHlch(67.37, 66.14, 332.60°)
OKLaboklab(74.28% 0.1691 -0.0826)
OKLCHoklch(74.28% 0.188 334)
XYZxyz(55.5699, 37.1292, 71.9360)
Luminance0.3713 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F078DC #78F08C
analogous
#C878F0 #F078DC #F078A0
triadic
#F078DC #DCF078 #78DCF0
tetradic
#F078DC #F0C878 #78F08C #78A0F0
square
#F078DC #F0C878 #78F08C #78A0F0
split-complementary
#F078DC #A0F078 #78F0C8
monochromatic
#D618B6 #EA41CE #F078DC #F6AFEA #FCE3F8

Accessibility & contrast

On white

2.49
#F078DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#F078DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F078DC
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F078DC#FFFFFF#000000##000000
##F078DC1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DF
Deuteranopia (green-blind)
#99AAD9
Tritanopia (blue-blind)
#FA7FA0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f078dc;
/* rgb */ color: rgb(240, 120, 220);
/* oklch */ color: oklch(74.3% 0.188 334.0);
Tailwind
colors: {
  custom: {
    50: '#f7a3e7',
    500: '#f078dc',
    950: '#000000',
  },
}
SCSS
$custom: #f078dc;
$custom-light: #f7a3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f078dc",
  "rgb": {
    "r": 240,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 310,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74279,
    "c": 0.18816,
    "h": 334
  },
  "luminance": 0.37126
}

Semantic roles & 50–950 ramp

primary
#F078DC
secondary
#D2F2D7
accent
#DC2C09
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #F078DC

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

Preview Lab → · Contrast checker → · Palette generator →

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