#7A271A

Closest named color: Chestnut (#742802). oklch(39.8% 0.118 31.5), rgb(122, 39, 26).

Aa

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

About this color

#7A271A is a dark, moderately saturated red. In OKLCH its lightness is 40%, its chroma 0.118 and its hue 32°. Its hue sits on the warm side of the wheel. The nearest named color is Chestnut (#742802), ΔE 0.024 away. White text reads best on it, at 9.84:1.

Hue familyReds
Lightnessdark (40%)
Chromamoderately saturated (0.118)
Temperaturewarm
Nearest nameChestnut (#742802)
Black text2.13:1
White text9.84:1

Values

HEX#7A271A
RGBrgb(122, 39, 26)
HSLhsl(8, 65%, 29%)
OKLCHoklch(39.8% 0.118 31.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 #7A271A 9.84:1 AAA Lc -96.2 Preferred for body text
Black text on #7A271A 2.13:1 Fails Lc 12.0 Not readable
#7A271A text on white 9.84:1 AAA Lc 92.0 Preferred for body text
#7A271A text on black 2.13:1 Fails Lc -10.4 Not readable

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 900.

  1. Step 50

    50

    #FDF3F1

    oklch(97.1% 0.011 31.1)

  2. Step 100

    100

    #FBE4DF

    oklch(93.6% 0.026 32.2)

  3. Step 200

    200

    #F8CEC5

    oklch(88.5% 0.049 32.1)

  4. Step 300

    300

    #F4AC9D

    oklch(80.9% 0.088 32.1)

  5. Step 400

    400

    #EB7C67

    oklch(70.7% 0.141 32)

  6. Step 500

    500

    #E2543D

    oklch(63.2% 0.181 31.6)

  7. Step 600

    600

    #CD2F18

    oklch(55.5% 0.197 31.4)

  8. Step 700

    700

    #B11F07

    oklch(49.1% 0.183 31.5)

  9. Step 800

    800

    #901E0D

    oklch(42.8% 0.152 31.5)

  10. Step 900

    900 (this color)

    #7A271A

    oklch(39.8% 0.118 31.5)

  11. Step 950

    950

    #44150D

    oklch(27% 0.075 31.9)

Export this scale for Tailwind in the Tailwind colors tool

#7A271A 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)#3E38180.124
Deuteranopia (no green cones)#534A170.113
Tritanopia (no blue cones)#8710250.043
Achromatopsia (no color)#4343430.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A271A

    #7A271A

    oklch(39.8% 0.118 31.5)

  • #00515C

    #00515C

    oklch(39.9% 0.069 210.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A271A

    #7A271A

    oklch(39.8% 0.118 31.5)

  • #772443

    #772443

    oklch(39.8% 0.119 1.2)

  • #693900

    #693900

    oklch(39.6% 0.092 61.4)

Open the analogous palette in the generator

Split complementary

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

  • #7A271A

    #7A271A

    oklch(39.8% 0.118 31.5)

  • #00534A

    #00534A

    oklch(39.7% 0.071 182.4)

  • #004C74

    #004C74

    oklch(39.8% 0.093 241)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A271A

    #7A271A

    oklch(39.8% 0.118 31.5)

  • #005628

    #005628

    oklch(39.7% 0.105 151.7)

  • #313F86

    #313F86

    oklch(39.7% 0.119 271.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A271A

    #7A271A

    oklch(39.8% 0.118 31.5)

  • #3F4E00

    #3F4E00

    oklch(39.7% 0.096 121.4)

  • #00515C

    #00515C

    oklch(39.9% 0.069 210.4)

  • #53347B

    #53347B

    oklch(39.8% 0.117 301.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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