#F04EC6#F04EC6

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

Color values

HEX#F04EC6
RGBrgb(240, 78, 198)
HSLhsl(316, 84%, 62%)
HSVhsv(316, 68%, 94%)
CMYKcmyk(0%, 67.5%, 17.5%, 5.9%)
CIE-LABlab(59.94, 73.20, -29.56)
CIE-LCHlch(59.94, 78.94, 338.01°)
OKLaboklab(68.52% 0.2177 -0.0797)
OKLCHoklch(68.52% 0.232 339.9)
XYZxyz(48.8538, 28.0558, 56.2575)
Luminance0.2805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04EC6 #4EF078
analogous
#C94EF0 #F04EC6 #F04E75
triadic
#F04EC6 #C6F04E #4EC6F0
tetradic
#F04EC6 #F0C94E #4EF078 #4E75F0
square
#F04EC6 #F0C94E #4EF078 #4E75F0
split-complementary
#F04EC6 #75F04E #4EF0C9
monochromatic
#B40F8A #EB16B4 #F04EC6 #F586D8 #FABFEA

Accessibility & contrast

On white

3.18
#F04EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#F04EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04EC6
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04EC6#FFFFFF#000000##000000
##F04EC61.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5880C9
Deuteranopia (green-blind)
#8B9AC2
Tritanopia (blue-blind)
#FE5383
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #f04ec6;
/* rgb */ color: rgb(240, 78, 198);
/* oklch */ color: oklch(68.5% 0.232 339.9);
Tailwind
colors: {
  custom: {
    50: '#f98bd7',
    500: '#f04ec6',
    950: '#000000',
  },
}
SCSS
$custom: #f04ec6;
$custom-light: #f98bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#f04ec6",
  "rgb": {
    "r": 240,
    "g": 78,
    "b": 198
  },
  "hsl": {
    "h": 315.556,
    "s": 84.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6852,
    "c": 0.2318,
    "h": 339.9
  },
  "luminance": 0.28051
}

Semantic roles & 50–950 ramp

primary
#F04EC6
secondary
#AFEABF
accent
#E13E05
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #F04EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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