#AB312B

Closest named color: Brown (#A52A2A). oklch(49.8% 0.159 27.4), rgb(171, 49, 43).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.159)
Temperaturewarm
Nearest nameBrown (#A52A2A)
Black text3.20:1
White text6.55:1

Values

HEX#AB312B
RGBrgb(171, 49, 43)
HSLhsl(3, 60%, 42%)
OKLCHoklch(49.8% 0.159 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 #AB312B 6.55:1 AA Lc -86.4 Fine for body text
Black text on #AB312B 3.20:1 AA large text Lc 22.8 Dividers and decoration only
#AB312B text on white 6.55:1 AA Lc 81.3 Fine for body text
#AB312B text on black 3.20:1 AA large text Lc -20.6 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

    #F9E5E2

    oklch(93.7% 0.022 27.8)

  3. Step 200

    200

    #F4CFCA

    oklch(88.5% 0.042 27)

  4. Step 300

    300

    #EFAEA6

    oklch(81% 0.078 26.8)

  5. Step 400

    400

    #E38176

    oklch(70.7% 0.123 27.3)

  6. Step 500

    500

    #D85D52

    oklch(63.1% 0.157 27.5)

  7. Step 600

    600

    #C43E36

    oklch(55.7% 0.172 27.5)

  8. Step 700

    700 (this color)

    #AB312B

    oklch(49.8% 0.159 27.4)

  9. Step 800

    800

    #892823

    oklch(42.7% 0.133 27.2)

  10. Step 900

    900

    #6E2721

    oklch(37.7% 0.102 27.8)

  11. Step 950

    950

    #411814

    oklch(27.1% 0.065 27.8)

Export this scale for Tailwind in the Tailwind colors tool

#AB312B 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)#544C290.171
Deuteranopia (no green cones)#7367270.155
Tritanopia (no blue cones)#BC01310.049
Achromatopsia (no color)#5D5D5D0.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB312B

    #AB312B

    oklch(49.8% 0.159 27.4)

  • #00707C

    #00707C

    oklch(49.9% 0.086 207.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB312B

    #AB312B

    oklch(49.8% 0.159 27.4)

  • #A42F63

    #A42F63

    oklch(49.8% 0.159 357.5)

  • #944E00

    #944E00

    oklch(49.9% 0.12 57.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB312B

    #AB312B

    oklch(49.8% 0.159 27.4)

  • #007462

    #007462

    oklch(50% 0.093 176.9)

  • #006A99

    #006A99

    oklch(49.7% 0.11 237.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB312B

    #AB312B

    oklch(49.8% 0.159 27.4)

  • #00782B

    #00782B

    oklch(49.9% 0.147 147.5)

  • #3B59BC

    #3B59BC

    oklch(49.7% 0.16 267.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB312B

    #AB312B

    oklch(49.8% 0.159 27.4)

  • #5E6B00

    #5E6B00

    oklch(49.9% 0.116 117.7)

  • #00707C

    #00707C

    oklch(49.9% 0.086 207.7)

  • #6F48B0

    #6F48B0

    oklch(49.8% 0.159 297.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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