#7A271D

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

Aa

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

About this color

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

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

Values

HEX#7A271D
RGBrgb(122, 39, 29)
HSLhsl(6, 62%, 30%)
OKLCHoklch(39.8% 0.118 30)

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 #7A271D 9.83:1 AAA Lc -96.2 Preferred for body text
Black text on #7A271D 2.13:1 Fails Lc 12.0 Not readable
#7A271D text on white 9.83:1 AAA Lc 92.0 Preferred for body text
#7A271D 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

    #FBE4E0

    oklch(93.6% 0.026 29.4)

  3. Step 200

    200

    #F8CEC6

    oklch(88.5% 0.049 30.7)

  4. Step 300

    300

    #F4AB9F

    oklch(80.8% 0.088 29.5)

  5. Step 400

    400

    #EB7B6A

    oklch(70.6% 0.141 30)

  6. Step 500

    500

    #E15342

    oklch(63% 0.18 29.8)

  7. Step 600

    600

    #CD2F20

    oklch(55.6% 0.196 29.9)

  8. Step 700

    700

    #B11F12

    oklch(49.1% 0.182 30)

  9. Step 800

    800

    #901E13

    oklch(42.8% 0.151 30)

  10. Step 900

    900 (this color)

    #7A271D

    oklch(39.8% 0.118 30)

  11. Step 950

    950

    #44150F

    oklch(27.1% 0.074 29.9)

Export this scale for Tailwind in the Tailwind colors tool

#7A271D 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)#3E381B0.124
Deuteranopia (no green cones)#534A1A0.113
Tritanopia (no blue cones)#8711250.041
Achromatopsia (no color)#4343430.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A271D

    #7A271D

    oklch(39.8% 0.118 30)

  • #00515B

    #00515B

    oklch(39.8% 0.069 209.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A271D

    #7A271D

    oklch(39.8% 0.118 30)

  • #762545

    #762545

    oklch(39.8% 0.117 359.6)

  • #6B3900

    #6B3900

    oklch(39.9% 0.094 60.1)

Open the analogous palette in the generator

Split complementary

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

  • #7A271D

    #7A271D

    oklch(39.8% 0.118 30)

  • #005449

    #005449

    oklch(40% 0.072 180)

  • #004C73

    #004C73

    oklch(39.8% 0.092 240.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A271D

    #7A271D

    oklch(39.8% 0.118 30)

  • #005724

    #005724

    oklch(39.9% 0.11 149.8)

  • #2F4086

    #2F4086

    oklch(39.8% 0.119 270)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A271D

    #7A271D

    oklch(39.8% 0.118 30)

  • #414E00

    #414E00

    oklch(39.8% 0.095 120)

  • #00515B

    #00515B

    oklch(39.8% 0.069 209.1)

  • #52347C

    #52347C

    oklch(39.7% 0.119 300.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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