#7F040B
Closest named color: Maroon (#800000). oklch(37.7% 0.151 27), rgb(127, 4, 11).
Aa
White text reads best on this color (10.91:1).
About this color
#7F040B is a dark, vivid red. In OKLCH its lightness is 38%, its chroma 0.151 and its hue 27°. Its hue sits on the warm side of the wheel. The nearest named color is Maroon (#800000), ΔE 0.007 away. White text reads best on it, at 10.91:1.
| Hue family | Reds |
| Lightness | dark (38%) |
| Chroma | vivid (0.151) |
| Temperature | warm |
| Nearest name | Maroon (#800000) |
| Black text | 1.92:1 |
| White text | 10.91:1 |
Values
| HEX | #7F040B |
| RGB | rgb(127, 4, 11) |
| HSL | hsl(357, 94%, 26%) |
| OKLCH | oklch(37.7% 0.151 27) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #7F040B | 10.91:1 | AAA | Lc -97.2 | Preferred for body text |
| Black text on #7F040B | 1.92:1 | Fails | Lc 10.8 | Not readable |
| #7F040B text on white | 10.91:1 | AAA | Lc 93.1 | Preferred for body text |
| #7F040B text on black | 1.92:1 | Fails | Lc -9.4 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.
-
Step 50
50
#FFF2F0
oklch(97.1% 0.014 28)
-
Step 100
100
#FFE2DE
oklch(93.5% 0.033 27.1)
-
Step 200
200
#FFCBC4
oklch(88.6% 0.06 27.2)
-
Step 300
300
#FFA59B
oklch(80.9% 0.108 26.6)
-
Step 400
400
#FD6B60
oklch(70.7% 0.181 27)
-
Step 500
500
#F63030
oklch(63.1% 0.231 27)
-
Step 600
600
#D90017
oklch(55.7% 0.227 27)
-
Step 700
700
#B70012
oklch(49% 0.2 27)
-
Step 800
800
#98000D
oklch(42.8% 0.174 27)
-
Step 900
900 (this color)
#7F040B
oklch(37.7% 0.151 27)
-
Step 950
950
#4B0A09
oklch(27% 0.096 27.1)
#7F040B with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #332C09 | 0.166 |
| Deuteranopia (no green cones) | #4F4603 | 0.150 |
| Tritanopia (no blue cones) | #8D0009 | 0.031 |
| Achromatopsia (no color) | #3D3D3D | 0.152 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F040B
#7F040B
oklch(37.7% 0.151 27)
- #004B53
#004B53
oklch(37.7% 0.065 207)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #7F040B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Maroon #800000 ΔE 0.007
- Blood #770001 ΔE 0.021
- Dark Red #8B0000 ΔE 0.027
- Wine Red #7B0323 ΔE 0.028
- Reddy Brown #6E1005 ΔE 0.038
- Bordeaux #7B002C ΔE 0.042
- Brick Red #8F1402 ΔE 0.043
- Chestnut #742802 ΔE 0.049
Use #7F040B in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.