#F04754#F04754

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

Color values

HEX#F04754
RGBrgb(240, 71, 84)
HSLhsl(355, 85%, 61%)
HSVhsv(355, 70%, 94%)
CMYKcmyk(0%, 70.4%, 65%, 5.9%)
CIE-LABlab(55.76, 64.72, 30.98)
CIE-LCHlch(55.76, 71.75, 25.58°)
OKLaboklab(64.38% 0.1911 0.0733)
OKLCHoklch(64.38% 0.205 21)
XYZxyz(39.7929, 23.6777, 10.8607)
Luminance0.2367 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04754 #47F0E3
analogous
#F047A8 #F04754 #F08E47
triadic
#F04754 #54F047 #4754F0
tetradic
#F04754 #A8F047 #47F0E3 #8E47F0
square
#F04754 #A8F047 #47F0E3 #8E47F0
split-complementary
#F04754 #47F08E #47A8F0
monochromatic
#AE0E1B #E71323 #F04754 #F58089 #F9B8BD

Accessibility & contrast

On white

3.66
#F04754 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##F04754#FFFFFF#000000##000000
##F047541.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#766F53
Deuteranopia (green-blind)
#A1934F
Tritanopia (blue-blind)
#FF0B4D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #f04754;
/* rgb */ color: rgb(240, 71, 84);
/* oklch */ color: oklch(64.4% 0.205 21.0);
Tailwind
colors: {
  custom: {
    50: '#fd8584',
    500: '#f04754',
    950: '#000000',
  },
}
SCSS
$custom: #f04754;
$custom-light: #fd8584;
$custom-dark: #000000;
JSON
{
  "hex": "#f04754",
  "rgb": {
    "r": 240,
    "g": 71,
    "b": 84
  },
  "hsl": {
    "h": 355.385,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64375,
    "c": 0.20466,
    "h": 21
  },
  "luminance": 0.23672
}

Semantic roles & 50–950 ramp

primary
#F04754
secondary
#AAE9E4
accent
#E1D004
background
#FFF8F8
surface
#FFF0EF
border
#D7CBCA
text
#190C0A
muted
#867D7C

Preview Lab

Preview with #F04754

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

Preview Lab → · Contrast checker → · Palette generator →

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