#A31B1B

Closest named color: Auburn (#9B2226). oklch(46.3% 0.171 27.2), rgb(163, 27, 27).

Aa

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

About this color

#A31B1B is a medium-dark, vivid red. In OKLCH its lightness is 46%, its chroma 0.171 and its hue 27°. Its hue sits on the warm side of the wheel. The nearest named color is Auburn (#9B2226), ΔE 0.018 away. White text reads best on it, at 7.69:1.

Hue familyReds
Lightnessmedium-dark (46%)
Chromavivid (0.171)
Temperaturewarm
Nearest nameAuburn (#9B2226)
Black text2.72:1
White text7.69:1

Values

HEX#A31B1B
RGBrgb(163, 27, 27)
HSLhsl(0, 72%, 37%)
OKLCHoklch(46.3% 0.171 27.2)

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 #A31B1B 7.69:1 AAA Lc -89.9 Fine for body text
Black text on #A31B1B 2.72:1 Fails Lc 19.0 Dividers and decoration only
#A31B1B text on white 7.69:1 AAA Lc 85.0 Fine for body text
#A31B1B text on black 2.72:1 Fails Lc -17.0 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

    #FAE4E1

    oklch(93.6% 0.025 26.9)

  3. Step 200

    200

    #F6CEC9

    oklch(88.4% 0.046 26.4)

  4. Step 300

    300

    #F2ADA4

    oklch(81% 0.083 27.3)

  5. Step 400

    400

    #E77E73

    oklch(70.7% 0.131 27.1)

  6. Step 500

    500

    #DD584E

    oklch(63.2% 0.169 27.2)

  7. Step 600

    600

    #C83631

    oklch(55.5% 0.184 27.1)

  8. Step 700

    700 (this color)

    #A31B1B

    oklch(46.3% 0.171 27.2)

  9. Step 800

    800

    #8C231F

    oklch(42.7% 0.141 27.2)

  10. Step 900

    900

    #71231F

    oklch(37.7% 0.111 26.7)

  11. Step 950

    950

    #421613

    oklch(26.9% 0.069 26.6)

Export this scale for Tailwind in the Tailwind colors tool

#A31B1B 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)#4840190.186
Deuteranopia (no green cones)#695D140.168
Tritanopia (no blue cones)#B4001E0.035
Achromatopsia (no color)#5353530.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #A31B1B

    #A31B1B

    oklch(46.3% 0.171 27.2)

  • #00656F

    #00656F

    oklch(46.3% 0.079 206.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A31B1B

    #A31B1B

    oklch(46.3% 0.171 27.2)

  • #9C1A5A

    #9C1A5A

    oklch(46.3% 0.171 357.1)

  • #864500

    #864500

    oklch(46.2% 0.112 56.8)

Open the analogous palette in the generator

Split complementary

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

  • #A31B1B

    #A31B1B

    oklch(46.3% 0.171 27.2)

  • #006858

    #006858

    oklch(46.3% 0.086 177.2)

  • #00608A

    #00608A

    oklch(46.3% 0.101 237)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A31B1B

    #A31B1B

    oklch(46.3% 0.171 27.2)

  • #006C25

    #006C25

    oklch(46.3% 0.137 147.2)

  • #2F4DB7

    #2F4DB7

    oklch(46.4% 0.171 267.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A31B1B

    #A31B1B

    oklch(46.3% 0.171 27.2)

  • #556000

    #556000

    oklch(46.3% 0.107 117.2)

  • #00656F

    #00656F

    oklch(46.3% 0.079 206.6)

  • #663AAA

    #663AAA

    oklch(46.3% 0.171 297.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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