Skip to content

#ec7f39

a balanced, electric orange · warm · closest name: Coral

RGB
236, 127, 57
HSL
24°, 83%, 58%
CMYK
0, 46, 76, 8
Luminance
0.3331

At a glance

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

Hex
#ec7f39
Hue
24°
orange
Saturation
83%
electric
Lightness
58%
balanced
Brightness
93%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3331
WCAG relative
Temperature
Warm
4/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
7.66:1
Closest name
Coral
ΔE2000 7.1
Where it sits
Hue24° of 360°
Saturation83%
Lightness58%
Temperature
Warm ← → Cool4% 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#ec7f39
RGBrgb(236, 127, 57)
HSLhsl(24, 83%, 58%)
CMYKcmyk(0%, 46%, 76%, 8%)
LABlab(64.4 37.0 54.7)
LCHlch(64.4 66.1 55.9)
OKLCHoklch(0.707 0.157 50.1)
Decimal15499065
Display P3color(display-p3 0.925 0.498 0.224)

Copy-ready code

/* CSS */
color: #ec7f39;
background-color: #ec7f39;
/* Tailwind (arbitrary) */
class="text-[#ec7f39] bg-[#ec7f39]"
/* SCSS */
$brand: #ec7f39;
/* SwiftUI */
Color(red: 0.925, green: 0.498, blue: 0.224)
/* Android */
Color.parseColor("#ec7f39")
/* Flutter */
Color(0xFFEC7F39)
/* Python / OpenCV (BGR) */
(57, 127, 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 #ec7f39 · 7.66:1
Use #000000AAA at every size.
Aa
White text · 2.74:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.66:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ec7f39 as text scores 2.74:1 on white and 7.66:1 on black.

Accessibility — WCAG contrast

Aa
#ec7f39 on white: 2.74:1
AA ✗ fail · AA-large · AAA
Aa
#ec7f39 on black: 7.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9E8D30
deuteranopia · #B8A637
tritanopia · #FF6870

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ec7f39 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.

#FCF6F2
#FAEEE6
#F6D9C6
#F5BD99
#F09C65
#ec7f39
#DF6515
#BA5412
#95430E
#6C330F
#432009
Base = 500Lightest = 50 · #FCF6F2Darkest = 950 · #432009
:root {
  --brand-50: #FCF6F2;
  --brand-100: #FAEEE6;
  --brand-200: #F6D9C6;
  --brand-300: #F5BD99;
  --brand-400: #F09C65;
  --brand-500: #ec7f39;
  --brand-600: #DF6515;
  --brand-700: #BA5412;
  --brand-800: #95430E;
  --brand-900: #6C330F;
  --brand-950: #432009;
  --brand: #ec7f39;
  --brand-ink: #000000;
}

Colors that work with #ec7f39

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#FAF7F4
Tinted page background
Border#EDD1C0
Hairlines and dividers
Muted text#9B6A4B
Captions on the surface
Accent#0EA6BE
Second voice, not a rival
Dark variant#74340B
Hover, pressed, headers
Light variant#FDF0E8
Selected rows, tints
Dark surface#241A14
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 #ec7f39

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

Works well for
  • 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
  • Text of any size on white — fails WCAG AA
  • 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#39A6EC
Analogous left#EC394D
Analogous right#ECD939
Split-complement 1#39ECD9
Split-complement 2#394DEC
Triadic 1#39EC7F
Triadic 2#7F39EC
Tetradic#4DEC39

RGB percentages

Red92.5%
Green49.8%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta46.2%
Yellow75.8%
Key (black)7.5%

Color previews

#ec7f39 text on a black background

contrast 7.66:1

Card sample

#ec7f39 text on a white background

contrast 2.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec7f39

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.

#ec7f39 in the real world

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

Industries
E-commerceFood deliveryLogisticsCreator tools
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#ec7f39, answered

What color is #ec7f39?

#ec7f39 is a balanced electric orange, closest to Coral (ΔE2000 7.1). It sits at 24° on the hue wheel with 83% saturation and 58% lightness, which reads as warm.

What is the RGB value of #ec7f39?

rgb(236, 127, 57) — 236 red, 127 green and 57 blue out of 255, or 92.5% / 49.8% / 22.4% by channel.

Is #ec7f39 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3331 and perceived brightness is 64%, so black text on it reaches 7.66:1.

Should I use black or white text on #ec7f39?

Black. It scores 7.66:1 against #ec7f39, versus 2.74:1 for white — AAA at any size.

What is the complementary color of #ec7f39?

#39A6EC sits directly opposite on the wheel. Softer options are the split-complements #39ECD9 and #394DEC, which give the same contrast with far less vibration.

What colors go well with #ec7f39?

For interface work: #FAF7F4 as the surface, #EDD1C0 for borders, #9B6A4B for secondary text, #0EA6BE as an accent and #74340B for hover and pressed states. For a palette, the analogous pair #EC394D and #ECD939 stays calm, while #39A6EC is the loudest partner.

What is #ec7f39 in CMYK for printing?

cmyk(0%, 46%, 76%, 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 #ec7f39 warm or cool?

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

Work with #ec7f39 in the Color Lab