#F04EC5#F04EC5

#F04EC5 is a light, highly saturated pink. Relative luminance 0.280; OKLCH L 68.5% C 0.231 H 340.2°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#F04EC5
RGBrgb(240, 78, 197)
HSLhsl(316, 84%, 62%)
HSVhsv(316, 68%, 94%)
CMYKcmyk(0%, 67.5%, 17.9%, 5.9%)
CIE-LABlab(59.90, 73.06, -29.05)
CIE-LCHlch(59.90, 78.62, 338.32°)
OKLaboklab(68.48% 0.2175 -0.0783)
OKLCHoklch(68.48% 0.231 340.2)
XYZxyz(48.7389, 28.0099, 55.6521)
Luminance0.2801 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04EC5 #4EF079
analogous
#CA4EF0 #F04EC5 #F04E74
triadic
#F04EC5 #C5F04E #4EC5F0
tetradic
#F04EC5 #F0CA4E #4EF079 #4E74F0
square
#F04EC5 #F0CA4E #4EF079 #4E74F0
split-complementary
#F04EC5 #74F04E #4EF0CA
monochromatic
#B40F89 #EB16B3 #F04EC5 #F586D7 #FABFEA

Accessibility & contrast

On white

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

On black

6.60
#F04EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04EC5
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04EC5#FFFFFF#000000##000000
##F04EC51.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5880C8
Deuteranopia (green-blind)
#8B9AC1
Tritanopia (blue-blind)
#FE5283
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #f04ec5;
/* rgb */ color: rgb(240, 78, 197);
/* oklch */ color: oklch(68.5% 0.231 340.2);
Tailwind
colors: {
  custom: {
    50: '#f98bd7',
    500: '#f04ec5',
    950: '#000000',
  },
}
SCSS
$custom: #f04ec5;
$custom-light: #f98bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#f04ec5",
  "rgb": {
    "r": 240,
    "g": 78,
    "b": 197
  },
  "hsl": {
    "h": 315.926,
    "s": 84.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68476,
    "c": 0.23117,
    "h": 340.2
  },
  "luminance": 0.28005
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F04EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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