Skip to content

#f06c2f

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

RGB
240, 108, 47
HSL
19°, 87%, 56%
CMYK
0, 55, 80, 6
Luminance
0.2946

At a glance

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

Hex
#f06c2f
Hue
19°
orange
Saturation
87%
electric
Lightness
56%
balanced
Brightness
94%
HSV value
Perceived
61%
weighted brightness
Luminance
0.2946
WCAG relative
Temperature
Warm
6/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
6.89:1
Closest name
Coral
ΔE2000 6
Where it sits
Hue19° of 360°
Saturation87%
Lightness56%
Temperature
Warm ← → Cool6% 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#f06c2f
RGBrgb(240, 108, 47)
HSLhsl(19, 87%, 56%)
CMYKcmyk(0%, 55%, 80%, 6%)
LABlab(61.2 47.6 56.3)
LCHlch(61.2 73.7 49.8)
OKLCHoklch(0.683 0.178 42.7)
Decimal15756335
Display P3color(display-p3 0.941 0.424 0.184)

Copy-ready code

/* CSS */
color: #f06c2f;
background-color: #f06c2f;
/* Tailwind (arbitrary) */
class="text-[#f06c2f] bg-[#f06c2f]"
/* SCSS */
$brand: #f06c2f;
/* SwiftUI */
Color(red: 0.941, green: 0.424, blue: 0.184)
/* Android */
Color.parseColor("#f06c2f")
/* Flutter */
Color(0xFFF06C2F)
/* Python / OpenCV (BGR) */
(47, 108, 240)

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 #f06c2f · 6.89:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.05:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.89:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #f06c2f as text scores 3.05:1 on white and 6.89:1 on black.

Accessibility — WCAG contrast

Aa
#f06c2f on white: 3.05:1
AA ✗ fail · AA-large · AAA
Aa
#f06c2f on black: 6.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #918126
deuteranopia · #B29F2B
tritanopia · #FF4E60

Color scale — 50 to 950

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

#FDF5F2
#FAECE5
#F7D5C4
#F7B596
#F49062
#f06c2f
#E45411
#BE460E
#98380B
#6E2B0C
#451B08
Base = 500Lightest = 50 · #FDF5F2Darkest = 950 · #451B08
:root {
  --brand-50: #FDF5F2;
  --brand-100: #FAECE5;
  --brand-200: #F7D5C4;
  --brand-300: #F7B596;
  --brand-400: #F49062;
  --brand-500: #f06c2f;
  --brand-600: #E45411;
  --brand-700: #BE460E;
  --brand-800: #98380B;
  --brand-900: #6E2B0C;
  --brand-950: #451B08;
  --brand: #f06c2f;
  --brand-ink: #000000;
}

Colors that work with #f06c2f

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#FAF6F4
Tinted page background
Border#EDCEC0
Hairlines and dividers
Muted text#9B644B
Captions on the surface
Accent#0AB6C2
Second voice, not a rival
Dark variant#772C09
Hover, pressed, headers
Light variant#FDEEE7
Selected rows, tints
Dark surface#241914
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 #f06c2f

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

Works well for
  • 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
Use with care
  • 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#2FB3F0
Analogous left#F02F53
Analogous right#F0CD2F
Split-complement 1#2FF0CD
Split-complement 2#2F53F0
Triadic 1#2FF06C
Triadic 2#6C2FF0
Tetradic#53F02F

RGB percentages

Red94.1%
Green42.4%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta55.0%
Yellow80.4%
Key (black)5.9%

Color previews

#f06c2f text on a black background

contrast 6.89:1

Card sample

#f06c2f text on a white background

contrast 3.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f06c2f

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.

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

#f06c2f, answered

What color is #f06c2f?

#f06c2f is a balanced electric orange, closest to Coral (ΔE2000 6). It sits at 19° on the hue wheel with 87% saturation and 56% lightness, which reads as warm.

What is the RGB value of #f06c2f?

rgb(240, 108, 47) — 240 red, 108 green and 47 blue out of 255, or 94.1% / 42.4% / 18.4% by channel.

Is #f06c2f a light or a dark color?

It is a mid-tone. Relative luminance is 0.2946 and perceived brightness is 61%, so black text on it reaches 6.89:1.

Should I use black or white text on #f06c2f?

Black. It scores 6.89:1 against #f06c2f, versus 3.05:1 for white — AA at any size.

What is the complementary color of #f06c2f?

#2FB3F0 sits directly opposite on the wheel. Softer options are the split-complements #2FF0CD and #2F53F0, which give the same contrast with far less vibration.

What colors go well with #f06c2f?

For interface work: #FAF6F4 as the surface, #EDCEC0 for borders, #9B644B for secondary text, #0AB6C2 as an accent and #772C09 for hover and pressed states. For a palette, the analogous pair #F02F53 and #F0CD2F stays calm, while #2FB3F0 is the loudest partner.

What is #f06c2f in CMYK for printing?

cmyk(0%, 55%, 80%, 6%). 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 #f06c2f warm or cool?

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

Work with #f06c2f in the Color Lab