Skip to content

#2f2b2c

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

RGB
47, 43, 44
HSL
345°, 4%, 18%
CMYK
0, 9, 6, 82
Luminance
0.0251

At a glance

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

Hex
#2f2b2c
Hue
345°
gray
Saturation
4%
muted
Lightness
18%
deep
Brightness
18%
HSV value
Perceived
17%
weighted brightness
Luminance
0.0251
WCAG relative
Temperature
Neutral
47/100 cool
Color family
Gray
Tone
Muted
Best ink
White
13.97:1
Closest name
Black
ΔE2000 11.5
Where it sits
Hue345° of 360°
Saturation4%
Lightness18%
Temperature
Warm ← → Cool47% 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#2f2b2c
RGBrgb(47, 43, 44)
HSLhsl(345, 4%, 18%)
CMYKcmyk(0%, 9%, 6%, 82%)
LABlab(18.0 2.0 0.0)
LCHlch(18.0 2.0 0.3)
OKLCHoklch(0.294 0.006 0.4)
Decimal3091244
Display P3color(display-p3 0.184 0.169 0.173)

Copy-ready code

/* CSS */
color: #2f2b2c;
background-color: #2f2b2c;
/* Tailwind (arbitrary) */
class="text-[#2f2b2c] bg-[#2f2b2c]"
/* SCSS */
$brand: #2f2b2c;
/* SwiftUI */
Color(red: 0.184, green: 0.169, blue: 0.173)
/* Android */
Color.parseColor("#2f2b2c")
/* Flutter */
Color(0xFF2F2B2C)
/* Python / OpenCV (BGR) */
(44, 43, 47)

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

Accessibility — WCAG contrast

Aa
#2f2b2c on white: 13.97:1
AA ✓ pass · AA-large · AAA
Aa
#2f2b2c on black: 1.50:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2B2C2C
deuteranopia · #2C2C2C
tritanopia · #302B2B

Color scale — 50 to 950

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

#F8F7F7
#F0EFEF
#DFDDDD
#C9C4C6
#AFA7A9
#948A8C
#807578
#6A6264
#554E50
#403B3C
#2f2b2c
Base = 950Lightest = 50 · #F8F7F7Darkest = 950 · #2f2b2c
:root {
  --brand-50: #F8F7F7;
  --brand-100: #F0EFEF;
  --brand-200: #DFDDDD;
  --brand-300: #C9C4C6;
  --brand-400: #AFA7A9;
  --brand-500: #948A8C;
  --brand-600: #807578;
  --brand-700: #6A6264;
  --brand-800: #554E50;
  --brand-900: #403B3C;
  --brand-950: #2f2b2c;
  --brand: #2f2b2c;
  --brand-ink: #ffffff;
}

Colors that work with #2f2b2c

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#F8F7F7
Tinted page background
Border#D8D4D5
Hairlines and dividers
Muted text#786E70
Captions on the surface
Accent#29312D
Second voice, not a rival
Dark variant#433D3E
Hover, pressed, headers
Light variant#F3F2F2
Selected rows, tints
Dark surface#1D1B1B
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 #2f2b2c

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#2B2F2E
Analogous left#2F2B2E
Analogous right#2F2C2B
Split-complement 1#2B2F2C
Split-complement 2#2B2E2F
Triadic 1#2C2F2B
Triadic 2#2B2C2F
Tetradic#2E2F2B

RGB percentages

Red18.4%
Green16.9%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta8.5%
Yellow6.4%
Key (black)81.6%

Color previews

#2f2b2c text on a black background

contrast 1.50:1

Card sample

#2f2b2c text on a white background

contrast 13.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f2b2c

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.

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

#2f2b2c, answered

What color is #2f2b2c?

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

What is the RGB value of #2f2b2c?

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

Is #2f2b2c a light or a dark color?

It is a dark color. Relative luminance is 0.0251 and perceived brightness is 17%, so white text on it reaches 13.97:1.

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

White. It scores 13.97:1 against #2f2b2c, versus 1.50:1 for black — AAA at any size.

What is the complementary color of #2f2b2c?

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

What colors go well with #2f2b2c?

For interface work: #F8F7F7 as the surface, #D8D4D5 for borders, #786E70 for secondary text, #29312D as an accent and #433D3E for hover and pressed states. For a palette, the analogous pair #2F2B2E and #2F2C2B stays calm, while #2B2F2E is the loudest partner.

What is #2f2b2c in CMYK for printing?

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

Is #2f2b2c warm or cool?

Neutral — it scores 47 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #39312B; nudged cooler, #22282D.

Work with #2f2b2c in the Color Lab