#F04EC8#F04EC8

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

Color values

HEX#F04EC8
RGBrgb(240, 78, 200)
HSLhsl(315, 84%, 62%)
HSVhsv(315, 68%, 94%)
CMYKcmyk(0%, 67.5%, 16.7%, 5.9%)
CIE-LABlab(60.02, 73.47, -30.57)
CIE-LCHlch(60.02, 79.57, 337.41°)
OKLaboklab(68.61% 0.218 -0.0826)
OKLCHoklch(68.61% 0.233 339.3)
XYZxyz(49.0860, 28.1487, 57.4805)
Luminance0.2814 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04EC8 #4EF076
analogous
#C74EF0 #F04EC8 #F04E77
triadic
#F04EC8 #C8F04E #4EC8F0
tetradic
#F04EC8 #F0C74E #4EF076 #4E77F0
square
#F04EC8 #F0C74E #4EF076 #4E77F0
split-complementary
#F04EC8 #77F04E #4EF0C7
monochromatic
#B40F8C #EB16B6 #F04EC8 #F586DA #FABFEB

Accessibility & contrast

On white

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

On black

6.63
#F04EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04EC8
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04EC8#FFFFFF#000000##000000
##F04EC81.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CC
Deuteranopia (green-blind)
#8A9AC4
Tritanopia (blue-blind)
#FD5484
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #f04ec8;
/* rgb */ color: rgb(240, 78, 200);
/* oklch */ color: oklch(68.6% 0.233 339.3);
Tailwind
colors: {
  custom: {
    50: '#f98bd9',
    500: '#f04ec8',
    950: '#000000',
  },
}
SCSS
$custom: #f04ec8;
$custom-light: #f98bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#f04ec8",
  "rgb": {
    "r": 240,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 314.815,
    "s": 84.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68608,
    "c": 0.23309,
    "h": 339.3
  },
  "luminance": 0.28144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F04EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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