#A7040F

Closest named color: Carmine (#9D0216). oklch(45.9% 0.185 27.4), rgb(167, 4, 15).

Aa

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

About this color

#A7040F is a medium-dark, vivid red. In OKLCH its lightness is 46%, its chroma 0.185 and its hue 27°. 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.87:1.

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

Values

HEX#A7040F
RGBrgb(167, 4, 15)
HSLhsl(356, 95%, 34%)
OKLCHoklch(45.9% 0.185 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 #A7040F 7.87:1 AAA Lc -89.7 Fine for body text
Black text on #A7040F 2.66:1 Fails Lc 19.2 Dividers and decoration only
#A7040F text on white 7.87:1 AAA Lc 84.8 Fine for body text
#A7040F text on black 2.66:1 Fails Lc -17.2 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

    #FDF3F1

    oklch(97.1% 0.011 31.1)

  2. Step 100

    100

    #FBE4E0

    oklch(93.6% 0.026 29.4)

  3. Step 200

    200

    #F9CDC7

    oklch(88.5% 0.051 27.2)

  4. Step 300

    300

    #F5ABA1

    oklch(80.9% 0.089 27.7)

  5. Step 400

    400

    #ED7A6E

    oklch(70.8% 0.144 27.4)

  6. Step 500

    500

    #E35147

    oklch(63.1% 0.183 27.5)

  7. Step 600

    600

    #CE2B28

    oklch(55.5% 0.199 27.4)

  8. Step 700

    700 (this color)

    #A7040F

    oklch(45.9% 0.185 27.4)

  9. Step 800

    800

    #911B19

    oklch(42.8% 0.154 27.4)

  10. Step 900

    900

    #741F1B

    oklch(37.7% 0.119 27.2)

  11. Step 950

    950

    #441410

    oklch(26.9% 0.075 27.9)

Export this scale for Tailwind in the Tailwind colors tool

#A7040F 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)#453C0B0.204
Deuteranopia (no green cones)#695D000.184
Tritanopia (no blue cones)#B9000D0.038
Achromatopsia (no color)#5252520.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #A7040F

    #A7040F

    oklch(45.9% 0.185 27.4)

  • #00646E

    #00646E

    oklch(46% 0.079 206.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A7040F

    #A7040F

    oklch(45.9% 0.185 27.4)

  • #A00459

    #A00459

    oklch(46.1% 0.186 357.3)

  • #844500

    #844500

    oklch(45.9% 0.11 57.8)

Open the analogous palette in the generator

Split complementary

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

  • #A7040F

    #A7040F

    oklch(45.9% 0.185 27.4)

  • #006757

    #006757

    oklch(45.9% 0.085 177.1)

  • #005F89

    #005F89

    oklch(46% 0.101 237.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A7040F

    #A7040F

    oklch(45.9% 0.185 27.4)

  • #006B25

    #006B25

    oklch(46% 0.135 147.3)

  • #2B49BD

    #2B49BD

    oklch(45.9% 0.185 267.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A7040F

    #A7040F

    oklch(45.9% 0.185 27.4)

  • #545F00

    #545F00

    oklch(46% 0.106 117.3)

  • #00646E

    #00646E

    oklch(46% 0.079 206.7)

  • #6734B0

    #6734B0

    oklch(46.1% 0.186 297.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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