#ee331f
a balanced, electric red · warm · closest name: Red
At a glance
Every number on this page in one read: what #ee331f is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #ee331f |
| RGB | rgb(238, 51, 31) |
| HSL | hsl(6, 86%, 53%) |
| CMYK | cmyk(0%, 79%, 87%, 7%) |
| LAB | lab(52.6 68.5 55.5) |
| LCH | lch(52.6 88.2 39.0) |
| OKLCH | oklch(0.617 0.224 30.4) |
| Decimal | 15610655 |
| Display P3 | color(display-p3 0.933 0.200 0.122) |
Copy-ready code
/* CSS */
color: #ee331f;
background-color: #ee331f;
/* Tailwind (arbitrary) */
class="text-[#ee331f] bg-[#ee331f]"
/* SCSS */
$brand: #ee331f;
/* SwiftUI */
Color(red: 0.933, green: 0.200, blue: 0.122)
/* Android */
Color.parseColor("#ee331f")
/* Flutter */
Color(0xFFEE331F)
/* Python / OpenCV (BGR) */
(31, 51, 238)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #ee331f is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FDF3F2;
--brand-100: #FAE7E5;
--brand-200: #F7CAC5;
--brand-300: #F7A097;
--brand-400: #F37163;
--brand-500: #ee331f;
--brand-600: #E42611;
--brand-700: #BE1F0E;
--brand-800: #98190C;
--brand-900: #6E160D;
--brand-950: #440E08;
--brand: #ee331f;
--brand-ink: #000000;
}Colors that work with #ee331f
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #ee331f
Derived from its contrast, chroma and lightness — not from taste.
- ✓Headings from 24px up on white
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠Small text on white — under 4.5:1
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠Pairing with a same-lightness hue — edges vibrate
Similar colors
One move away from this hex in each direction. Every swatch is its own page.
Color relationships
The wheel positions with their names attached, so you can grab the one you actually need.
| Complementary | #1FDAEE | Directly opposite — maximum tension | |
| Analogous left | #EE1F72 | Neighbour, quieter | |
| Analogous right | #EE9A1F | Neighbour, quieter | |
| Split-complement 1 | #1FEE9A | Contrast without the clash | |
| Split-complement 2 | #1F72EE | Contrast without the clash | |
| Triadic 1 | #1FEE33 | Even thirds — balanced and loud | |
| Triadic 2 | #331FEE | Even thirds — balanced and loud | |
| Tetradic | #72EE1F | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#ee331f text on a black background
contrast 5.13:1
#ee331f text on a white background
contrast 4.09:1
CSS3 live lab
The quick brown fox
color: #ee331f;
background-color: #ee331f;
Glowing headline
text-shadow: 2px 2px 8px #ee331f;
Soft neon halo
text-shadow: 0 0 14px rgba(238, 51, 31, 0.45);
box-shadow: 0 12px 32px -8px rgba(238, 51, 31, 0.45);
border: 3px solid #ee331f; background: linear-gradient(135deg, #ee331f, #EEBD1F);
Monochromatic scale
Palettes built from #ee331f
Shades — darker
Tints — lighter
Color harmonies
Nearest named colors
Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.
Closest color with a full write-up: Red (#ff0000) — ΔE2000 3.2 away, with its history, psychology and brand usage.
#ee331f in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#ee331f, answered
What color is #ee331f?
#ee331f is a balanced electric red, closest to Red (ΔE2000 3.2). It sits at 6° on the hue wheel with 86% saturation and 53% lightness, which reads as warm.
What is the RGB value of #ee331f?
rgb(238, 51, 31) — 238 red, 51 green and 31 blue out of 255, or 93.3% / 20% / 12.2% by channel.
Is #ee331f a light or a dark color?
It is a mid-tone. Relative luminance is 0.2064 and perceived brightness is 53%, so black text on it reaches 5.13:1.
Should I use black or white text on #ee331f?
Black. It scores 5.13:1 against #ee331f, versus 4.09:1 for white — AA at any size.
What is the complementary color of #ee331f?
#1FDAEE sits directly opposite on the wheel. Softer options are the split-complements #1FEE9A and #1F72EE, which give the same contrast with far less vibration.
What colors go well with #ee331f?
For interface work: #FAF5F4 as the surface, #EDC4C0 for borders, #9B524B for secondary text, #0AC2A6 as an accent and #771409 for hover and pressed states. For a palette, the analogous pair #EE1F72 and #EE9A1F stays calm, while #1FDAEE is the loudest partner.
What is #ee331f in CMYK for printing?
cmyk(0%, 79%, 87%, 7%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.
Is #ee331f warm or cool?
Warm — it scores 13 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EE571F; nudged cooler, #F01C56.