Skip to content

#ff6d21

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

RGB
255, 109, 33
HSL
21°, 100%, 57%
CMYK
0, 57, 87, 0
Luminance
0.3231

At a glance

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

Hex
#ff6d21
Hue
21°
orange
Saturation
100%
electric
Lightness
57%
balanced
Brightness
100%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3231
WCAG relative
Temperature
Warm
5/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
7.46:1
Closest name
Coral
ΔE2000 6.1
Where it sits
Hue21° of 360°
Saturation100%
Lightness57%
Temperature
Warm ← → Cool5% 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#ff6d21
RGBrgb(255, 109, 33)
HSLhsl(21, 100%, 57%)
CMYKcmyk(0%, 57%, 87%, 0%)
LABlab(63.6 52.3 64.7)
LCHlch(63.6 83.1 51.1)
OKLCHoklch(0.706 0.195 43.2)
Decimal16739617
Display P3color(display-p3 1.000 0.427 0.129)

Copy-ready code

/* CSS */
color: #ff6d21;
background-color: #ff6d21;
/* Tailwind (arbitrary) */
class="text-[#ff6d21] bg-[#ff6d21]"
/* SCSS */
$brand: #ff6d21;
/* SwiftUI */
Color(red: 1.000, green: 0.427, blue: 0.129)
/* Android */
Color.parseColor("#ff6d21")
/* Flutter */
Color(0xFFFF6D21)
/* Python / OpenCV (BGR) */
(33, 109, 255)

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

Accessibility — WCAG contrast

Aa
#ff6d21 on white: 2.81:1
AA ✗ fail · AA-large · AAA
Aa
#ff6d21 on black: 7.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #97850F
deuteranopia · #BBA619
tritanopia · #FF495F

Color scale — 50 to 950

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

#FEF5F1
#FCECE3
#FCD4C0
#FFB58F
#FF9057
#ff6d21
#F55400
#CC4600
#A33800
#762B05
#491B03
Base = 500Lightest = 50 · #FEF5F1Darkest = 950 · #491B03
:root {
  --brand-50: #FEF5F1;
  --brand-100: #FCECE3;
  --brand-200: #FCD4C0;
  --brand-300: #FFB58F;
  --brand-400: #FF9057;
  --brand-500: #ff6d21;
  --brand-600: #F55400;
  --brand-700: #CC4600;
  --brand-800: #A33800;
  --brand-900: #762B05;
  --brand-950: #491B03;
  --brand: #ff6d21;
  --brand-ink: #000000;
}

Colors that work with #ff6d21

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#EDCFC0
Hairlines and dividers
Muted text#9B664B
Captions on the surface
Accent#00BACC
Second voice, not a rival
Dark variant#802C00
Hover, pressed, headers
Light variant#FFEEE5
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 #ff6d21

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#21B3FF
Analogous left#FF2144
Analogous right#FFDC21
Split-complement 1#21FFDC
Split-complement 2#2144FF
Triadic 1#21FF6D
Triadic 2#6D21FF
Tetradic#44FF21

RGB percentages

Red100.0%
Green42.7%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta57.3%
Yellow87.1%
Key (black)0.0%

Color previews

#ff6d21 text on a black background

contrast 7.46:1

Card sample

#ff6d21 text on a white background

contrast 2.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 109, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 109, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff6d21;
background: linear-gradient(135deg, #ff6d21, #FDFF21);

Monochromatic scale

Palettes built from #ff6d21

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.

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

#ff6d21, answered

What color is #ff6d21?

#ff6d21 is a balanced electric orange, closest to Coral (ΔE2000 6.1). It sits at 21° on the hue wheel with 100% saturation and 57% lightness, which reads as warm.

What is the RGB value of #ff6d21?

rgb(255, 109, 33) — 255 red, 109 green and 33 blue out of 255, or 100% / 42.7% / 12.9% by channel.

Is #ff6d21 a light or a dark color?

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

Should I use black or white text on #ff6d21?

Black. It scores 7.46:1 against #ff6d21, versus 2.81:1 for white — AAA at any size.

What is the complementary color of #ff6d21?

#21B3FF sits directly opposite on the wheel. Softer options are the split-complements #21FFDC and #2144FF, which give the same contrast with far less vibration.

What colors go well with #ff6d21?

For interface work: #FAF6F4 as the surface, #EDCFC0 for borders, #9B664B for secondary text, #00BACC as an accent and #802C00 for hover and pressed states. For a palette, the analogous pair #FF2144 and #FFDC21 stays calm, while #21B3FF is the loudest partner.

What is #ff6d21 in CMYK for printing?

cmyk(0%, 57%, 87%, 0%). 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 #ff6d21 warm or cool?

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

Work with #ff6d21 in the Color Lab