Skip to content

#FF4040 Color

#FF4040 is rgb(255, 64, 64) in RGB, hsl(0, 100%, 63%) in HSL, and about cmyk(0%, 75%, 75%, 0%) in CMYK. The closest CSS named color is Tomato (#FF6347). Black text is the more readable choice on this background.

#FF4040
HEX#FF4040
RGBrgb(255, 64, 64)
HSLhsl(0, 100%, 63%)
HSVhsv(0, 75%, 100%)
CMYKcmyk(0%, 75%, 75%, 0%)
OKLCHoklch(66% 0.227 26)
LABlab(58.26% 71.48 46.69)
LCHlch(58.26% 85.38 33.15)

#FF4040 Channel Values

How #FF4040 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 255 · G 64 · B 648-bit channels as sent to the display
HSLH 0° · S 100% · L 63%Easiest model for building lighter and darker variants
HSVH 0° · S 75% · V 100%Matches the picker in most design tools
CMYKC 0% · M 75% · Y 75% · K 0%Approximate ink mix; confirm with an ICC profile before printing
Luminance3.47:1 vs white · 6.06:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #FF4040 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.47:1AA normal AA large AAA normal
TextBlack text6.06:1AA normal AA large AAA normal

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

Colors That Go With #FF4040

Pairings derived from color-wheel relationships. The complementary color sits opposite #FF4040; 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 #FF4040

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 #FF4040.

How #FF4040 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#FF4040
Protanopia#7F7F3D
Protanomaly#C06B3E
Deuteranopia#A3A32C
Deuteranomaly#CE8635
Tritanopia#FF4040
Tritanomaly#FF4040
Achromatopsia#8A8A8A

Test a full palette in the color blindness simulator.

Using #FF4040 in Code

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

CSS custom property--color-ff4040: #FF4040;
CSS backgroundbackground-color: #FF4040;
Tailwind configcolors: { 'color-ff4040': '#FF4040' }
SwiftUIColor(red: 1.000, green: 0.251, blue: 0.251)
Android XML<color name="color_ff4040">#FF4040</color>
SVG fillfill="#FF4040"

#FF4040 Frequently Asked Questions

What is the RGB value of #FF4040?

#FF4040 is rgb(255, 64, 64) — red 255, green 64, and blue 64 on the 0-255 scale.

What is the CMYK value of #FF4040?

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

Should text on #FF4040 be black or white?

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

Does #FF4040 have a color name?

#FF4040 is not one of the 140 CSS named colors. The closest named color is Tomato (#FF6347), at a CIE76 distance of 13.1, so the two are visibly similar.

Open #FF4040 in a Tool

#FF4040 sits in the red family — browse every shade of red with hex codes, or return to the full color library.