#F04F71#F04F71

#F04F71 is a light, vivid red. Relative luminance 0.253; OKLCH L 65.8% C 0.197 H 11.9°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#F04F71
RGBrgb(240, 79, 113)
HSLhsl(347, 84%, 63%)
HSVhsv(347, 67%, 94%)
CMYKcmyk(0%, 67.1%, 52.9%, 5.9%)
CIE-LABlab(57.38, 63.68, 16.13)
CIE-LCHlch(57.38, 65.69, 14.21°)
OKLaboklab(65.76% 0.1926 0.0407)
OKLCHoklch(65.76% 0.197 11.9)
XYZxyz(41.7155, 25.3150, 18.3092)
Luminance0.2531 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04F71 #4FF0CE
analogous
#F04FC2 #F04F71 #F07D4F
triadic
#F04F71 #71F04F #4F71F0
tetradic
#F04F71 #C2F04F #4FF0CE #7D4FF0
square
#F04F71 #C2F04F #4FF0CE #7D4FF0
split-complementary
#F04F71 #4FF07D #4FC2F0
monochromatic
#B50F32 #EB1744 #F04F71 #F5879E #FAC0CC

Accessibility & contrast

On white

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

On black

6.06
#F04F71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04F71
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04F71#FFFFFF#000000##000000
##F04F711.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#767571
Deuteranopia (green-blind)
#A0966D
Tritanopia (blue-blind)
#FF2F5D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #f04f71;
/* rgb */ color: rgb(240, 79, 113);
/* oklch */ color: oklch(65.8% 0.197 11.9);
Tailwind
colors: {
  custom: {
    50: '#fb8a99',
    500: '#f04f71',
    950: '#000000',
  },
}
SCSS
$custom: #f04f71;
$custom-light: #fb8a99;
$custom-dark: #000000;
JSON
{
  "hex": "#f04f71",
  "rgb": {
    "r": 240,
    "g": 79,
    "b": 113
  },
  "hsl": {
    "h": 347.329,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65756,
    "c": 0.19682,
    "h": 11.9
  },
  "luminance": 0.25309
}

Semantic roles & 50–950 ramp

primary
#F04F71
secondary
#B0EBDE
accent
#E1B205
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#190C0D
muted
#877D7E

Preview Lab

Preview with #F04F71

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

Preview Lab → · Contrast checker → · Palette generator →

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