#A7251A

Closest named color: Rufous (#AE2012). oklch(47.8% 0.168 29.6), rgb(167, 37, 26).

Aa

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

About this color

#A7251A is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.168 and its hue 30°. Its hue sits on the warm side of the wheel. The nearest named color is Rufous (#AE2012), ΔE 0.014 away. White text reads best on it, at 7.18:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.168)
Temperaturewarm
Nearest nameRufous (#AE2012)
Black text2.92:1
White text7.18:1

Values

HEX#A7251A
RGBrgb(167, 37, 26)
HSLhsl(5, 73%, 38%)
OKLCHoklch(47.8% 0.168 29.6)

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 #A7251A 7.18:1 AAA Lc -88.5 Fine for body text
Black text on #A7251A 2.92:1 Fails Lc 20.6 Dividers and decoration only
#A7251A text on white 7.18:1 AAA Lc 83.5 Fine for body text
#A7251A text on black 2.92:1 Fails Lc -18.5 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

    #F9E4E1

    oklch(93.5% 0.023 27.3)

  3. Step 200

    200

    #F6CFC8

    oklch(88.6% 0.045 29.9)

  4. Step 300

    300

    #F1ADA2

    oklch(80.9% 0.082 29.3)

  5. Step 400

    400

    #E67F70

    oklch(70.7% 0.13 29.4)

  6. Step 500

    500

    #DC5A4A

    oklch(63.2% 0.166 29.5)

  7. Step 600

    600

    #C73A2C

    oklch(55.7% 0.18 29.6)

  8. Step 700

    700 (this color)

    #A7251A

    oklch(47.8% 0.168 29.6)

  9. Step 800

    800

    #8B251B

    oklch(42.6% 0.139 29.6)

  10. Step 900

    900

    #70251C

    oklch(37.7% 0.108 29.8)

  11. Step 950

    950

    #421711

    oklch(27% 0.068 30.2)

Export this scale for Tailwind in the Tailwind colors tool

#A7251A 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)#4E45170.180
Deuteranopia (no green cones)#6E62120.164
Tritanopia (no blue cones)#B800240.041
Achromatopsia (no color)#5757570.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #A7251A

    #A7251A

    oklch(47.8% 0.168 29.6)

  • #006976

    #006976

    oklch(47.7% 0.082 209.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A7251A

    #A7251A

    oklch(47.8% 0.168 29.6)

  • #A1225A

    #A1225A

    oklch(47.8% 0.168 359.4)

  • #8A4A00

    #8A4A00

    oklch(47.7% 0.113 59.1)

Open the analogous palette in the generator

Split complementary

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

  • #A7251A

    #A7251A

    oklch(47.8% 0.168 29.6)

  • #006D5E

    #006D5E

    oklch(47.9% 0.088 178.9)

  • #006493

    #006493

    oklch(47.9% 0.108 239.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A7251A

    #A7251A

    oklch(47.8% 0.168 29.6)

  • #007130

    #007130

    oklch(47.9% 0.133 149.6)

  • #3951BA

    #3951BA

    oklch(47.9% 0.168 269.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A7251A

    #A7251A

    oklch(47.8% 0.168 29.6)

  • #566500

    #566500

    oklch(47.7% 0.112 119.3)

  • #006976

    #006976

    oklch(47.7% 0.082 209.6)

  • #6D3EAC

    #6D3EAC

    oklch(47.8% 0.169 299.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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