Skip to content

#EB2828 Color

#EB2828 is rgb(235, 40, 40) in RGB, hsl(0, 83%, 54%) in HSL, and about cmyk(0%, 83%, 83%, 8%) in CMYK. It has no registered color name of its own — the closest is Lust (#E62020), very hard to tell apart at ΔE 2.69. Black text is the more readable choice on this background.

#EB2828
HEX#EB2828
RGBrgb(235, 40, 40)
HSLhsl(0, 83%, 54%)
HSVhsv(0, 83%, 92%)
CMYKcmyk(0%, 83%, 83%, 8%)
OKLCHoklch(60.6% 0.227 27.4)
LABlab(51.99% 71.41 51.87)
LCHlch(51.99% 88.26 36.00)

What #EB2828 Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #EB2828, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

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

#EB2828 Channel Values

How #EB2828 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 235 · G 40 · B 408-bit channels as sent to the display
HSLH 0° · S 83% · L 54%Easiest model for building lighter and darker variants
HSVH 0° · S 83% · V 92%Matches the picker in most design tools
CMYKC 0% · M 83% · Y 83% · K 8%Approximate ink mix; confirm with an ICC profile before printing
Luminance4.32:1 vs white · 4.87:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #EB2828 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.

Fails AAWhite text4.32:1AA normal AA large AAA normal
TextBlack text4.87:1AA normal AA large AAA normal

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

Colors That Go With #EB2828

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

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

How #EB2828 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#EB2828
Protanopia#6F6F24
Protanomaly#AF5B26
Deuteranopia#929200
Deuteranomaly#BC7615
Tritanopia#EB2828
Tritanomaly#EB2828
Achromatopsia#7A7A7A

Test a full palette in the color blindness simulator.

Using #EB2828 in Code

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

CSS custom property--color-eb2828: #EB2828;
CSS backgroundbackground-color: #EB2828;
Tailwind configcolors: { 'color-eb2828': '#EB2828' }
SwiftUIColor(red: 0.922, green: 0.157, blue: 0.157)
Android XML<color name="color_eb2828">#EB2828</color>
SVG fillfill="#EB2828"

More Red Colors

#EB2828 sits in the red family. These are its neighbours across that family's full range, each with its own breakdown.

#EB2828 Frequently Asked Questions

What color is #EB2828?

#EB2828 is a mid-tone red — rgb(235, 40, 40) in RGB and hsl(0, 83%, 54%) in HSL. It carries no registered color name of its own; the closest named color is Lust (#E62020), which is very hard to tell apart at a CIE76 distance of 2.69.

What is the RGB value of #EB2828?

#EB2828 is rgb(235, 40, 40) — red 235, green 40, and blue 40 on the 0-255 scale.

What is the CMYK value of #EB2828?

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

Should text on #EB2828 be black or white?

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

Can I write #EB2828 as a CSS color keyword?

No. #EB2828 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 tomato (#FF6347) at a CIE76 distance of 16.8, which is visibly different.

Open #EB2828 in a Tool

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