#F078D2#F078D2

#F078D2 is a light, vivid pink. Relative luminance 0.366; OKLCH L 73.9% C 0.180 H 337.7°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#F078D2
RGBrgb(240, 120, 210)
HSLhsl(315, 80%, 71%)
HSVhsv(315, 50%, 94%)
CMYKcmyk(0%, 50%, 12.5%, 5.9%)
CIE-LABlab(66.99, 57.14, -25.47)
CIE-LCHlch(66.99, 62.56, 335.98°)
OKLaboklab(73.87% 0.167 -0.0685)
OKLCHoklch(73.87% 0.18 337.7)
XYZxyz(54.2849, 36.6152, 65.1685)
Luminance0.3661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F078D2 #78F096
analogous
#D278F0 #F078D2 #F07896
triadic
#F078D2 #D2F078 #78D2F0
tetradic
#F078D2 #F0D278 #78F096 #7896F0
square
#F078D2 #F0D278 #78F096 #7896F0
split-complementary
#F078D2 #96F078 #78F0D2
monochromatic
#D618A6 #EA41C0 #F078D2 #F6AFE4 #FCE3F6

Accessibility & contrast

On white

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

On black

8.32
#F078D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F078D2
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F078D2#FFFFFF#000000##000000
##F078D21.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B97D5
Deuteranopia (green-blind)
#9CAACF
Tritanopia (blue-blind)
#FB7C9B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f078d2;
/* rgb */ color: rgb(240, 120, 210);
/* oklch */ color: oklch(73.9% 0.180 337.7);
Tailwind
colors: {
  custom: {
    50: '#f7a3e0',
    500: '#f078d2',
    950: '#000000',
  },
}
SCSS
$custom: #f078d2;
$custom-light: #f7a3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#f078d2",
  "rgb": {
    "r": 240,
    "g": 120,
    "b": 210
  },
  "hsl": {
    "h": 315,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73865,
    "c": 0.18048,
    "h": 337.7
  },
  "luminance": 0.36611
}

Semantic roles & 50–950 ramp

primary
#F078D2
secondary
#D2F2DA
accent
#DC3E09
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #F078D2

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

Preview Lab → · Contrast checker → · Palette generator →

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