#A40C3A
Closest named color: Cranberry (#9E003A). oklch(46.2% 0.178 13.5), rgb(164, 12, 58).
Aa
White text reads best on this color (7.80:1).
About this color
#A40C3A is a medium-dark, vivid red. In OKLCH its lightness is 46%, its chroma 0.178 and its hue 14°. Its hue sits on the warm side of the wheel. The nearest named color is Cranberry (#9E003A), ΔE 0.017 away. White text reads best on it, at 7.80:1.
| Hue family | Reds |
| Lightness | medium-dark (46%) |
| Chroma | vivid (0.178) |
| Temperature | warm |
| Nearest name | Cranberry (#9E003A) |
| Black text | 2.69:1 |
| White text | 7.80:1 |
Values
| HEX | #A40C3A |
| RGB | rgb(164, 12, 58) |
| HSL | hsl(342, 86%, 35%) |
| OKLCH | oklch(46.2% 0.178 13.5) |
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 #A40C3A | 7.80:1 | AAA | Lc -89.9 | Fine for body text |
| Black text on #A40C3A | 2.69:1 | Fails | Lc 19.0 | Dividers and decoration only |
| #A40C3A text on white | 7.80:1 | AAA | Lc 85.0 | Fine for body text |
| #A40C3A text on black | 2.69:1 | Fails | Lc -17.0 | 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
#FDF2F3
oklch(97% 0.012 11)
-
Step 100
100
#FAE3E5
oklch(93.5% 0.025 11.6)
-
Step 200
200
#F7CDD0
oklch(88.5% 0.048 13.2)
-
Step 300
300
#F3AAB0
oklch(80.9% 0.086 13.7)
-
Step 400
400
#E97987
oklch(70.7% 0.138 13.4)
-
Step 500
500
#DF5169
oklch(63.1% 0.177 13.7)
-
Step 600
600
#CA2D51
oklch(55.6% 0.192 13.6)
-
Step 700
700 (this color)
#A40C3A
oklch(46.2% 0.178 13.5)
-
Step 800
800
#8D1C36
oklch(42.6% 0.147 13.6)
-
Step 900
900
#721F2F
oklch(37.7% 0.116 13.5)
-
Step 950
950
#43141C
oklch(27% 0.073 13.2)
#A40C3A 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) | #403F3A | 0.202 |
| Deuteranopia (no green cones) | #655D36 | 0.183 |
| Tritanopia (no blue cones) | #B40023 | 0.043 |
| Achromatopsia (no color) | #525252 | 0.180 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A40C3A
#A40C3A
oklch(46.2% 0.178 13.5)
- #006665
#006665
oklch(46.2% 0.079 193.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 #A40C3A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cranberry #9E003A ΔE 0.017
- Rouge #AB1239 ΔE 0.017
- Raspberry #B00149 ΔE 0.032
- Berry #990F4B ΔE 0.036
- Purple Red #990147 ΔE 0.036
- Auburn #9B2226 ΔE 0.040
- Carmine #9D0216 ΔE 0.043
- Violet Red #A50055 ΔE 0.044
Use #A40C3A 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.