#A7031D

Closest named color: Carmine (#9D0216). oklch(46% 0.185 24.1), rgb(167, 3, 29).

Aa

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

About this color

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

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

Values

HEX#A7031D
RGBrgb(167, 3, 29)
HSLhsl(350, 96%, 33%)
OKLCHoklch(46% 0.185 24.1)

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 #A7031D 7.85:1 AAA Lc -89.7 Fine for body text
Black text on #A7031D 2.67:1 Fails Lc 19.2 Dividers and decoration only
#A7031D text on white 7.85:1 AAA Lc 84.8 Fine for body text
#A7031D text on black 2.67: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

    #FBE4E1

    oklch(93.7% 0.026 26.5)

  3. Step 200

    200

    #F9CDC9

    oklch(88.5% 0.05 24.2)

  4. Step 300

    300

    #F5AAA5

    oklch(80.9% 0.089 23.5)

  5. Step 400

    400

    #EC7974

    oklch(70.6% 0.143 23.9)

  6. Step 500

    500

    #E35050

    oklch(63.2% 0.183 24)

  7. Step 600

    600

    #CE2A34

    oklch(55.6% 0.199 23.9)

  8. Step 700

    700 (this color)

    #A7031D

    oklch(46% 0.185 24.1)

  9. Step 800

    800

    #901A21

    oklch(42.6% 0.153 24.1)

  10. Step 900

    900

    #741E20

    oklch(37.7% 0.12 23.8)

  11. Step 950

    950

    #441413

    oklch(27% 0.075 24.6)

Export this scale for Tailwind in the Tailwind colors tool

#A7031D 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)#443D1C0.204
Deuteranopia (no green cones)#695D150.184
Tritanopia (no blue cones)#B900120.039
Achromatopsia (no color)#5252520.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #A7031D

    #A7031D

    oklch(46% 0.185 24.1)

  • #00646C

    #00646C

    oklch(45.9% 0.078 204.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A7031D

    #A7031D

    oklch(46% 0.185 24.1)

  • #9E095F

    #9E095F

    oklch(46.1% 0.185 354.1)

  • #884200

    #884200

    oklch(46% 0.116 53.6)

Open the analogous palette in the generator

Split complementary

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

  • #A7031D

    #A7031D

    oklch(46% 0.185 24.1)

  • #006854

    #006854

    oklch(46.1% 0.088 173.4)

  • #006085

    #006085

    oklch(46.1% 0.096 233.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A7031D

    #A7031D

    oklch(46% 0.185 24.1)

  • #006C12

    #006C12

    oklch(46.1% 0.15 144)

  • #1F4CBD

    #1F4CBD

    oklch(46.1% 0.185 264)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A7031D

    #A7031D

    oklch(46% 0.185 24.1)

  • #585E00

    #585E00

    oklch(46.1% 0.104 114)

  • #00646C

    #00646C

    oklch(45.9% 0.078 204.4)

  • #6236B2

    #6236B2

    oklch(46% 0.185 294.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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