#F04799#F04799

#F04799 is a light, highly saturated pink. Relative luminance 0.253; OKLCH L 66.1% C 0.216 H 355.1°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#F04799
RGBrgb(240, 71, 153)
HSLhsl(331, 85%, 61%)
HSVhsv(331, 70%, 94%)
CMYKcmyk(0%, 70.4%, 36.3%, 5.9%)
CIE-LABlab(57.40, 70.23, -7.39)
CIE-LCHlch(57.40, 70.62, 353.99°)
OKLaboklab(66.12% 0.2153 -0.0186)
OKLCHoklch(66.12% 0.216 355.1)
XYZxyz(43.9410, 25.3369, 32.7074)
Luminance0.2533 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04799 #47F09E
analogous
#F047ED #F04799 #F04947
triadic
#F04799 #99F047 #4799F0
tetradic
#F04799 #EDF047 #47F09E #4947F0
square
#F04799 #EDF047 #47F09E #4947F0
split-complementary
#F04799 #47F049 #47EDF0
monochromatic
#AE0E5C #E7137A #F04799 #F580B8 #F9B8D8

Accessibility & contrast

On white

3.46
#F04799 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#F04799 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04799
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04799#FFFFFF#000000##000000
##F047991.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#66769B
Deuteranopia (green-blind)
#959595
Tritanopia (blue-blind)
#FF366A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #f04799;
/* rgb */ color: rgb(240, 71, 153);
/* oklch */ color: oklch(66.1% 0.216 355.1);
Tailwind
colors: {
  custom: {
    50: '#fa87b7',
    500: '#f04799',
    950: '#000000',
  },
}
SCSS
$custom: #f04799;
$custom-light: #fa87b7;
$custom-dark: #000000;
JSON
{
  "hex": "#f04799",
  "rgb": {
    "r": 240,
    "g": 71,
    "b": 153
  },
  "hsl": {
    "h": 330.888,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66121,
    "c": 0.21607,
    "h": 355.1
  },
  "luminance": 0.25332
}

Semantic roles & 50–950 ramp

primary
#F04799
secondary
#AAE9CA
accent
#E17604
background
#FFF8FB
surface
#FFF0F6
border
#D7CBD0
text
#180C11
muted
#867D80

Preview Lab

Preview with #F04799

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

Preview Lab → · Contrast checker → · Palette generator →

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