#7C271A

Closest named color: Chestnut (#742802). oklch(40.1% 0.121 31.4), rgb(124, 39, 26).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (40%)
Chromamoderately saturated (0.121)
Temperaturewarm
Nearest nameChestnut (#742802)
Black text2.16:1
White text9.71:1

Values

HEX#7C271A
RGBrgb(124, 39, 26)
HSLhsl(8, 65%, 29%)
OKLCHoklch(40.1% 0.121 31.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 #7C271A 9.71:1 AAA Lc -95.9 Preferred for body text
Black text on #7C271A 2.16:1 Fails Lc 12.3 Not readable
#7C271A text on white 9.71:1 AAA Lc 91.6 Preferred for body text
#7C271A text on black 2.16:1 Fails Lc -10.8 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

    #FDF3F0

    oklch(97.1% 0.012 37.4)

  2. Step 100

    100

    #FBE4DF

    oklch(93.6% 0.026 32.2)

  3. Step 200

    200

    #F9CEC5

    oklch(88.6% 0.05 31.8)

  4. Step 300

    300

    #F5AB9D

    oklch(80.8% 0.09 31)

  5. Step 400

    400

    #ED7B66

    oklch(70.8% 0.145 31.8)

  6. Step 500

    500

    #E3523B

    oklch(63.1% 0.185 31.6)

  7. Step 600

    600

    #CF2C14

    oklch(55.6% 0.202 31.4)

  8. Step 700

    700

    #B21B03

    oklch(49% 0.187 31.4)

  9. Step 800

    800

    #911C0A

    oklch(42.8% 0.155 31.5)

  10. Step 900

    900 (this color)

    #7C271A

    oklch(40.1% 0.121 31.4)

  11. Step 950

    950

    #45140D

    oklch(27.1% 0.077 30.8)

Export this scale for Tailwind in the Tailwind colors tool

#7C271A 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)#3F38180.126
Deuteranopia (no green cones)#544B170.115
Tritanopia (no blue cones)#890F250.043
Achromatopsia (no color)#4444440.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C271A

    #7C271A

    oklch(40.1% 0.121 31.4)

  • #00525D

    #00525D

    oklch(40.2% 0.07 210.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C271A

    #7C271A

    oklch(40.1% 0.121 31.4)

  • #792444

    #792444

    oklch(40.2% 0.121 1.1)

  • #6B3A00

    #6B3A00

    oklch(40.1% 0.093 61.2)

Open the analogous palette in the generator

Split complementary

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

  • #7C271A

    #7C271A

    oklch(40.1% 0.121 31.4)

  • #00544A

    #00544A

    oklch(40% 0.072 181.3)

  • #004D76

    #004D76

    oklch(40.2% 0.094 241.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C271A

    #7C271A

    oklch(40.1% 0.121 31.4)

  • #005728

    #005728

    oklch(40% 0.106 151.5)

  • #324088

    #324088

    oklch(40.1% 0.121 271.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C271A

    #7C271A

    oklch(40.1% 0.121 31.4)

  • #404F00

    #404F00

    oklch(40% 0.096 121.3)

  • #00525D

    #00525D

    oklch(40.2% 0.07 210.3)

  • #54347D

    #54347D

    oklch(40% 0.12 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 #7C271A, closest first.

Similar named colors

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

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