#F078CC#F078CC

#F078CC is a light, vivid pink. Relative luminance 0.363; OKLCH L 73.6% C 0.176 H 340.0°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#F078CC
RGBrgb(240, 120, 204)
HSLhsl(318, 80%, 71%)
HSVhsv(318, 50%, 94%)
CMYKcmyk(0%, 50%, 15%, 5.9%)
CIE-LABlab(66.77, 56.22, -22.45)
CIE-LCHlch(66.77, 60.54, 338.23°)
OKLaboklab(73.63% 0.1656 -0.0601)
OKLCHoklch(73.63% 0.176 340)
XYZxyz(53.5514, 36.3218, 61.3053)
Luminance0.3632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F078CC #78F09C
analogous
#D878F0 #F078CC #F07890
triadic
#F078CC #CCF078 #78CCF0
tetradic
#F078CC #F0D878 #78F09C #7890F0
square
#F078CC #F0D878 #78F09C #7890F0
split-complementary
#F078CC #90F078 #78F0D8
monochromatic
#D6189D #EA41B7 #F078CC #F6AFE1 #FCE3F5

Accessibility & contrast

On white

2.54
#F078CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#F078CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F078CC
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F078CC#FFFFFF#000000##000000
##F078CC1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D97CF
Deuteranopia (green-blind)
#9EA9C9
Tritanopia (blue-blind)
#FC7A99
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f078cc;
/* rgb */ color: rgb(240, 120, 204);
/* oklch */ color: oklch(73.6% 0.176 340.0);
Tailwind
colors: {
  custom: {
    50: '#f7a3db',
    500: '#f078cc',
    950: '#000000',
  },
}
SCSS
$custom: #f078cc;
$custom-light: #f7a3db;
$custom-dark: #000000;
JSON
{
  "hex": "#f078cc",
  "rgb": {
    "r": 240,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 318,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73626,
    "c": 0.17614,
    "h": 340
  },
  "luminance": 0.36318
}

Semantic roles & 50–950 ramp

primary
#F078CC
secondary
#D2F2DB
accent
#DC4909
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #F078CC

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

Preview Lab → · Contrast checker → · Palette generator →

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