#31020C
Closest named color: Dark Maroon (#3C0008). oklch(20.3% 0.076 13.7), rgb(49, 2, 12).
Aa
White text reads best on this color (18.34:1).
About this color
#31020C is a very dark, moderately saturated red. In OKLCH its lightness is 20%, its chroma 0.076 and its hue 14°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.028 away. White text reads best on it, at 18.34:1.
| Hue family | Reds |
| Lightness | very dark (20%) |
| Chroma | moderately saturated (0.076) |
| Temperature | warm |
| Nearest name | Dark Maroon (#3C0008) |
| Black text | 1.14:1 |
| White text | 18.34:1 |
Values
| HEX | #31020C |
| RGB | rgb(49, 2, 12) |
| HSL | hsl(347, 92%, 10%) |
| OKLCH | oklch(20.3% 0.076 13.7) |
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 #31020C | 18.34:1 | AAA | Lc -106.6 | Preferred for body text |
| Black text on #31020C | 1.14:1 | Fails | Lc 0.0 | Not readable |
| #31020C text on white | 18.34:1 | AAA | Lc 104.3 | Preferred for body text |
| #31020C text on black | 1.14:1 | Fails | Lc 0.0 | 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 950.
-
Step 50
50
#FDF2F3
oklch(97% 0.012 11)
-
Step 100
100
#FBE3E5
oklch(93.6% 0.026 11.9)
-
Step 200
200
#F8CCCF
oklch(88.4% 0.05 13.5)
-
Step 300
300
#F5A9AF
oklch(80.9% 0.09 14.1)
-
Step 400
400
#EC7786
oklch(70.7% 0.145 13.5)
-
Step 500
500
#E24D68
oklch(63.1% 0.184 13.5)
-
Step 600
600
#CD264F
oklch(55.6% 0.2 13.8)
-
Step 700
700
#B11440
oklch(49.1% 0.186 13.7)
-
Step 800
800
#901735
oklch(42.8% 0.154 13.7)
-
Step 900
900
#731D2E
oklch(37.7% 0.119 13.7)
-
Step 950
950 (this color)
#31020C
oklch(20.3% 0.076 13.7)
#31020C 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) | #0E0E0C | 0.086 |
| Deuteranopia (no green cones) | #1B180B | 0.077 |
| Tritanopia (no blue cones) | #370006 | 0.017 |
| Achromatopsia (no color) | #141414 | 0.077 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31020C
#31020C
oklch(20.3% 0.076 13.7)
- #001C1B
#001C1B
oklch(20.5% 0.035 191.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 #31020C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Maroon #3C0008 ΔE 0.028
- Deep Brown #410200 ΔE 0.047
- Very Dark Brown #1D0200 ΔE 0.061
- Mahogany #4A0100 ΔE 0.067
- Dark Plum #3F012C ΔE 0.068
- Dark Brown #341C02 ΔE 0.078
- Eggplant #380835 ΔE 0.078
- Aubergine #3D0734 ΔE 0.079
Use #31020C 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.