#A7312D

Closest named color: Brown (#A52A2A). oklch(49.2% 0.155 26.5), rgb(167, 49, 45).

Aa

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

About this color

#A7312D is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.155 and its hue 27°. Its hue sits on the warm side of the wheel. The nearest named color is Brown (#A52A2A), ΔE 0.012 away. White text reads best on it, at 6.73:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.155)
Temperaturewarm
Nearest nameBrown (#A52A2A)
Black text3.12:1
White text6.73:1

Values

HEX#A7312D
RGBrgb(167, 49, 45)
HSLhsl(2, 58%, 42%)
OKLCHoklch(49.2% 0.155 26.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 #A7312D 6.73:1 AA Lc -87.2 Fine for body text
Black text on #A7312D 3.12:1 AA large text Lc 22.0 Dividers and decoration only
#A7312D text on white 6.73:1 AA Lc 82.1 Fine for body text
#A7312D text on black 3.12:1 AA large text Lc -19.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

    #FCF3F2

    oklch(97.1% 0.01 25.1)

  2. Step 100

    100

    #F8E5E2

    oklch(93.6% 0.021 28.3)

  3. Step 200

    200

    #F4CFCB

    oklch(88.5% 0.042 25.3)

  4. Step 300

    300

    #EDAFA7

    oklch(81% 0.074 27.1)

  5. Step 400

    400

    #E28278

    oklch(70.8% 0.12 26.8)

  6. Step 500

    500

    #D65E55

    oklch(63% 0.153 26.7)

  7. Step 600

    600

    #C2403A

    oklch(55.6% 0.167 26.7)

  8. Step 700

    700 (this color)

    #A7312D

    oklch(49.2% 0.155 26.5)

  9. Step 800

    800

    #872A26

    oklch(42.6% 0.128 26.5)

  10. Step 900

    900

    #6D2823

    oklch(37.7% 0.1 27)

  11. Step 950

    950

    #401815

    oklch(26.9% 0.063 26.5)

Export this scale for Tailwind in the Tailwind colors tool

#A7312D 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)#534B2B0.165
Deuteranopia (no green cones)#7065290.152
Tritanopia (no blue cones)#B807310.047
Achromatopsia (no color)#5C5C5C0.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #A7312D

    #A7312D

    oklch(49.2% 0.155 26.5)

  • #006E79

    #006E79

    oklch(49.2% 0.084 206.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A7312D

    #A7312D

    oklch(49.2% 0.155 26.5)

  • #A03063

    #A03063

    oklch(49.2% 0.154 356.4)

  • #924B00

    #924B00

    oklch(49.1% 0.12 56.3)

Open the analogous palette in the generator

Split complementary

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

  • #A7312D

    #A7312D

    oklch(49.2% 0.155 26.5)

  • #00715F

    #00715F

    oklch(49% 0.091 176.5)

  • #006995

    #006995

    oklch(49.3% 0.106 236.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A7312D

    #A7312D

    oklch(49.2% 0.155 26.5)

  • #007626

    #007626

    oklch(49.3% 0.148 146.6)

  • #3859B8

    #3859B8

    oklch(49.3% 0.155 266.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A7312D

    #A7312D

    oklch(49.2% 0.155 26.5)

  • #5E6800

    #5E6800

    oklch(49.2% 0.113 116.2)

  • #006E79

    #006E79

    oklch(49.2% 0.084 206.9)

  • #6B48AD

    #6B48AD

    oklch(49.2% 0.155 296.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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