#AB402B

Closest named color: Rusty Red (#AF2F0D). oklch(51.6% 0.145 33), rgb(171, 64, 43).

Aa

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

About this color

#AB402B is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.145 and its hue 33°. Its hue sits on the warm side of the wheel. The nearest named color is Rusty Red (#AF2F0D), ΔE 0.029 away. White text reads best on it, at 6.00:1.

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.145)
Temperaturewarm
Nearest nameRusty Red (#AF2F0D)
Black text3.49:1
White text6.00:1

Values

HEX#AB402B
RGBrgb(171, 64, 43)
HSLhsl(10, 60%, 42%)
OKLCHoklch(51.6% 0.145 33)

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 #AB402B 6.00:1 AA Lc -84.4 Fine for body text
Black text on #AB402B 3.49:1 AA large text Lc 24.9 Dividers and decoration only
#AB402B text on white 6.00:1 AA Lc 79.2 Fine for body text
#AB402B text on black 3.49:1 AA large text Lc -22.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

    #FCF3F1

    oklch(97.1% 0.01 32.5)

  2. Step 100

    100

    #F7E5E1

    oklch(93.5% 0.021 32.5)

  3. Step 200

    200

    #F2D0C9

    oklch(88.4% 0.04 31.6)

  4. Step 300

    300

    #EAB1A4

    oklch(80.9% 0.07 33.2)

  5. Step 400

    400

    #DD8673

    oklch(70.7% 0.111 33.1)

  6. Step 500

    500

    #D1644E

    oklch(63% 0.143 32.9)

  7. Step 600

    600

    #BD4831

    oklch(55.7% 0.156 33)

  8. Step 700

    700 (this color)

    #AB402B

    oklch(51.6% 0.145 33)

  9. Step 800

    800

    #842F1F

    oklch(42.6% 0.121 32.7)

  10. Step 900

    900

    #6A2B1F

    oklch(37.6% 0.093 32.5)

  11. Step 950

    950

    #3F1A13

    oklch(27.1% 0.06 32.2)

Export this scale for Tailwind in the Tailwind colors tool

#AB402B 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)#5E54280.148
Deuteranopia (no green cones)#786C280.137
Tritanopia (no blue cones)#BC263C0.056
Achromatopsia (no color)#6363630.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB402B

    #AB402B

    oklch(51.6% 0.145 33)

  • #007587

    #007587

    oklch(51.7% 0.09 213.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB402B

    #AB402B

    oklch(51.6% 0.145 33)

  • #A83C60

    #A83C60

    oklch(51.8% 0.145 3)

  • #965600

    #965600

    oklch(51.6% 0.118 63.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB402B

    #AB402B

    oklch(51.6% 0.145 33)

  • #00796D

    #00796D

    oklch(51.7% 0.092 182.9)

  • #006EA9

    #006EA9

    oklch(51.7% 0.124 242.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB402B

    #AB402B

    oklch(51.6% 0.145 33)

  • #007D41

    #007D41

    oklch(51.7% 0.133 153.1)

  • #4E5EBA

    #4E5EBA

    oklch(51.7% 0.145 272.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB402B

    #AB402B

    oklch(51.6% 0.145 33)

  • #5A7300

    #5A7300

    oklch(51.7% 0.127 123.3)

  • #007587

    #007587

    oklch(51.7% 0.09 213.2)

  • #794FAB

    #794FAB

    oklch(51.7% 0.144 302.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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