#402F0F color
The hex color #402F0F is a very dark, moderate orange.
In the RGB color model it is made of 25.1% red, 18.4% green and 5.9% blue (64, 47, 15).
Its hue angle is 39°, with 62% saturation and 15% lightness. For print, the CMYK equivalent is 0% cyan, 27% magenta, 77% yellow and 75% black.
The closest named color is Secret Passage (#372A05), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.87:1).
#402F0F color codes
| HEX | #402F0F | |
|---|---|---|
| RGB | rgb(64, 47, 15) | |
| RGB percent | rgb(25.1%, 18.4%, 5.9%) | |
| HSL | hsl(39, 62%, 15%) | |
| HSV / HSB | hsv(39, 77%, 25%) | |
| CMYK | cmyk(0%, 27%, 77%, 75%) | |
| CIE LAB | lab(20.66, 3.7, 22.87) | |
| CIE LCH | lch(20.66, 23.17, 80.8) | |
| CIE XYZ | xyz(3.217, 3.158, 0.892) | |
| Decimal | 4206351 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #402F0F, 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 #402F0F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.63:1 | Fail | Fail | Fail |
| Sample text | 12.87:1 | Pass | Pass | Pass |
| #402F0F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.87:1 | Pass | Pass | Pass |
| Sample text | 1.63: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 #402F0F looks to people with the most common types of color vision deficiency.
#362f0bProtanopia
no red cones#3a3310Deuteranopia
no green cones#462a28Tritanopia
no blue cones#323232Achromatopsia
no color vision
CSS examples
.background { background-color: #402f0f; }
.text { color: #402f0f; }
.border { border: 2px solid #402f0f; }
.transparent { background-color: rgb(64 47 15 / 50%); }
.gradient { background: linear-gradient(to right, #402f0f, #38400f); }
Similar colors
#372a05Secret Passage#4e3e1fAvocado Stone#4b3621Café Noir#563c0dPineapple#473e23Madras#553311Moelleux au Chocolat#3c2f23Cola#3c2005Medium Roast
Closest common color name: Taupe.
Questions
- What color is #402F0F?
- #402F0F is a very dark, moderate orange, closest to the named color Secret Passage. It belongs to the brown family of colors.
- What is the RGB value of #402F0F?
- The RGB value is 64, 47, 15: 64 red, 47 green and 15 blue on a 0 to 255 scale.
- What is the complementary color of #402F0F?
- The complementary color is #0F2040, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #402F0F?
- White text. Black text has a contrast ratio of 1.63:1 and white text 12.87:1. WCAG asks for at least 4.5:1 for normal text.