#A40C12

Closest named color: Carmine (#9D0216). oklch(45.6% 0.18 27.4), rgb(164, 12, 18).

Aa

White text reads best on this color (7.95:1).

About this color

#A40C12 is a medium-dark, vivid red. In OKLCH its lightness is 46%, its chroma 0.180 and its hue 27°. Its hue sits on the warm side of the wheel. The nearest named color is Carmine (#9D0216), ΔE 0.019 away. White text reads best on it, at 7.95:1.

Hue familyReds
Lightnessmedium-dark (46%)
Chromavivid (0.180)
Temperaturewarm
Nearest nameCarmine (#9D0216)
Black text2.63:1
White text7.95:1

Values

HEX#A40C12
RGBrgb(164, 12, 18)
HSLhsl(358, 86%, 35%)
OKLCHoklch(45.6% 0.18 27.4)

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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #A40C12 7.95:1 AAA Lc -90.3 Preferred for body text
Black text on #A40C12 2.63:1 Fails Lc 18.6 Dividers and decoration only
#A40C12 text on white 7.95:1 AAA Lc 85.4 Fine for body text
#A40C12 text on black 2.63:1 Fails Lc -16.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 800.

  1. Step 50

    50

    #FFF2F0

    oklch(97.1% 0.014 28)

  2. Step 100

    100

    #FEE3DF

    oklch(93.7% 0.03 27.8)

  3. Step 200

    200

    #FECBC4

    oklch(88.5% 0.059 27.4)

  4. Step 300

    300

    #FDA69B

    oklch(80.8% 0.105 27.5)

  5. Step 400

    400

    #F87064

    oklch(70.7% 0.169 27.3)

  6. Step 500

    500

    #F03E38

    oklch(63.2% 0.215 27.4)

  7. Step 600

    600

    #D90015

    oklch(55.7% 0.227 27.3)

  8. Step 700

    700

    #B70010

    oklch(49% 0.2 27.3)

  9. Step 800

    800 (this color)

    #A40C12

    oklch(45.6% 0.18 27.4)

  10. Step 900

    900

    #7B1111

    oklch(37.7% 0.14 27.3)

  11. Step 950

    950

    #490E0B

    oklch(27% 0.089 27.7)

Export this scale for Tailwind in the Tailwind colors tool

#A40C12 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#453D0F0.197
Deuteranopia (no green cones)#685C050.178
Tritanopia (no blue cones)#B500120.035
Achromatopsia (no color)#5151510.181

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #A40C12

    #A40C12

    oklch(45.6% 0.18 27.4)

  • #00636D

    #00636D

    oklch(45.7% 0.078 206.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A40C12

    #A40C12

    oklch(45.6% 0.18 27.4)

  • #9D0B58

    #9D0B58

    oklch(45.7% 0.18 357.3)

  • #834400

    #834400

    oklch(45.6% 0.11 57.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #A40C12

    #A40C12

    oklch(45.6% 0.18 27.4)

  • #006656

    #006656

    oklch(45.6% 0.085 177)

  • #005E88

    #005E88

    oklch(45.7% 0.101 237.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A40C12

    #A40C12

    oklch(45.6% 0.18 27.4)

  • #006A25

    #006A25

    oklch(45.7% 0.134 147.5)

  • #2C49B9

    #2C49B9

    oklch(45.6% 0.18 267.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A40C12

    #A40C12

    oklch(45.6% 0.18 27.4)

  • #535E00

    #535E00

    oklch(45.6% 0.106 117.4)

  • #00636D

    #00636D

    oklch(45.7% 0.078 206.8)

  • #6535AC

    #6535AC

    oklch(45.7% 0.179 297.2)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #A40C12, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #A40C12 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.