#F04751#F04751

#F04751 is a light, highly saturated red. Relative luminance 0.236; OKLCH L 64.3% C 0.205 H 22.0°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#F04751
RGBrgb(240, 71, 81)
HSLhsl(356, 85%, 61%)
HSVhsv(356, 70%, 94%)
CMYKcmyk(0%, 70.4%, 66.3%, 5.9%)
CIE-LABlab(55.72, 64.56, 32.65)
CIE-LCHlch(55.72, 72.35, 26.83°)
OKLaboklab(64.33% 0.19 0.0767)
OKLCHoklch(64.33% 0.205 22)
XYZxyz(39.6779, 23.6317, 10.2551)
Luminance0.2363 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04751 #47F0E6
analogous
#F047A5 #F04751 #F09147
triadic
#F04751 #51F047 #4751F0
tetradic
#F04751 #A5F047 #47F0E6 #9147F0
square
#F04751 #A5F047 #47F0E6 #9147F0
split-complementary
#F04751 #47F091 #47A5F0
monochromatic
#AE0E18 #E7131F #F04751 #F58087 #F9B8BC

Accessibility & contrast

On white

3.67
#F04751 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#F04751 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04751
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04751#FFFFFF#000000##000000
##F047511.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#766F50
Deuteranopia (green-blind)
#A1934C
Tritanopia (blue-blind)
#FF084C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #f04751;
/* rgb */ color: rgb(240, 71, 81);
/* oklch */ color: oklch(64.3% 0.205 22.0);
Tailwind
colors: {
  custom: {
    50: '#fd8582',
    500: '#f04751',
    950: '#000000',
  },
}
SCSS
$custom: #f04751;
$custom-light: #fd8582;
$custom-dark: #000000;
JSON
{
  "hex": "#f04751",
  "rgb": {
    "r": 240,
    "g": 71,
    "b": 81
  },
  "hsl": {
    "h": 356.45,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64325,
    "c": 0.20487,
    "h": 22
  },
  "luminance": 0.23626
}

Semantic roles & 50–950 ramp

primary
#F04751
secondary
#AAE9E5
accent
#E1D404
background
#FFF8F7
surface
#FFF0EE
border
#D7CBC9
text
#190C0A
muted
#867D7C

Preview Lab

Preview with #F04751

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

Preview Lab → · Contrast checker → · Palette generator →

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