Skip to content

#db7821

a balanced, vivid orange · warm · closest name: Chocolate

RGB
219, 120, 33
HSL
28°, 74%, 49%
CMYK
0, 45, 85, 14
Luminance
0.2860

At a glance

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

Hex
#db7821
Hue
28°
orange
Saturation
74%
vivid
Lightness
49%
balanced
Brightness
86%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2860
WCAG relative
Temperature
Warm
1/100 cool
Color family
Orange
Tone
Vivid
Best ink
Black
6.72:1
Closest name
Chocolate
ΔE2000 5.1
Where it sits
Hue28° of 360°
Saturation74%
Lightness49%
Temperature
Warm ← → Cool1% 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#db7821
RGBrgb(219, 120, 33)
HSLhsl(28, 74%, 49%)
CMYKcmyk(0%, 45%, 85%, 14%)
LABlab(60.4 33.0 59.9)
LCHlch(60.4 68.4 61.2)
OKLCHoklch(0.671 0.153 55.5)
Decimal14383137
Display P3color(display-p3 0.859 0.471 0.129)

Copy-ready code

/* CSS */
color: #db7821;
background-color: #db7821;
/* Tailwind (arbitrary) */
class="text-[#db7821] bg-[#db7821]"
/* SCSS */
$brand: #db7821;
/* SwiftUI */
Color(red: 0.859, green: 0.471, blue: 0.129)
/* Android */
Color.parseColor("#db7821")
/* Flutter */
Color(0xFFDB7821)
/* Python / OpenCV (BGR) */
(33, 120, 219)

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

Accessibility — WCAG contrast

Aa
#db7821 on white: 3.12:1
AA ✗ fail · AA-large · AAA
Aa
#db7821 on black: 6.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #95840E
deuteranopia · #AD9A20
tritanopia · #F06268

Color scale — 50 to 950

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

#FCF7F3
#F9EFE7
#F3DCC8
#F0C49D
#E9A76D
#E28A3C
#db7821
#B1611B
#8E4E15
#673B14
#40250C
Base = 600Lightest = 50 · #FCF7F3Darkest = 950 · #40250C
:root {
  --brand-50: #FCF7F3;
  --brand-100: #F9EFE7;
  --brand-200: #F3DCC8;
  --brand-300: #F0C49D;
  --brand-400: #E9A76D;
  --brand-500: #E28A3C;
  --brand-600: #db7821;
  --brand-700: #B1611B;
  --brand-800: #8E4E15;
  --brand-900: #673B14;
  --brand-950: #40250C;
  --brand: #db7821;
  --brand-ink: #000000;
}

Colors that work with #db7821

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#EDD5C0
Hairlines and dividers
Muted text#9B704B
Captions on the surface
Accent#1792B5
Second voice, not a rival
Dark variant#6F3D11
Hover, pressed, headers
Light variant#FCF2E9
Selected rows, tints
Dark surface#241C14
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 #db7821

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#2184DB
Analogous left#DB2127
Analogous right#DBD521
Split-complement 1#21DBD5
Split-complement 2#2127DB
Triadic 1#21DB78
Triadic 2#7821DB
Tetradic#27DB21

RGB percentages

Red85.9%
Green47.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta45.2%
Yellow84.9%
Key (black)14.1%

Color previews

#db7821 text on a black background

contrast 6.72:1

Card sample

#db7821 text on a white background

contrast 3.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db7821

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.

#db7821 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

Converts to four-color process without much drama. Proof it anyway.

#db7821, answered

What color is #db7821?

#db7821 is a balanced vivid orange, closest to Chocolate (ΔE2000 5.1). It sits at 28° on the hue wheel with 74% saturation and 49% lightness, which reads as warm.

What is the RGB value of #db7821?

rgb(219, 120, 33) — 219 red, 120 green and 33 blue out of 255, or 85.9% / 47.1% / 12.9% by channel.

Is #db7821 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2860 and perceived brightness is 59%, so black text on it reaches 6.72:1.

Should I use black or white text on #db7821?

Black. It scores 6.72:1 against #db7821, versus 3.12:1 for white — AA at any size.

What is the complementary color of #db7821?

#2184DB sits directly opposite on the wheel. Softer options are the split-complements #21DBD5 and #2127DB, which give the same contrast with far less vibration.

What colors go well with #db7821?

For interface work: #FAF7F4 as the surface, #EDD5C0 for borders, #9B704B for secondary text, #1792B5 as an accent and #6F3D11 for hover and pressed states. For a palette, the analogous pair #DB2127 and #DBD521 stays calm, while #2184DB is the loudest partner.

What is #db7821 in CMYK for printing?

cmyk(0%, 45%, 85%, 14%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #db7821 warm or cool?

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

Work with #db7821 in the Color Lab