#7F0502
Closest named color: Maroon (#800000). oklch(37.7% 0.151 29.4), rgb(127, 5, 2).
Aa
White text reads best on this color (10.90:1).
About this color
#7F0502 is a dark, vivid red. In OKLCH its lightness is 38%, its chroma 0.151 and its hue 29°. Its hue sits on the warm side of the wheel. The nearest named color is Maroon (#800000), ΔE 0.003 away. White text reads best on it, at 10.90: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.90:1 |
Values
| HEX | #7F0502 |
| RGB | rgb(127, 5, 2) |
| HSL | hsl(1, 97%, 25%) |
| OKLCH | oklch(37.7% 0.151 29.4) |
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 #7F0502 | 10.90:1 | AAA | Lc -97.2 | Preferred for body text |
| Black text on #7F0502 | 1.92:1 | Fails | Lc 10.8 | Not readable |
| #7F0502 text on white | 10.90:1 | AAA | Lc 93.1 | Preferred for body text |
| #7F0502 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
#FFE2DD
oklch(93.5% 0.033 29.4)
-
Step 200
200
#FFCBC2
oklch(88.5% 0.061 29.7)
-
Step 300
300
#FFA697
oklch(81% 0.108 30.1)
-
Step 400
400
#FD6C5A
oklch(70.7% 0.181 29.4)
-
Step 500
500
#F63123
oklch(63% 0.232 29.4)
-
Step 600
600
#D90500
oklch(55.7% 0.227 29.5)
-
Step 700
700
#B70300
oklch(49% 0.2 29.4)
-
Step 800
800
#980200
oklch(42.8% 0.174 29.4)
-
Step 900
900 (this color)
#7F0502
oklch(37.7% 0.151 29.4)
-
Step 950
950
#4B0A06
oklch(27% 0.096 29.2)
#7F0502 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) | #342C00 | 0.164 |
| Deuteranopia (no green cones) | #4F4600 | 0.148 |
| Tritanopia (no blue cones) | #8D0007 | 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°).
- #7F0502
#7F0502
oklch(37.7% 0.151 29.4)
- #004B54
#004B54
oklch(37.8% 0.065 208.5)
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 #7F0502, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Maroon #800000 ΔE 0.003
- Blood #770001 ΔE 0.020
- Dark Red #8B0000 ΔE 0.026
- Wine Red #7B0323 ΔE 0.034
- Reddy Brown #6E1005 ΔE 0.037
- Brick Red #8F1402 ΔE 0.041
- Chestnut #742802 ΔE 0.046
- Bordeaux #7B002C ΔE 0.048
Use #7F0502 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.