Skip to content

#ec082f

a balanced, electric red · warm · closest name: Crimson

RGB
236, 8, 47
HSL
350°, 93%, 48%
CMYK
0, 97, 80, 8
Luminance
0.1821

At a glance

Every number on this page in one read: what #ec082f is made of, how bright it looks, and which way it leans.

Hex
#ec082f
Hue
350°
red
Saturation
93%
electric
Lightness
48%
balanced
Brightness
93%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1821
WCAG relative
Temperature
Warm
22/100 cool
Color family
Red
Tone
Electric
Best ink
Black
4.64:1
Closest name
Crimson
ΔE2000 5.1
Where it sits
Hue350° of 360°
Saturation93%
Lightness48%
Temperature
Warm ← → Cool22% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#ec082f
RGBrgb(236, 8, 47)
HSLhsl(350, 93%, 48%)
CMYKcmyk(0%, 97%, 80%, 8%)
LABlab(49.8 75.6 45.0)
LCHlch(49.8 88.0 30.8)
OKLCHoklch(0.596 0.239 23.8)
Decimal15468591
Display P3color(display-p3 0.925 0.031 0.184)

Copy-ready code

/* CSS */
color: #ec082f;
background-color: #ec082f;
/* Tailwind (arbitrary) */
class="text-[#ec082f] bg-[#ec082f]"
/* SCSS */
$brand: #ec082f;
/* SwiftUI */
Color(red: 0.925, green: 0.031, blue: 0.184)
/* Android */
Color.parseColor("#ec082f")
/* Flutter */
Color(0xFFEC082F)
/* Python / OpenCV (BGR) */
(47, 8, 236)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #ec082f · 4.64:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.52:1
AA pass · AA large pass · AAA fail
Aa
Black text · 4.64:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #ec082f as text scores 4.52:1 on white and 4.64:1 on black.

Accessibility — WCAG contrast

Aa
#ec082f on white: 4.52:1
AA ✓ pass · AA-large · AAA
Aa
#ec082f on black: 4.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #63592D
deuteranopia · #968624
tritanopia · #FF0020

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ec082f is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FDF2F4
#FBE4E8
#F9C2CC
#FB93A4
#F95C77
#F8264A
#ec082f
#C50727
#9E0520
#72091B
#470511
Base = 600Lightest = 50 · #FDF2F4Darkest = 950 · #470511
:root {
  --brand-50: #FDF2F4;
  --brand-100: #FBE4E8;
  --brand-200: #F9C2CC;
  --brand-300: #FB93A4;
  --brand-400: #F95C77;
  --brand-500: #F8264A;
  --brand-600: #ec082f;
  --brand-700: #C50727;
  --brand-800: #9E0520;
  --brand-900: #72091B;
  --brand-950: #470511;
  --brand: #ec082f;
  --brand-ink: #000000;
}

Colors that work with #ec082f

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF4F5
Tinted page background
Border#EDC0C7
Hairlines and dividers
Muted text#9B4B58
Captions on the surface
Accent#03C975
Second voice, not a rival
Dark variant#7B0419
Hover, pressed, headers
Light variant#FEE6EA
Selected rows, tints
Dark surface#241417
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #ec082f

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links 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
Use with care
  • 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#08ECC5
Analogous left#EC08A1
Analogous right#EC5308
Split-complement 1#08EC53
Split-complement 2#08A1EC
Triadic 1#2FEC08
Triadic 2#082FEC
Tetradic#A1EC08

RGB percentages

Red92.5%
Green3.1%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta96.6%
Yellow80.1%
Key (black)7.5%

Color previews

#ec082f text on a black background

contrast 4.64:1

Card sample

#ec082f text on a white background

contrast 4.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ec082f;
Background color
Panel with #ec082f background
background-color: #ec082f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ec082f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(236, 8, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 8, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ec082f;
background: linear-gradient(135deg, #ec082f, #EC7908);

Monochromatic scale

Palettes built from #ec082f

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.

#ec082f in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Food and drinkEntertainmentRetailSport
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ec082f, answered

What color is #ec082f?

#ec082f is a balanced electric red, closest to Crimson (ΔE2000 5.1). It sits at 350° on the hue wheel with 93% saturation and 48% lightness, which reads as warm.

What is the RGB value of #ec082f?

rgb(236, 8, 47) — 236 red, 8 green and 47 blue out of 255, or 92.5% / 3.1% / 18.4% by channel.

Is #ec082f a light or a dark color?

It is a mid-tone. Relative luminance is 0.1821 and perceived brightness is 51%, so black text on it reaches 4.64:1.

Should I use black or white text on #ec082f?

Black. It scores 4.64:1 against #ec082f, versus 4.52:1 for white — AA at any size.

What is the complementary color of #ec082f?

#08ECC5 sits directly opposite on the wheel. Softer options are the split-complements #08EC53 and #08A1EC, which give the same contrast with far less vibration.

What colors go well with #ec082f?

For interface work: #FAF4F5 as the surface, #EDC0C7 for borders, #9B4B58 for secondary text, #03C975 as an accent and #7B0419 for hover and pressed states. For a palette, the analogous pair #EC08A1 and #EC5308 stays calm, while #08ECC5 is the loudest partner.

What is #ec082f in CMYK for printing?

cmyk(0%, 97%, 80%, 8%). 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 #ec082f warm or cool?

Warm — it scores 22 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EC2808; nudged cooler, #EE0683.

Work with #ec082f in the Color Lab