Skip to content

#2c271f

a deep, soft orange · warm · closest name: Black

RGB
44, 39, 31
HSL
37°, 17%, 15%
CMYK
0, 11, 30, 83
Luminance
0.0209

At a glance

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

Hex
#2c271f
Hue
37°
orange
Saturation
17%
soft
Lightness
15%
deep
Brightness
17%
HSV value
Perceived
16%
weighted brightness
Luminance
0.0209
WCAG relative
Temperature
Warm
28/100 cool
Color family
Orange
Tone
Soft
Best ink
White
14.82:1
Closest name
Black
ΔE2000 11.2
Where it sits
Hue37° of 360°
Saturation17%
Lightness15%
Temperature
Warm ← → Cool28% 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#2c271f
RGBrgb(44, 39, 31)
HSLhsl(37, 17%, 15%)
CMYKcmyk(0%, 11%, 30%, 83%)
LABlab(15.9 0.7 6.1)
LCHlch(15.9 6.2 83.7)
OKLCHoklch(0.276 0.016 79.5)
Decimal2893599
Display P3color(display-p3 0.173 0.153 0.122)

Copy-ready code

/* CSS */
color: #2c271f;
background-color: #2c271f;
/* Tailwind (arbitrary) */
class="text-[#2c271f] bg-[#2c271f]"
/* SCSS */
$brand: #2c271f;
/* SwiftUI */
Color(red: 0.173, green: 0.153, blue: 0.122)
/* Android */
Color.parseColor("#2c271f")
/* Flutter */
Color(0xFF2C271F)
/* Python / OpenCV (BGR) */
(31, 39, 44)

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#ffffff on #2c271f · 14.82:1
Use #ffffffAAA at every size.
Aa
White text · 14.82:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.42:1
AA fail · AA large fail · AAA fail
Reading the other direction: #2c271f as text scores 14.82:1 on white and 1.42:1 on black.

Accessibility — WCAG contrast

Aa
#2c271f on white: 14.82:1
AA ✓ pass · AA-large · AAA
Aa
#2c271f on black: 1.42:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #29271F
deuteranopia · #2A281F
tritanopia · #2E2525

Color scale — 50 to 950

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

#F8F8F6
#F2F0EE
#E3DFD9
#D1C9BD
#B9AE9C
#A2937B
#907F65
#786A54
#605543
#473F33
#2c271f
Base = 950Lightest = 50 · #F8F8F6Darkest = 950 · #2c271f
:root {
  --brand-50: #F8F8F6;
  --brand-100: #F2F0EE;
  --brand-200: #E3DFD9;
  --brand-300: #D1C9BD;
  --brand-400: #B9AE9C;
  --brand-500: #A2937B;
  --brand-600: #907F65;
  --brand-700: #786A54;
  --brand-800: #605543;
  --brand-900: #473F33;
  --brand-950: #2c271f;
  --brand: #2c271f;
  --brand-ink: #ffffff;
}

Colors that work with #2c271f

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

Text on it#ffffff
White wins here
Surface#F9F8F6
Tinted page background
Border#DDD8CF
Hairlines and dividers
Muted text#87775F
Captions on the surface
Accent#1E282D
Second voice, not a rival
Dark variant#4B4235
Hover, pressed, headers
Light variant#F4F3F0
Selected rows, tints
Dark surface#211D17
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 #2c271f

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

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Black text placed on it
  • 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#1F242C
Analogous left#2C201F
Analogous right#2A2C1F
Split-complement 1#1F2A2C
Split-complement 2#201F2C
Triadic 1#1F2C27
Triadic 2#271F2C
Tetradic#1F2C20

RGB percentages

Red17.3%
Green15.3%
Blue12.2%

CMYK percentages

Cyan0.0%
Magenta11.4%
Yellow29.5%
Key (black)82.7%

Color previews

#2c271f text on a black background

contrast 1.42:1

Card sample

#2c271f text on a white background

contrast 14.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(44, 39, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 39, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2c271f;
background: linear-gradient(135deg, #2c271f, #282C1F);

Monochromatic scale

Palettes built from #2c271f

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.

#2c271f 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.

#2c271f, answered

What color is #2c271f?

#2c271f is a deep soft orange, closest to Black (ΔE2000 11.2). It sits at 37° on the hue wheel with 17% saturation and 15% lightness, which reads as warm.

What is the RGB value of #2c271f?

rgb(44, 39, 31) — 44 red, 39 green and 31 blue out of 255, or 17.3% / 15.3% / 12.2% by channel.

Is #2c271f a light or a dark color?

It is a dark color. Relative luminance is 0.0209 and perceived brightness is 16%, so white text on it reaches 14.82:1.

Should I use black or white text on #2c271f?

White. It scores 14.82:1 against #2c271f, versus 1.42:1 for black — AAA at any size.

What is the complementary color of #2c271f?

#1F242C sits directly opposite on the wheel. Softer options are the split-complements #1F2A2C and #201F2C, which give the same contrast with far less vibration.

What colors go well with #2c271f?

For interface work: #F9F8F6 as the surface, #DDD8CF for borders, #87775F for secondary text, #1E282D as an accent and #4B4235 for hover and pressed states. For a palette, the analogous pair #2C201F and #2A2C1F stays calm, while #1F242C is the loudest partner.

What is #2c271f in CMYK for printing?

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

Is #2c271f warm or cool?

Warm — it scores 28 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2C251F; nudged cooler, #2D2C1E.

Work with #2c271f in the Color Lab