#F04F77#F04F77

#F04F77 is a light, vivid red. Relative luminance 0.254; OKLCH L 65.9% C 0.198 H 9.6°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#F04F77
RGBrgb(240, 79, 119)
HSLhsl(345, 84%, 63%)
HSVhsv(345, 67%, 94%)
CMYKcmyk(0%, 67.1%, 50.4%, 5.9%)
CIE-LABlab(57.52, 64.15, 12.78)
CIE-LCHlch(57.52, 65.42, 11.27°)
OKLaboklab(65.9% 0.1948 0.0328)
OKLCHoklch(65.9% 0.198 9.6)
XYZxyz(42.0645, 25.4547, 20.1474)
Luminance0.2545 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04F77 #4FF0C8
analogous
#F04FC8 #F04F77 #F0774F
triadic
#F04F77 #77F04F #4F77F0
tetradic
#F04F77 #C8F04F #4FF0C8 #774FF0
square
#F04F77 #C8F04F #4FF0C8 #774FF0
split-complementary
#F04F77 #4FF077 #4FC8F0
monochromatic
#B50F39 #EB174B #F04F77 #F587A3 #FAC0CE

Accessibility & contrast

On white

3.45
#F04F77 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#F04F77 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04F77
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04F77#FFFFFF#000000##000000
##F04F771.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#757678
Deuteranopia (green-blind)
#9F9673
Tritanopia (blue-blind)
#FF325F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #f04f77;
/* rgb */ color: rgb(240, 79, 119);
/* oklch */ color: oklch(65.9% 0.198 9.6);
Tailwind
colors: {
  custom: {
    50: '#fb8a9e',
    500: '#f04f77',
    950: '#000000',
  },
}
SCSS
$custom: #f04f77;
$custom-light: #fb8a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f04f77",
  "rgb": {
    "r": 240,
    "g": 79,
    "b": 119
  },
  "hsl": {
    "h": 345.093,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.659,
    "c": 0.19752,
    "h": 9.6
  },
  "luminance": 0.25449
}

Semantic roles & 50–950 ramp

primary
#F04F77
secondary
#B0EBDC
accent
#E1AA05
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#190D0E
muted
#877D7E

Preview Lab

Preview with #F04F77

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

Preview Lab → · Contrast checker → · Palette generator →

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