#4C171A
Closest named color: Mahogany (#4A0100). oklch(29.1% 0.08 20.3), rgb(76, 23, 26).
Aa
White text reads best on this color (14.53:1).
About this color
#4C171A is a dark, moderately saturated red. In OKLCH its lightness is 29%, its chroma 0.080 and its hue 20°. Its hue sits on the warm side of the wheel. The nearest named color is Mahogany (#4A0100), ΔE 0.044 away. White text reads best on it, at 14.53:1.
| Hue family | Reds |
| Lightness | dark (29%) |
| Chroma | moderately saturated (0.080) |
| Temperature | warm |
| Nearest name | Mahogany (#4A0100) |
| Black text | 1.44:1 |
| White text | 14.53:1 |
Values
| HEX | #4C171A |
| RGB | rgb(76, 23, 26) |
| HSL | hsl(357, 54%, 19%) |
| OKLCH | oklch(29.1% 0.08 20.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 #4C171A | 14.53:1 | AAA | Lc -103.8 | Preferred for body text |
| Black text on #4C171A | 1.44:1 | Fails | Lc 0.0 | Not readable |
| #4C171A text on white | 14.53:1 | AAA | Lc 100.8 | Preferred for body text |
| #4C171A text on black | 1.44: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
#FEF2F2
oklch(97.1% 0.013 17.4)
-
Step 100
100
#FCE3E2
oklch(93.6% 0.028 20.4)
-
Step 200
200
#FACCCB
oklch(88.5% 0.052 19.6)
-
Step 300
300
#F8A8A7
oklch(80.9% 0.095 20.1)
-
Step 400
400
#F07578
oklch(70.7% 0.152 20.2)
-
Step 500
500
#E74955
oklch(63.1% 0.194 20.5)
-
Step 600
600
#D21B3A
oklch(55.5% 0.211 20.4)
-
Step 700
700
#B6022D
oklch(49.2% 0.197 20.3)
-
Step 800
800
#940F26
oklch(42.8% 0.163 20.4)
-
Step 900
900
#761923
oklch(37.6% 0.127 20.3)
-
Step 950
950 (this color)
#4C171A
oklch(29.1% 0.08 20.3)
#4C171A 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) | #24221A | 0.087 |
| Deuteranopia (no green cones) | #322D19 | 0.079 |
| Tritanopia (no blue cones) | #540C18 | 0.023 |
| Achromatopsia (no color) | #292929 | 0.081 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4C171A
#4C171A
oklch(29.1% 0.08 20.3)
- #003335
#003335
oklch(29.2% 0.05 199)
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 #4C171A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mahogany #4A0100 ΔE 0.044
- Chocolate Brown #411900 ΔE 0.044
- Burgundy #610023 ΔE 0.055
- Deep Brown #410200 ΔE 0.057
- Claret #680018 ΔE 0.063
- Dark Maroon #3C0008 ΔE 0.067
- Dark Brown #341C02 ΔE 0.067
- Dark Plum #3F012C ΔE 0.075
Use #4C171A 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.