Skip to content

Microsoft Red (#F04E1F)

The hex code for Microsoft Red is #F04E1F. It is rgb(240, 78, 31) in RGB, hsl(13, 87%, 53%) in HSL, and about cmyk(0%, 68%, 87%, 6%) in CMYK — a mid-tone red. Black text is the more readable choice on this background.

#F04E1F
HEX#F04E1F
RGBrgb(240, 78, 31)
HSLhsl(13, 87%, 53%)
HSVhsv(13, 87%, 94%)
CMYKcmyk(0%, 68%, 87%, 6%)
OKLCHoklch(64.5% 0.206 35.7)
LABlab(57.01% 61.67 60.13)
LCHlch(57.01% 86.13 44.27)

Colors Closest to Microsoft Red

Microsoft Red is a registered color name. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.

Browse the full index of named colors A-Z or every red in the library.

#F04E1F Channel Values

How Microsoft Red breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 240 · G 78 · B 318-bit channels as sent to the display
HSLH 13° · S 87% · L 53%Easiest model for building lighter and darker variants
HSVH 13° · S 87% · V 94%Matches the picker in most design tools
CMYKC 0% · M 68% · Y 87% · K 6%Approximate ink mix; confirm with an ICC profile before printing
Luminance3.61:1 vs white · 5.81:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a Microsoft Red background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text3.61:1AA normal AA large AAA normal
TextBlack text5.81:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #F04E1F in the contrast checker.

Colors That Go With Microsoft Red

Pairings derived from color-wheel relationships. The complementary color sits opposite Microsoft Red; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of Microsoft Red

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #F04E1F.

How Microsoft Red Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#F04E1F
Protanopia#7F7F1A
Protanomaly#B76F1C
Deuteranopia#9D9D00
Deuteranomaly#C48501
Tritanopia#F14A4A
Tritanomaly#F14C3D
Achromatopsia#878787

Test a full palette in the color blindness simulator.

Using #F04E1F in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--microsoft-red: #F04E1F;
CSS backgroundbackground-color: #F04E1F;
Tailwind configcolors: { 'microsoft-red': '#F04E1F' }
SwiftUIColor(red: 0.941, green: 0.306, blue: 0.122)
Android XML<color name="microsoft_red">#F04E1F</color>
SVG fillfill="#F04E1F"

More Red Colors

Microsoft Red sits in the redfamily. These are its neighbours across that family's full range, each with its own breakdown.

#F04E1F Frequently Asked Questions

What is the hex code for Microsoft Red?

The hex code for Microsoft Red is #F04E1F. That is rgb(240, 78, 31) in RGB, hsl(13, 87%, 53%) in HSL, and approximately cmyk(0%, 68%, 87%, 6%) in CMYK.

What is the RGB value of #F04E1F?

#F04E1F is rgb(240, 78, 31) — red 240, green 78, and blue 31 on the 0-255 scale.

What is the CMYK value of #F04E1F?

#F04E1F converts to approximately cmyk(0%, 68%, 87%, 6%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #F04E1F be black or white?

Black text is the more readable choice. #F04E1F scores 3.61:1 against white and 5.81:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #F04E1F as a CSS color keyword?

No. #F04E1F is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is orangered (#FF4500) at a CIE76 distance of 13.21, which is visibly different.

Open Microsoft Red in a Tool

Keep exploring: every red in the color library, the guide to shades of red, or the full color library.