#F04247#F04247

#F04247 is a light, highly saturated red. Relative luminance 0.229; OKLCH L 63.7% C 0.210 H 24.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#F04247
RGBrgb(240, 66, 71)
HSLhsl(358, 85%, 60%)
HSVhsv(358, 73%, 94%)
CMYKcmyk(0%, 72.5%, 70.4%, 5.9%)
CIE-LABlab(54.95, 65.80, 37.45)
CIE-LCHlch(54.95, 75.71, 29.65°)
OKLaboklab(63.71% 0.1919 0.0858)
OKLCHoklch(63.71% 0.21 24.1)
XYZxyz(39.0251, 22.8826, 8.3219)
Luminance0.2288 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04247 #42F0EB
analogous
#F0429E #F04247 #F09442
triadic
#F04247 #47F042 #4247F0
tetradic
#F04247 #9EF042 #42F0EB #9442F0
square
#F04247 #9EF042 #42F0EB #9442F0
split-complementary
#F04247 #42F094 #429EF0
monochromatic
#AA0E12 #E31218 #F04247 #F47B7E #F9B3B5

Accessibility & contrast

On white

3.77
#F04247 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#F04247 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04247
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04247#FFFFFF#000000##000000
##F042471.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#756C45
Deuteranopia (green-blind)
#A09141
Tritanopia (blue-blind)
#FF0046
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #f04247;
/* rgb */ color: rgb(240, 66, 71);
/* oklch */ color: oklch(63.7% 0.210 24.1);
Tailwind
colors: {
  custom: {
    50: '#fe837a',
    500: '#f04247',
    950: '#000000',
  },
}
SCSS
$custom: #f04247;
$custom-light: #fe837a;
$custom-dark: #000000;
JSON
{
  "hex": "#f04247",
  "rgb": {
    "r": 240,
    "g": 66,
    "b": 71
  },
  "hsl": {
    "h": 358.276,
    "s": 85.294,
    "l": 60
  },
  "oklch": {
    "l": 0.63709,
    "c": 0.21018,
    "h": 24.1
  },
  "luminance": 0.22877
}

Semantic roles & 50–950 ramp

primary
#F04247
secondary
#A5E8E6
accent
#FCF62C
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#1A0C09
muted
#877D7B

Preview Lab

Preview with #F04247

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

Preview Lab → · Contrast checker → · Palette generator →

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