#A6171A
Closest named color: Brown (#A52A2A). oklch(46.6% 0.176 26.8), rgb(166, 23, 26).
Aa
White text reads best on this color (7.61:1).
About this color
#A6171A is a medium-dark, vivid red. In OKLCH its lightness is 47%, its chroma 0.176 and its hue 27°. Its hue sits on the warm side of the wheel. The nearest named color is Brown (#A52A2A), ΔE 0.022 away. White text reads best on it, at 7.61:1.
| Hue family | Reds |
| Lightness | medium-dark (47%) |
| Chroma | vivid (0.176) |
| Temperature | warm |
| Nearest name | Brown (#A52A2A) |
| Black text | 2.75:1 |
| White text | 7.61:1 |
Values
| HEX | #A6171A |
| RGB | rgb(166, 23, 26) |
| HSL | hsl(359, 76%, 37%) |
| OKLCH | oklch(46.6% 0.176 26.8) |
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 #A6171A | 7.61:1 | AAA | Lc -89.5 | Fine for body text |
| Black text on #A6171A | 2.75:1 | Fails | Lc 19.4 | Dividers and decoration only |
| #A6171A text on white | 7.61:1 | AAA | Lc 84.6 | Fine for body text |
| #A6171A text on black | 2.75:1 | Fails | Lc -17.4 | Dividers and decoration only |
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 700.
-
Step 50
50
#FDF3F1
oklch(97.1% 0.011 31.1)
-
Step 100
100
#FAE4E1
oklch(93.6% 0.025 26.9)
-
Step 200
200
#F7CEC9
oklch(88.5% 0.047 26.2)
-
Step 300
300
#F3ACA3
oklch(80.9% 0.085 27.2)
-
Step 400
400
#E97C72
oklch(70.6% 0.136 26.5)
-
Step 500
500
#DF554C
oklch(63.1% 0.174 27)
-
Step 600
600
#CB332F
oklch(55.7% 0.189 27)
-
Step 700
700 (this color)
#A6171A
oklch(46.6% 0.176 26.8)
-
Step 800
800
#8E201E
oklch(42.7% 0.146 26.8)
-
Step 900
900
#72221E
oklch(37.7% 0.113 26.9)
-
Step 950
950
#431512
oklch(26.9% 0.072 26.7)
#A6171A 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) | #484018 | 0.192 |
| Deuteranopia (no green cones) | #6A5E12 | 0.174 |
| Tritanopia (no blue cones) | #B7001B | 0.034 |
| Achromatopsia (no color) | #545454 | 0.177 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A6171A
#A6171A
oklch(46.6% 0.176 26.8)
- #006670
#006670
oklch(46.6% 0.08 206.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 #A6171A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Brown #A52A2A ΔE 0.022
- Rufous #AE2012 ΔE 0.023
- Auburn #9B2226 ΔE 0.024
- Burnt Red #9F2305 ΔE 0.024
- Carmine #9D0216 ΔE 0.027
- Rust Red #AA2704 ΔE 0.028
- Firebrick #B22222 ΔE 0.031
- Deep Red #9A0200 ΔE 0.035
Use #A6171A 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.