#A40728

Closest named color: Carmine (#9D0216). oklch(45.7% 0.18 20.5), rgb(164, 7, 40).

Aa

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

About this color

#A40728 is a medium-dark, vivid red. In OKLCH its lightness is 46%, its chroma 0.180 and its hue 21°. Its hue sits on the warm side of the wheel. The nearest named color is Carmine (#9D0216), ΔE 0.023 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#A40728
RGBrgb(164, 7, 40)
HSLhsl(347, 92%, 34%)
OKLCHoklch(45.7% 0.18 20.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #A40728 7.95:1 AAA Lc -90.2 Preferred for body text
Black text on #A40728 2.63:1 Fails Lc 18.7 Dividers and decoration only
#A40728 text on white 7.95:1 AAA Lc 85.3 Fine for body text
#A40728 text on black 2.63:1 Fails Lc -16.7 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

    #FFF2F1

    oklch(97.1% 0.014 22.8)

  2. Step 100

    100

    #FEE2E1

    oklch(93.5% 0.031 20.2)

  3. Step 200

    200

    #FECBC9

    oklch(88.6% 0.058 20.9)

  4. Step 300

    300

    #FDA5A4

    oklch(80.9% 0.105 20.3)

  5. Step 400

    400

    #F86F73

    oklch(70.8% 0.168 20.6)

  6. Step 500

    500

    #EF3B4E

    oklch(63% 0.214 20.6)

  7. Step 600

    600

    #D70036

    oklch(55.6% 0.223 20.4)

  8. Step 700

    700

    #B6002C

    oklch(49.1% 0.197 20.5)

  9. Step 800

    800 (this color)

    #A40728

    oklch(45.7% 0.18 20.5)

  10. Step 900

    900

    #7B0E1F

    oklch(37.6% 0.14 20.4)

  11. Step 950

    950

    #490D13

    oklch(27.1% 0.089 20.3)

Export this scale for Tailwind in the Tailwind colors tool

#A40728 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)#423D280.200
Deuteranopia (no green cones)#665C220.183
Tritanopia (no blue cones)#B500190.038
Achromatopsia (no color)#5151510.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #A40728

    #A40728

    oklch(45.7% 0.18 20.5)

  • #006469

    #006469

    oklch(45.8% 0.078 200.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A40728

    #A40728

    oklch(45.7% 0.18 20.5)

  • #991164

    #991164

    oklch(45.6% 0.18 350.5)

  • #8A3F00

    #8A3F00

    oklch(45.8% 0.12 50.7)

Open the analogous palette in the generator

Split complementary

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

  • #A40728

    #A40728

    oklch(45.7% 0.18 20.5)

  • #006750

    #006750

    oklch(45.7% 0.09 170.6)

  • #006080

    #006080

    oklch(45.8% 0.091 229.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A40728

    #A40728

    oklch(45.7% 0.18 20.5)

  • #186A00

    #186A00

    oklch(45.8% 0.149 140.6)

  • #0C4EB9

    #0C4EB9

    oklch(45.7% 0.18 260.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A40728

    #A40728

    oklch(45.7% 0.18 20.5)

  • #5A5C00

    #5A5C00

    oklch(45.8% 0.101 111.2)

  • #006469

    #006469

    oklch(45.8% 0.078 200.8)

  • #5B39B1

    #5B39B1

    oklch(45.6% 0.18 290.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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