#F04F79#F04F79

#F04F79 is a light, vivid pink. Relative luminance 0.255; OKLCH L 66.0% C 0.198 H 8.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#F04F79
RGBrgb(240, 79, 121)
HSLhsl(344, 84%, 63%)
HSVhsv(344, 67%, 94%)
CMYKcmyk(0%, 67.1%, 49.6%, 5.9%)
CIE-LABlab(57.56, 64.32, 11.67)
CIE-LCHlch(57.56, 65.37, 10.28°)
OKLaboklab(65.95% 0.1955 0.0301)
OKLCHoklch(65.95% 0.198 8.7)
XYZxyz(42.1859, 25.5032, 20.7866)
Luminance0.2550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04F79 #4FF0C6
analogous
#F04FC9 #F04F79 #F0764F
triadic
#F04F79 #79F04F #4F79F0
tetradic
#F04F79 #C9F04F #4FF0C6 #764FF0
square
#F04F79 #C9F04F #4FF0C6 #764FF0
split-complementary
#F04F79 #4FF076 #4FC9F0
monochromatic
#B50F3B #EB174E #F04F79 #F587A4 #FAC0CF

Accessibility & contrast

On white

3.44
#F04F79 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#F04F79 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04F79
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04F79#FFFFFF#000000##000000
##F04F791.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#74767A
Deuteranopia (green-blind)
#9E9675
Tritanopia (blue-blind)
#FF3360
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #f04f79;
/* rgb */ color: rgb(240, 79, 121);
/* oklch */ color: oklch(66.0% 0.198 8.7);
Tailwind
colors: {
  custom: {
    50: '#fb8a9f',
    500: '#f04f79',
    950: '#000000',
  },
}
SCSS
$custom: #f04f79;
$custom-light: #fb8a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f04f79",
  "rgb": {
    "r": 240,
    "g": 79,
    "b": 121
  },
  "hsl": {
    "h": 344.348,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6595,
    "c": 0.19781,
    "h": 8.7
  },
  "luminance": 0.25498
}

Semantic roles & 50–950 ramp

primary
#F04F79
secondary
#B0EBDB
accent
#E1A705
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#190D0E
muted
#877D7E

Preview Lab

Preview with #F04F79

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

Preview Lab → · Contrast checker → · Palette generator →

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