#333333 color
The hex color #333333 is a dark gray.
In the RGB color model it is made of 20% red, 20% green and 20% blue (51, 51, 51).
Its hue angle is 0°, with 0% saturation and 20% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 0% yellow and 80% black.
This exact color is also called Carbon.
White text is the more readable choice on this background (contrast 12.63:1).
#333333 color codes
| HEX | #333333 | |
|---|---|---|
| RGB | rgb(51, 51, 51) | |
| RGB percent | rgb(20%, 20%, 20%) | |
| HSL | hsl(0, 0%, 20%) | |
| HSV / HSB | hsv(0, 0%, 20%) | |
| CMYK | cmyk(0%, 0%, 0%, 80%) | |
| CIE LAB | lab(21.25, 0, 0) | |
| CIE LCH | lch(21.25, 0, 158.2) | |
| CIE XYZ | xyz(3.147, 3.31, 3.605) | |
| Decimal | 3355443 | |
| Short hex | #333 |
Color harmonies
Colors that go with #333333, 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 #333333 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.66:1 | Fail | Fail | Fail |
| Sample text | 12.63:1 | Pass | Pass | Pass |
| #333333 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.63:1 | Pass | Pass | Pass |
| Sample text | 1.66:1 | Fail | Fail | Fail |
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 #333333 looks to people with the most common types of color vision deficiency.
#333333Protanopia
no red cones#333333Deuteranopia
no green cones#333333Tritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #333333; }
.text { color: #333333; }
.border { border: 2px solid #333333; }
.transparent { background-color: rgb(51 51 51 / 50%); }
.gradient { background: linear-gradient(to right, #333333, #333333); }
Similar colors
#343434Jet Black#333232Dark Charcoal#2e2e2eCarbon Fibre#383838Graphite#383838Lacquered Liquorice#353838Wet Concrete#313330Oil#2a2a2aThe End
Questions
- What color is #333333?
- #333333 is a dark gray known as Carbon. It belongs to the gray family of colors.
- What is the RGB value of #333333?
- The RGB value is 51, 51, 51: 51 red, 51 green and 51 blue on a 0 to 255 scale.
- What is the complementary color of #333333?
- The complementary color is #333333, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #333333?
- White text. Black text has a contrast ratio of 1.66:1 and white text 12.63:1. WCAG asks for at least 4.5:1 for normal text.