#A40D28

Closest named color: Carmine (#9D0216). oklch(45.9% 0.178 21), rgb(164, 13, 40).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (46%)
Chromavivid (0.178)
Temperaturewarm
Nearest nameCarmine (#9D0216)
Black text2.66:1
White text7.87:1

Values

HEX#A40D28
RGBrgb(164, 13, 40)
HSLhsl(349, 85%, 35%)
OKLCHoklch(45.9% 0.178 21)

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 #A40D28 7.87:1 AAA Lc -90.1 Preferred for body text
Black text on #A40D28 2.66:1 Fails Lc 18.8 Dividers and decoration only
#A40D28 text on white 7.87:1 AAA Lc 85.2 Fine for body text
#A40D28 text on black 2.66:1 Fails Lc -16.8 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.

  1. Step 50

    50

    #FDF3F2

    oklch(97.2% 0.011 24.3)

  2. Step 100

    100

    #FAE4E3

    oklch(93.6% 0.024 20.7)

  3. Step 200

    200

    #F7CDCB

    oklch(88.4% 0.048 21.3)

  4. Step 300

    300

    #F3ABA9

    oklch(80.9% 0.085 20.9)

  5. Step 400

    400

    #EA7A7B

    oklch(70.7% 0.139 20.6)

  6. Step 500

    500

    #E05359

    oklch(63.2% 0.176 21.2)

  7. Step 600

    600

    #CB2F3F

    oklch(55.6% 0.191 21)

  8. Step 700

    700 (this color)

    #A40D28

    oklch(45.9% 0.178 21)

  9. Step 800

    800

    #8E1D29

    oklch(42.6% 0.148 21)

  10. Step 900

    900

    #722026

    oklch(37.6% 0.115 20.6)

  11. Step 950

    950

    #431416

    oklch(26.9% 0.073 21)

Export this scale for Tailwind in the Tailwind colors tool

#A40D28 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)#433E270.198
Deuteranopia (no green cones)#675C220.179
Tritanopia (no blue cones)#B5001B0.037
Achromatopsia (no color)#5252520.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #A40D28

    #A40D28

    oklch(45.9% 0.178 21)

  • #00646A

    #00646A

    oklch(45.8% 0.078 202)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A40D28

    #A40D28

    oklch(45.9% 0.178 21)

  • #9A1464

    #9A1464

    oklch(46% 0.178 350.9)

  • #8A4000

    #8A4000

    oklch(46% 0.119 51.4)

Open the analogous palette in the generator

Split complementary

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

  • #A40D28

    #A40D28

    oklch(45.9% 0.178 21)

  • #006851

    #006851

    oklch(46% 0.09 170.7)

  • #006082

    #006082

    oklch(45.9% 0.093 231.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A40D28

    #A40D28

    oklch(45.9% 0.178 21)

  • #146B00

    #146B00

    oklch(46% 0.152 141.1)

  • #124FB9

    #124FB9

    oklch(46% 0.178 261)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A40D28

    #A40D28

    oklch(45.9% 0.178 21)

  • #5B5C00

    #5B5C00

    oklch(45.9% 0.1 110.5)

  • #00646A

    #00646A

    oklch(45.8% 0.078 202)

  • #5D3AB1

    #5D3AB1

    oklch(45.9% 0.179 291.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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