#F04FC5#F04FC5

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

Color values

HEX#F04FC5
RGBrgb(240, 79, 197)
HSLhsl(316, 84%, 63%)
HSVhsv(316, 67%, 94%)
CMYKcmyk(0%, 67.1%, 17.9%, 5.9%)
CIE-LABlab(60.03, 72.70, -28.85)
CIE-LCHlch(60.03, 78.21, 338.35°)
OKLaboklab(68.57% 0.2164 -0.0777)
OKLCHoklch(68.57% 0.23 340.2)
XYZxyz(48.8104, 28.1530, 55.6759)
Luminance0.2815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04FC5 #4FF07A
analogous
#CB4FF0 #F04FC5 #F04F74
triadic
#F04FC5 #C5F04F #4FC5F0
tetradic
#F04FC5 #F0CB4F #4FF07A #4F74F0
square
#F04FC5 #F0CB4F #4FF07A #4F74F0
split-complementary
#F04FC5 #74F04F #4FF0CB
monochromatic
#B50F89 #EB17B2 #F04FC5 #F587D8 #FAC0EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F04FC5#FFFFFF#000000##000000
##F04FC51.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)
#5980C8
Deuteranopia (green-blind)
#8B9AC1
Tritanopia (blue-blind)
#FE5383
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #f04fc5;
/* rgb */ color: rgb(240, 79, 197);
/* oklch */ color: oklch(68.6% 0.230 340.2);
Tailwind
colors: {
  custom: {
    50: '#f98cd7',
    500: '#f04fc5',
    950: '#000000',
  },
}
SCSS
$custom: #f04fc5;
$custom-light: #f98cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#f04fc5",
  "rgb": {
    "r": 240,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 316.025,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6857,
    "c": 0.22996,
    "h": 340.2
  },
  "luminance": 0.28148
}

Semantic roles & 50–950 ramp

primary
#F04FC5
secondary
#B0EBC0
accent
#E14005
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #F04FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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