#F04ED3#F04ED3

#F04ED3 is a light, highly saturated pink. Relative luminance 0.287; OKLCH L 69.1% C 0.240 H 335.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#F04ED3
RGBrgb(240, 78, 211)
HSLhsl(311, 84%, 62%)
HSVhsv(311, 68%, 94%)
CMYKcmyk(0%, 67.5%, 12.1%, 5.9%)
CIE-LABlab(60.50, 75.01, -36.07)
CIE-LCHlch(60.50, 83.23, 334.32°)
OKLaboklab(69.11% 0.2194 -0.0982)
OKLCHoklch(69.11% 0.24 335.9)
XYZxyz(50.4181, 28.6816, 64.4961)
Luminance0.2868 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04ED3 #4EF06B
analogous
#BC4EF0 #F04ED3 #F04E82
triadic
#F04ED3 #D3F04E #4ED3F0
tetradic
#F04ED3 #F0BC4E #4EF06B #4E82F0
square
#F04ED3 #F0BC4E #4EF06B #4E82F0
split-complementary
#F04ED3 #82F04E #4EF0BC
monochromatic
#B40F97 #EB16C5 #F04ED3 #F586E1 #FABFEF

Accessibility & contrast

On white

3.12
#F04ED3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#F04ED3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04ED3
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04ED3#FFFFFF#000000##000000
##F04ED31.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5082D7
Deuteranopia (green-blind)
#869BCF
Tritanopia (blue-blind)
#FC588A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #f04ed3;
/* rgb */ color: rgb(240, 78, 211);
/* oklch */ color: oklch(69.1% 0.240 335.9);
Tailwind
colors: {
  custom: {
    50: '#f98ce1',
    500: '#f04ed3',
    950: '#000000',
  },
}
SCSS
$custom: #f04ed3;
$custom-light: #f98ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#f04ed3",
  "rgb": {
    "r": 240,
    "g": 78,
    "b": 211
  },
  "hsl": {
    "h": 310.741,
    "s": 84.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6911,
    "c": 0.24041,
    "h": 335.9
  },
  "luminance": 0.28677
}

Semantic roles & 50–950 ramp

primary
#F04ED3
secondary
#AFEABA
accent
#E12C05
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F04ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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