#F04EC7#F04EC7

#F04EC7 is a light, highly saturated pink. Relative luminance 0.281; OKLCH L 68.6% C 0.232 H 339.6°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#F04EC7
RGBrgb(240, 78, 199)
HSLhsl(315, 84%, 62%)
HSVhsv(315, 68%, 94%)
CMYKcmyk(0%, 67.5%, 17.1%, 5.9%)
CIE-LABlab(59.98, 73.33, -30.06)
CIE-LCHlch(59.98, 79.25, 337.71°)
OKLaboklab(68.56% 0.2178 -0.0811)
OKLCHoklch(68.56% 0.232 339.6)
XYZxyz(48.9695, 28.1021, 56.8670)
Luminance0.2810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04EC7 #4EF077
analogous
#C84EF0 #F04EC7 #F04E76
triadic
#F04EC7 #C7F04E #4EC7F0
tetradic
#F04EC7 #F0C84E #4EF077 #4E76F0
square
#F04EC7 #F0C84E #4EF077 #4E76F0
split-complementary
#F04EC7 #76F04E #4EF0C8
monochromatic
#B40F8B #EB16B5 #F04EC7 #F586D9 #FABFEB

Accessibility & contrast

On white

3.17
#F04EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#F04EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04EC7
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04EC7#FFFFFF#000000##000000
##F04EC71.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CA
Deuteranopia (green-blind)
#8A9AC3
Tritanopia (blue-blind)
#FD5384
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #f04ec7;
/* rgb */ color: rgb(240, 78, 199);
/* oklch */ color: oklch(68.6% 0.232 339.6);
Tailwind
colors: {
  custom: {
    50: '#f98bd8',
    500: '#f04ec7',
    950: '#000000',
  },
}
SCSS
$custom: #f04ec7;
$custom-light: #f98bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#f04ec7",
  "rgb": {
    "r": 240,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 315.185,
    "s": 84.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68564,
    "c": 0.23244,
    "h": 339.6
  },
  "luminance": 0.28098
}

Semantic roles & 50–950 ramp

primary
#F04EC7
secondary
#AFEABE
accent
#E13C05
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #F04EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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