#F078D8#F078D8

#F078D8 is a light, vivid pink. Relative luminance 0.369; OKLCH L 74.1% C 0.185 H 335.4°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#F078D8
RGBrgb(240, 120, 216)
HSLhsl(312, 80%, 71%)
HSVhsv(312, 50%, 94%)
CMYKcmyk(0%, 50%, 10%, 5.9%)
CIE-LABlab(67.22, 58.08, -28.46)
CIE-LCHlch(67.22, 64.68, 333.90°)
OKLaboklab(74.11% 0.1683 -0.077)
OKLCHoklch(74.11% 0.185 335.4)
XYZxyz(55.0465, 36.9198, 69.1794)
Luminance0.3692 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F078D8 #78F090
analogous
#CC78F0 #F078D8 #F0789C
triadic
#F078D8 #D8F078 #78D8F0
tetradic
#F078D8 #F0CC78 #78F090 #789CF0
square
#F078D8 #F0CC78 #78F090 #789CF0
split-complementary
#F078D8 #9CF078 #78F0CC
monochromatic
#D618B0 #EA41C8 #F078D8 #F6AFE8 #FCE3F7

Accessibility & contrast

On white

2.51
#F078D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#F078D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F078D8
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F078D8#FFFFFF#000000##000000
##F078D81.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7998DB
Deuteranopia (green-blind)
#9AAAD5
Tritanopia (blue-blind)
#FA7E9E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f078d8;
/* rgb */ color: rgb(240, 120, 216);
/* oklch */ color: oklch(74.1% 0.185 335.4);
Tailwind
colors: {
  custom: {
    50: '#f7a3e4',
    500: '#f078d8',
    950: '#000000',
  },
}
SCSS
$custom: #f078d8;
$custom-light: #f7a3e4;
$custom-dark: #000000;
JSON
{
  "hex": "#f078d8",
  "rgb": {
    "r": 240,
    "g": 120,
    "b": 216
  },
  "hsl": {
    "h": 312,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74111,
    "c": 0.18503,
    "h": 335.4
  },
  "luminance": 0.36916
}

Semantic roles & 50–950 ramp

primary
#F078D8
secondary
#D2F2D8
accent
#DC3309
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #F078D8

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

Preview Lab → · Contrast checker → · Palette generator →

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