#9D1217
Closest named color: Carmine (#9D0216). oklch(44.5% 0.171 26.7), rgb(157, 18, 23).
Aa
White text reads best on this color (8.29:1).
About this color
#9D1217 is a dark, vivid red. In OKLCH its lightness is 45%, its chroma 0.171 and its hue 27°. Its hue sits on the warm side of the wheel. The nearest named color is Carmine (#9D0216), ΔE 0.010 away. White text reads best on it, at 8.29:1.
| Hue family | Reds |
| Lightness | dark (45%) |
| Chroma | vivid (0.171) |
| Temperature | warm |
| Nearest name | Carmine (#9D0216) |
| Black text | 2.53:1 |
| White text | 8.29:1 |
Values
| HEX | #9D1217 |
| RGB | rgb(157, 18, 23) |
| HSL | hsl(358, 79%, 34%) |
| OKLCH | oklch(44.5% 0.171 26.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 #9D1217 | 8.29:1 | AAA | Lc -91.5 | Preferred for body text |
| Black text on #9D1217 | 2.53:1 | Fails | Lc 17.3 | Dividers and decoration only |
| #9D1217 text on white | 8.29:1 | AAA | Lc 86.7 | Fine for body text |
| #9D1217 text on black | 2.53:1 | Fails | Lc -15.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 800.
-
Step 50
50
#FEF2F1
oklch(97% 0.013 23.2)
-
Step 100
100
#FDE3E0
oklch(93.6% 0.029 25.6)
-
Step 200
200
#FCCCC6
oklch(88.5% 0.055 26.5)
-
Step 300
300
#FBA89E
oklch(81% 0.1 27)
-
Step 400
400
#F47469
oklch(70.8% 0.159 26.9)
-
Step 500
500
#EB4540
oklch(63.1% 0.204 26.6)
-
Step 600
600
#D70D1D
oklch(55.6% 0.222 26.7)
-
Step 700
700
#B70014
oklch(49% 0.2 26.6)
-
Step 800
800 (this color)
#9D1217
oklch(44.5% 0.171 26.7)
-
Step 900
900
#791616
oklch(37.7% 0.134 26.5)
-
Step 950
950
#47100E
oklch(26.9% 0.084 26.6)
#9D1217 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) | #433B15 | 0.187 |
| Deuteranopia (no green cones) | #64590E | 0.170 |
| Tritanopia (no blue cones) | #AE0017 | 0.035 |
| Achromatopsia (no color) | #4E4E4E | 0.172 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9D1217
#9D1217
oklch(44.5% 0.171 26.7)
- #006069
#006069
oklch(44.7% 0.076 206)
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 #9D1217, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Carmine #9D0216 ΔE 0.010
- Deep Red #9A0200 ΔE 0.017
- Auburn #9B2226 ΔE 0.018
- Blood Red #980002 ΔE 0.020
- Burnt Red #9F2305 ΔE 0.026
- Brick Red #8F1402 ΔE 0.033
- Brown #A52A2A ΔE 0.037
- Brown Red #922B05 ΔE 0.039
Use #9D1217 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.