#F04FCA#F04FCA

#F04FCA is a light, highly saturated pink. Relative luminance 0.284; OKLCH L 68.8% C 0.233 H 338.7°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#F04FCA
RGBrgb(240, 79, 202)
HSLhsl(314, 84%, 63%)
HSVhsv(314, 67%, 94%)
CMYKcmyk(0%, 67.1%, 15.8%, 5.9%)
CIE-LABlab(60.24, 73.38, -31.37)
CIE-LCHlch(60.24, 79.81, 336.85°)
OKLaboklab(68.79% 0.2172 -0.0849)
OKLCHoklch(68.79% 0.233 338.7)
XYZxyz(49.3929, 28.3860, 58.7434)
Luminance0.2838 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04FCA #4FF075
analogous
#C54FF0 #F04FCA #F04F7A
triadic
#F04FCA #CAF04F #4FCAF0
tetradic
#F04FCA #F0C54F #4FF075 #4F7AF0
square
#F04FCA #F0C54F #4FF075 #4F7AF0
split-complementary
#F04FCA #7AF04F #4FF0C5
monochromatic
#B50F8E #EB17B9 #F04FCA #F587DB #FAC0EC

Accessibility & contrast

On white

3.15
#F04FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#F04FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04FCA
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04FCA#FFFFFF#000000##000000
##F04FCA1.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CE
Deuteranopia (green-blind)
#8A9AC6
Tritanopia (blue-blind)
#FD5586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #f04fca;
/* rgb */ color: rgb(240, 79, 202);
/* oklch */ color: oklch(68.8% 0.233 338.7);
Tailwind
colors: {
  custom: {
    50: '#f98cda',
    500: '#f04fca',
    950: '#000000',
  },
}
SCSS
$custom: #f04fca;
$custom-light: #f98cda;
$custom-dark: #000000;
JSON
{
  "hex": "#f04fca",
  "rgb": {
    "r": 240,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 314.161,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6879,
    "c": 0.23318,
    "h": 338.7
  },
  "luminance": 0.28381
}

Semantic roles & 50–950 ramp

primary
#F04FCA
secondary
#B0EBBE
accent
#E13905
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D15
muted
#867E83

Preview Lab

Preview with #F04FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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