#AB172B
Closest named color: Rouge (#AB1239). oklch(47.8% 0.179 21.7), rgb(171, 23, 43).
Aa
White text reads best on this color (7.26:1).
About this color
#AB172B is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.179 and its hue 22°. Its hue sits on the warm side of the wheel. The nearest named color is Rouge (#AB1239), ΔE 0.019 away. White text reads best on it, at 7.26:1.
| Hue family | Reds |
| Lightness | medium-dark (48%) |
| Chroma | vivid (0.179) |
| Temperature | warm |
| Nearest name | Rouge (#AB1239) |
| Black text | 2.88:1 |
| White text | 7.26:1 |
Values
| HEX | #AB172B |
| RGB | rgb(171, 23, 43) |
| HSL | hsl(352, 76%, 38%) |
| OKLCH | oklch(47.8% 0.179 21.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 #AB172B | 7.26:1 | AAA | Lc -88.4 | Fine for body text |
| Black text on #AB172B | 2.88:1 | Fails | Lc 20.7 | Dividers and decoration only |
| #AB172B text on white | 7.26:1 | AAA | Lc 83.4 | Fine for body text |
| #AB172B text on black | 2.88:1 | Fails | Lc -18.6 | 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
#FDF3F2
oklch(97.2% 0.011 24.3)
-
Step 100
100
#FAE4E2
oklch(93.6% 0.024 23.9)
-
Step 200
200
#F8CDCB
oklch(88.5% 0.049 21.2)
-
Step 300
300
#F4ABA8
oklch(81% 0.087 21.8)
-
Step 400
400
#EA7A79
oklch(70.6% 0.139 21.7)
-
Step 500
500
#E05257
oklch(63% 0.177 21.7)
-
Step 600
600
#CC2E3D
oklch(55.7% 0.193 21.6)
-
Step 700
700 (this color)
#AB172B
oklch(47.8% 0.179 21.7)
-
Step 800
800
#8F1D27
oklch(42.8% 0.149 22)
-
Step 900
900
#732024
oklch(37.8% 0.116 22.1)
-
Step 950
950
#441416
oklch(27% 0.074 21.1)
#AB172B 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) | #49432A | 0.198 |
| Deuteranopia (no green cones) | #6D6226 | 0.180 |
| Tritanopia (no blue cones) | #BD0021 | 0.036 |
| Achromatopsia (no color) | #575757 | 0.180 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB172B
#AB172B
oklch(47.8% 0.179 21.7)
- #006A70
#006A70
oklch(47.7% 0.081 201.6)
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 #AB172B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rouge #AB1239 ΔE 0.019
- Brown #A52A2A ΔE 0.023
- Firebrick #B22222 ΔE 0.025
- Rufous #AE2012 ΔE 0.028
- Auburn #9B2226 ΔE 0.033
- Rust Red #AA2704 ΔE 0.038
- Scarlet #BE0119 ΔE 0.040
- Carmine #9D0216 ΔE 0.040
Use #AB172B 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.