#28120C color

#28120C rgb(40, 18, 12)
Shades of black

The hex color #28120C is a very dark, moderate red.

In the RGB color model it is made of 15.7% red, 7.1% green and 4.7% blue (40, 18, 12).

Its hue angle is 13°, with 54% saturation and 10% lightness. For print, the CMYK equivalent is 0% cyan, 55% magenta, 70% yellow and 84% black.

The closest named color is Italian Roast (#221111), a difference of 3.6 ΔE, a small difference.

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

#28120C color codes

HEX#28120C
RGBrgb(40, 18, 12)
RGB percentrgb(15.7%, 7.1%, 4.7%)
HSLhsl(13, 54%, 10%)
HSV / HSBhsv(13, 70%, 16%)
CMYKcmyk(0%, 55%, 70%, 84%)
CIE LABlab(8.22, 10.64, 7.56)
CIE LCHlch(8.22, 13.05, 35.39)
CIE XYZxyz(1.158, 0.91, 0.463)
Decimal2626060
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #28120C, 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 #28120CRatioAAAAAAA large
Sample text1.18:1FailFailFail
Sample text17.77:1PassPassPass
#28120C as text onRatioAAAAAAA large
Sample text17.77:1PassPassPass
Sample text1.18: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 #28120C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #28120c; }
.text { color: #28120c; }
.border { border: 2px solid #28120c; }
.transparent { background-color: rgb(40 18 12 / 50%); }
.gradient { background: linear-gradient(to right, #28120c, #28200c); }
Background
Text color
Border

Similar colors

Closest common color name: Licorice.

Questions

What color is #28120C?
#28120C is a very dark, moderate red, closest to the named color Italian Roast. It belongs to the black family of colors.
What is the RGB value of #28120C?
The RGB value is 40, 18, 12: 40 red, 18 green and 12 blue on a 0 to 255 scale.
What is the complementary color of #28120C?
The complementary color is #0C2228, found by rotating the hue 180° on the color wheel.
Is black or white text better on #28120C?
White text. Black text has a contrast ratio of 1.18:1 and white text 17.77:1. WCAG asks for at least 4.5:1 for normal text.