#F04FC8#F04FC8

#F04FC8 is a light, highly saturated pink. Relative luminance 0.283; OKLCH L 68.7% C 0.232 H 339.3°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#F04FC8
RGBrgb(240, 79, 200)
HSLhsl(315, 84%, 63%)
HSVhsv(315, 67%, 94%)
CMYKcmyk(0%, 67.1%, 16.7%, 5.9%)
CIE-LABlab(60.15, 73.11, -30.37)
CIE-LCHlch(60.15, 79.16, 337.44°)
OKLaboklab(68.7% 0.2169 -0.082)
OKLCHoklch(68.7% 0.232 339.3)
XYZxyz(49.1576, 28.2919, 57.5043)
Luminance0.2829 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04FC8 #4FF077
analogous
#C84FF0 #F04FC8 #F04F77
triadic
#F04FC8 #C8F04F #4FC8F0
tetradic
#F04FC8 #F0C84F #4FF077 #4F77F0
square
#F04FC8 #F0C84F #4FF077 #4F77F0
split-complementary
#F04FC8 #77F04F #4FF0C8
monochromatic
#B50F8C #EB17B6 #F04FC8 #F587DA #FAC0EB

Accessibility & contrast

On white

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

On black

6.66
#F04FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04FC8
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04FC8#FFFFFF#000000##000000
##F04FC81.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5881CB
Deuteranopia (green-blind)
#8A9AC4
Tritanopia (blue-blind)
#FD5485
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #f04fc8;
/* rgb */ color: rgb(240, 79, 200);
/* oklch */ color: oklch(68.7% 0.232 339.3);
Tailwind
colors: {
  custom: {
    50: '#f98cd9',
    500: '#f04fc8',
    950: '#000000',
  },
}
SCSS
$custom: #f04fc8;
$custom-light: #f98cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#f04fc8",
  "rgb": {
    "r": 240,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 314.907,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.68702,
    "c": 0.23188,
    "h": 339.3
  },
  "luminance": 0.28287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F04FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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