#F078D4#F078D4

#F078D4 is a light, vivid pink. Relative luminance 0.367; OKLCH L 73.9% C 0.182 H 336.9°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#F078D4
RGBrgb(240, 120, 212)
HSLhsl(314, 80%, 71%)
HSVhsv(314, 50%, 94%)
CMYKcmyk(0%, 50%, 11.7%, 5.9%)
CIE-LABlab(67.06, 57.45, -26.47)
CIE-LCHlch(67.06, 63.25, 335.27°)
OKLaboklab(73.95% 0.1674 -0.0714)
OKLCHoklch(73.95% 0.182 336.9)
XYZxyz(54.5357, 36.7155, 66.4890)
Luminance0.3671 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F078D4 #78F094
analogous
#D078F0 #F078D4 #F07898
triadic
#F078D4 #D4F078 #78D4F0
tetradic
#F078D4 #F0D078 #78F094 #7898F0
square
#F078D4 #F0D078 #78F094 #7898F0
split-complementary
#F078D4 #98F078 #78F0D0
monochromatic
#D618A9 #EA41C2 #F078D4 #F6AFE6 #FCE3F6

Accessibility & contrast

On white

2.52
#F078D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#F078D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F078D4
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F078D4#FFFFFF#000000##000000
##F078D41.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A98D7
Deuteranopia (green-blind)
#9CAAD1
Tritanopia (blue-blind)
#FB7D9C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f078d4;
/* rgb */ color: rgb(240, 120, 212);
/* oklch */ color: oklch(73.9% 0.182 336.9);
Tailwind
colors: {
  custom: {
    50: '#f7a3e1',
    500: '#f078d4',
    950: '#000000',
  },
}
SCSS
$custom: #f078d4;
$custom-light: #f7a3e1;
$custom-dark: #000000;
JSON
{
  "hex": "#f078d4",
  "rgb": {
    "r": 240,
    "g": 120,
    "b": 212
  },
  "hsl": {
    "h": 314,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73946,
    "c": 0.18198,
    "h": 336.9
  },
  "luminance": 0.36712
}

Semantic roles & 50–950 ramp

primary
#F078D4
secondary
#D2F2D9
accent
#DC3A09
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #F078D4

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

Preview Lab → · Contrast checker → · Palette generator →

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