#F04FC6#F04FC6

#F04FC6 is a light, highly saturated pink. Relative luminance 0.282; OKLCH L 68.6% C 0.231 H 339.9°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#F04FC6
RGBrgb(240, 79, 198)
HSLhsl(316, 84%, 63%)
HSVhsv(316, 67%, 94%)
CMYKcmyk(0%, 67.1%, 17.5%, 5.9%)
CIE-LABlab(60.07, 72.83, -29.36)
CIE-LCHlch(60.07, 78.53, 338.05°)
OKLaboklab(68.61% 0.2166 -0.0792)
OKLCHoklch(68.61% 0.231 339.9)
XYZxyz(48.9254, 28.1990, 56.2814)
Luminance0.2819 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04FC6 #4FF079
analogous
#C94FF0 #F04FC6 #F04F76
triadic
#F04FC6 #C6F04F #4FC6F0
tetradic
#F04FC6 #F0C94F #4FF079 #4F76F0
square
#F04FC6 #F0C94F #4FF079 #4F76F0
split-complementary
#F04FC6 #76F04F #4FF0C9
monochromatic
#B50F8A #EB17B4 #F04FC6 #F587D8 #FAC0EB

Accessibility & contrast

On white

3.16
#F04FC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#F04FC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04FC6
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04FC6#FFFFFF#000000##000000
##F04FC61.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5980C9
Deuteranopia (green-blind)
#8B9AC2
Tritanopia (blue-blind)
#FE5484
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #f04fc6;
/* rgb */ color: rgb(240, 79, 198);
/* oklch */ color: oklch(68.6% 0.231 339.9);
Tailwind
colors: {
  custom: {
    50: '#f98cd7',
    500: '#f04fc6',
    950: '#000000',
  },
}
SCSS
$custom: #f04fc6;
$custom-light: #f98cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#f04fc6",
  "rgb": {
    "r": 240,
    "g": 79,
    "b": 198
  },
  "hsl": {
    "h": 315.652,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.68614,
    "c": 0.23059,
    "h": 339.9
  },
  "luminance": 0.28194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F04FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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