Skip to content

#2c2f2e

a deep, muted gray · neutral · closest name: Black

RGB
44, 47, 46
HSL
160°, 3%, 18%
CMYK
6, 0, 2, 82
Luminance
0.0277

At a glance

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

Hex
#2c2f2e
Hue
160°
gray
Saturation
3%
muted
Lightness
18%
deep
Brightness
18%
HSV value
Perceived
18%
weighted brightness
Luminance
0.0277
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Gray
Tone
Muted
Best ink
White
13.52:1
Closest name
Black
ΔE2000 12.1
Where it sits
Hue160° of 360°
Saturation3%
Lightness18%
Temperature
Warm ← → Cool53% cool

Near-neutral, so temperature is a whisper rather than a statement — the tinted siblings below show which way it can lean.

Every format

HEX#2c2f2e
RGBrgb(44, 47, 46)
HSLhsl(160, 3%, 18%)
CMYKcmyk(6%, 0%, 2%, 82%)
LABlab(19.1 -1.6 0.2)
LCHlch(19.1 1.6 173.1)
OKLCHoklch(0.302 0.005 174.1)
Decimal2895662
Display P3color(display-p3 0.173 0.184 0.180)

Copy-ready code

/* CSS */
color: #2c2f2e;
background-color: #2c2f2e;
/* Tailwind (arbitrary) */
class="text-[#2c2f2e] bg-[#2c2f2e]"
/* SCSS */
$brand: #2c2f2e;
/* SwiftUI */
Color(red: 0.173, green: 0.184, blue: 0.180)
/* Android */
Color.parseColor("#2c2f2e")
/* Flutter */
Color(0xFF2C2F2E)
/* Python / OpenCV (BGR) */
(46, 47, 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 #2c2f2e · 13.52:1
Use #ffffffAAA at every size.
Aa
White text · 13.52:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.55:1
AA fail · AA large fail · AAA fail
Reading the other direction: #2c2f2e as text scores 13.52:1 on white and 1.55:1 on black.

Accessibility — WCAG contrast

Aa
#2c2f2e on white: 13.52:1
AA ✓ pass · AA-large · AAA
Aa
#2c2f2e on black: 1.55:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2F2F2E
deuteranopia · #2E2E2E
tritanopia · #2B2F2F

Color scale — 50 to 950

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

#F7F8F7
#EFF0F0
#DDDFDE
#C5C9C8
#A8AEAC
#8B9390
#767E7C
#636967
#4F5452
#3B3F3E
#2c2f2e
Base = 950Lightest = 50 · #F7F8F7Darkest = 950 · #2c2f2e
:root {
  --brand-50: #F7F8F7;
  --brand-100: #EFF0F0;
  --brand-200: #DDDFDE;
  --brand-300: #C5C9C8;
  --brand-400: #A8AEAC;
  --brand-500: #8B9390;
  --brand-600: #767E7C;
  --brand-700: #636967;
  --brand-800: #4F5452;
  --brand-900: #3B3F3E;
  --brand-950: #2c2f2e;
  --brand: #2c2f2e;
  --brand-ink: #ffffff;
}

Colors that work with #2c2f2e

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#F7F8F7
Tinted page background
Border#D5D8D7
Hairlines and dividers
Muted text#6F7774
Captions on the surface
Accent#312A2E
Second voice, not a rival
Dark variant#3E4240
Hover, pressed, headers
Light variant#F2F3F2
Selected rows, tints
Dark surface#1B1D1C
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 #2c2f2e

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

Works well for
  • Body text and links on white
  • Borders, dividers and quiet backgrounds
  • Long-form reading surfaces
  • Headers, footers and dark-mode surfaces
  • Neutral UI chrome and typography
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#2F2C2D
Analogous left#2C2F2C
Analogous right#2C2E2F
Split-complement 1#2F2C2E
Split-complement 2#2F2C2C
Triadic 1#2E2C2F
Triadic 2#2F2E2C
Tetradic#2C2C2F

RGB percentages

Red17.3%
Green18.4%
Blue18.0%

CMYK percentages

Cyan6.4%
Magenta0.0%
Yellow2.1%
Key (black)81.6%

Color previews

#2c2f2e text on a black background

contrast 1.55:1

Card sample

#2c2f2e text on a white background

contrast 13.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(44, 47, 46, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 47, 46, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2c2f2e;
background: linear-gradient(135deg, #2c2f2e, #2C2E2F);

Monochromatic scale

Palettes built from #2c2f2e

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.

#2c2f2e in the real world

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

Industries
EditorialArchitectureEnterpriseLuxury goods
Common UI roles
BackgroundsBordersBody textDividers
Print note

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

#2c2f2e, answered

What color is #2c2f2e?

#2c2f2e is a deep muted gray, closest to Black (ΔE2000 12.1). It sits at 160° on the hue wheel with 3% saturation and 18% lightness, which reads as neutral.

What is the RGB value of #2c2f2e?

rgb(44, 47, 46) — 44 red, 47 green and 46 blue out of 255, or 17.3% / 18.4% / 18% by channel.

Is #2c2f2e a light or a dark color?

It is a dark color. Relative luminance is 0.0277 and perceived brightness is 18%, so white text on it reaches 13.52:1.

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

White. It scores 13.52:1 against #2c2f2e, versus 1.55:1 for black — AAA at any size.

What is the complementary color of #2c2f2e?

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

What colors go well with #2c2f2e?

For interface work: #F7F8F7 as the surface, #D5D8D7 for borders, #6F7774 for secondary text, #312A2E as an accent and #3E4240 for hover and pressed states. For a palette, the analogous pair #2C2F2C and #2C2E2F stays calm, while #2F2C2D is the loudest partner.

What is #2c2f2e in CMYK for printing?

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

Is #2c2f2e warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3A322B; nudged cooler, #23282E.

Work with #2c2f2e in the Color Lab