#30171B
Closest named color: Dark Brown (#341C02). oklch(24.1% 0.041 10.3), rgb(48, 23, 27).
Aa
White text reads best on this color (16.61:1).
About this color
#30171B is a very dark, muted red. In OKLCH its lightness is 24%, its chroma 0.041 and its hue 10°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.046 away. White text reads best on it, at 16.61:1.
| Hue family | Reds |
| Lightness | very dark (24%) |
| Chroma | muted (0.041) |
| Temperature | warm |
| Nearest name | Dark Brown (#341C02) |
| Black text | 1.26:1 |
| White text | 16.61:1 |
Values
| HEX | #30171B |
| RGB | rgb(48, 23, 27) |
| HSL | hsl(350, 35%, 14%) |
| OKLCH | oklch(24.1% 0.041 10.3) |
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 #30171B | 16.61:1 | AAA | Lc -105.9 | Preferred for body text |
| Black text on #30171B | 1.26:1 | Fails | Lc 0.0 | Not readable |
| #30171B text on white | 16.61:1 | AAA | Lc 103.4 | Preferred for body text |
| #30171B text on black | 1.26: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
#FAF4F4
oklch(97.2% 0.006 17.3)
-
Step 100
100
#F3E6E8
oklch(93.6% 0.014 6.7)
-
Step 200
200
#EAD2D5
oklch(88.4% 0.027 9.1)
-
Step 300
300
#DEB4B9
oklch(80.9% 0.049 10.2)
-
Step 400
400
#CB8D95
oklch(70.7% 0.076 10.7)
-
Step 500
500
#BD707B
oklch(63.2% 0.098 11)
-
Step 600
600
#A85764
oklch(55.7% 0.107 11)
-
Step 700
700
#904653
oklch(49.1% 0.101 10.4)
-
Step 800
800
#753A44
oklch(42.7% 0.083 10.5)
-
Step 900
900
#5F3239
oklch(37.7% 0.065 10.8)
-
Step 950
950 (this color)
#30171B
oklch(24.1% 0.041 10.3)
#30171B 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) | #1B1B1B | 0.045 |
| Deuteranopia (no green cones) | #22201A | 0.041 |
| Tritanopia (no blue cones) | #341518 | 0.010 |
| Achromatopsia (no color) | #1E1E1E | 0.041 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #30171B
#30171B
oklch(24.1% 0.041 10.3)
- #012624
#012624
oklch(24.3% 0.041 189.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 #30171B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Brown #341C02 ΔE 0.046
- Jet #212529 ΔE 0.051
- Dark Maroon #3C0008 ΔE 0.054
- Chocolate Brown #411900 ΔE 0.056
- Deep Brown #410200 ΔE 0.058
- Dark #1B2431 ΔE 0.060
- Dark Plum #3F012C ΔE 0.069
- Eggplant #380835 ΔE 0.069
Use #30171B 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.