#302828 color

#302828 rgb(48, 40, 40)
Shades of black

The hex color #302828 is a very dark, grayish red.

In the RGB color model it is made of 18.8% red, 15.7% green and 15.7% blue (48, 40, 40).

Its hue angle is 0°, with 9% saturation and 17% lightness. For print, the CMYK equivalent is 0% cyan, 17% magenta, 17% yellow and 81% black.

The closest named color is Diesel (#322C2B), a difference of 1.9 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 14.39:1).

#302828 color codes

HEX#302828
RGBrgb(48, 40, 40)
RGB percentrgb(18.8%, 15.7%, 15.7%)
HSLhsl(0, 9%, 17%)
HSV / HSBhsv(0, 17%, 19%)
CMYKcmyk(0%, 17%, 17%, 81%)
CIE LABlab(16.99, 3.71, 1.37)
CIE LCHlch(16.99, 3.95, 20.33)
CIE XYZxyz(2.361, 2.299, 2.327)
Decimal3156008
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #302828, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #302828RatioAAAAAAA large
Sample text1.46:1FailFailFail
Sample text14.39:1PassPassPass
#302828 as text onRatioAAAAAAA large
Sample text14.39:1PassPassPass
Sample text1.46:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #302828 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #302828; }
.text { color: #302828; }
.border { border: 2px solid #302828; }
.transparent { background-color: rgb(48 40 40 / 50%); }
.gradient { background: linear-gradient(to right, #302828, #302c28); }
Background
Text color
Border

Similar colors

Closest common color name: Jet Black.

Questions

What color is #302828?
#302828 is a very dark, grayish red, closest to the named color Diesel. It belongs to the black family of colors.
What is the RGB value of #302828?
The RGB value is 48, 40, 40: 48 red, 40 green and 40 blue on a 0 to 255 scale.
What is the complementary color of #302828?
The complementary color is #283030, found by rotating the hue 180° on the color wheel.
Is black or white text better on #302828?
White text. Black text has a contrast ratio of 1.46:1 and white text 14.39:1. WCAG asks for at least 4.5:1 for normal text.