Photo in the color Olive Drab
Pictured: Olive Drab, the closest color we have a photo of (#3C341F)
rgb(51, 50, 50)
#333232

Dark Charcoal #333232 RGB Color Code

Name from the community color list.

Dark Charcoal (#333232) is a dark neutral gray. In RGB it is made of 20% red, 20% green and 20% blue (R 51, G 50, B 50). The red channel is the strongest. In HSL it has a hue of 0°, 1% saturation and 20% lightness. Its relative luminance is 0.032, so white text is easier to read on top of it. For print, a rough CMYK match is 0% cyan, 2% magenta, 2% yellow and 80% black. Check it against your printer's ICC profile before you print. Its saturation is very low, so it works as a neutral. It goes well with almost any accent color.

Open in color picker

Dark Charcoal color codes

#333232 in every common color format. Click a value to copy it.

FormatValueNotesCopy
HEX #333232 Valid CSS
RGB rgb(51, 50, 50) Valid CSS
HSL hsl(0, 1%, 20%) Valid CSS
HSV / HSB hsv(0, 2%, 20%) Not a CSS format
HWB hwb(0 20% 80%) Valid CSS
CMYK cmyk(0%, 2%, 2%, 80%) Approximate (no ICC profile)
OKLCH oklch(31.82% 0.0014 17.23) Valid CSS
OKLab oklab(31.82% 0.0014 0.0004) Valid CSS
CIELAB lab(20.89% 0.46 0.16) D50, as in CSS
CIELCH lch(20.89% 0.48 19.8) Valid CSS
Display P3 color(display-p3 0.1993 0.1962 0.1961) Valid CSS
XYZ (D65) color(xyz-d65 0.0308 0.0322 0.0348) Valid CSS
Decimal 3355186 Integer (0xRRGGBB)

CMYK here is a rough screen match without an ICC profile. See CMYK and print. Relative luminance: 0.0322. Nearest web-safe color: #333333.

Mix Dark Charcoal with other colors

See what #333232 makes with red paint, under a green light, printed with cyan ink and in a digital blend with blue. Click a picture to change the colors and amounts in the color mixer.

Use Dark Charcoal in your code

Ready to paste into CSS, Sass, Tailwind, iOS, Android and Flutter. Click the icon to copy a line.

WhereCodeCopy
CSS variable--dark-charcoal: #333232;
Sass variable$dark-charcoal: #333232;
Tailwind CSS v4@theme { --color-dark-charcoal: #333232; }
Tailwind CSS v3 configcolors: { 'dark-charcoal': '#333232' }
SwiftUIColor(red: 0.2, green: 0.196, blue: 0.196)
UIKitUIColor(red: 0.2, green: 0.196, blue: 0.196, alpha: 1)
Android XML<color name="dark_charcoal">#FF333232</color>
Flutter and Jetpack ComposeColor(0xFF333232)

Accessibility and contrast

White text works best on #333232 (12.78:1, AAA). Here is how #333232 does as a text color:

Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
12.78:1 on white
APCA Lc 99
AAA
Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
1.64:1 on black
APCA Lc 0
Fails AATry #757474

Check this color against any background in the contrast checker. WCAG ratios and APCA Lc values measure different things, so one can't stand in for the other. Learn more.

How people with color blindness see Dark Charcoal

#333232 next to its complement and its two triadic colors, as seen with each type of color blindness.

  • Normal visionhow most people see it
  • Protanopiano red cones, about 1% of men
  • Deuteranopiano green cones, the most common type
  • Tritanopiano blue cones, very rare
  • Achromatopsiano color at all, very rare

#333232 has almost no hue, so it looks much the same with every type of color blindness. Only its lightness counts. Try your own colors in the color blindness simulator.

Dark Charcoal in a user interface

A sample app screen with #333232 as the main color, on a light and a dark theme.

Light theme

Dark theme

Buttons and bars use #333232 as it is. On the dark theme, #333232 is too hard to read as text (1.39:1), so links, the badge and outline text use #818080 there (4.51:1). Build a full color scheme around it in the UI color preview.

Color harmonies for Dark Charcoal

These schemes turn the hue of #333232 around the color wheel. Each swatch links to its own page.

Complementary

Two colors on opposite sides of the wheel. This gives the most contrast.

Open palette

Analogous

Hues that sit next to each other and look good together.

Open palette

Triadic

Three hues spaced evenly around the wheel. Bold, but still balanced.

Open palette

Split complementary

A base color plus the two hues on each side of its opposite. Strong contrast that clashes less.

Open palette

Tetradic (rectangle)

Two pairs of opposite colors. Let one color lead and use the others less.

Open palette

Square

Four hues 90° apart, spread evenly around the wheel.

Open palette

Monochromatic

One hue at different levels of lightness and saturation.

Open palette

Gradients with Dark Charcoal

Four CSS gradients made from #333232. Copy the code, or open one in the gradient generator to change it.

Soft tint

From a pale tint to the full color.

background: linear-gradient(90deg, #D2D2D2, #333232);

Edit in the gradient generator

Deep shade

The color fading into a dark shade.

background: linear-gradient(180deg, #333232, #070707);

Edit in the gradient generator

Analogous

Its two neighbors on the color wheel.

background: linear-gradient(135deg, #333233, #333232, #333332);

Edit in the gradient generator

Triadic

A bold blend with a triadic color, through a clean middle.

background: linear-gradient(135deg, #333232, #333332, #323332);

Edit in the gradient generator

Shades, tints and tones of Dark Charcoal

Shades are darker, tints are lighter and tones are grayer. We make them in OKLCH so the steps look even. Hover a step to see its code, or click it to open it.

Design system scale (50 to 950)

Dark Charcoal sits at step 900. Export the full scale as CSS variables or Tailwind tokens from the picker.

  1. 50
    F7F7F7
  2. 100
    EDECEC
  3. 200
    DBDADA
  4. 300
    C1C0C0
  5. 400
    A4A3A3
  6. 500
    878686
  7. 600
    6C6B6B
  8. 700
    565555
  9. 800
    434242
  10. 900
    333232
  11. 950
    1D1D1D

Closest RAL, Tailwind and CSS colors

The nearest match to #333232 in three color systems that designers and builders use.

ΔE is the distance in OKLab: under 2 is hard to see, over 10 is a clearly different color. Browse all RAL colors, the Tailwind palette or the 148 CSS color names. RAL values on screens are only a guide, so check a real color chart before you order paint.

The named colors that look closest to this one (ΔE in OKLab). Browse all shades of gray or search the color library.