#7C271E

Closest named color: Chestnut (#742802). oklch(40.2% 0.12 29.4), rgb(124, 39, 30).

Aa

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

About this color

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

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

Values

HEX#7C271E
RGBrgb(124, 39, 30)
HSLhsl(6, 61%, 30%)
OKLCHoklch(40.2% 0.12 29.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 #7C271E 9.69:1 AAA Lc -95.9 Preferred for body text
Black text on #7C271E 2.16:1 Fails Lc 12.4 Not readable
#7C271E text on white 9.69:1 AAA Lc 91.6 Preferred for body text
#7C271E 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

    #FDF3F1

    oklch(97.1% 0.011 31.1)

  2. Step 100

    100

    #FBE4E0

    oklch(93.6% 0.026 29.4)

  3. Step 200

    200

    #F9CEC6

    oklch(88.6% 0.05 30.4)

  4. Step 300

    300

    #F5AB9F

    oklch(80.9% 0.09 29.4)

  5. Step 400

    400

    #EC7A6A

    oklch(70.6% 0.144 29.4)

  6. Step 500

    500

    #E35242

    oklch(63.2% 0.183 29.4)

  7. Step 600

    600

    #CE2C20

    oklch(55.5% 0.199 29.4)

  8. Step 700

    700

    #B21B12

    oklch(49.1% 0.186 29.3)

  9. Step 800

    800

    #911B13

    oklch(42.8% 0.154 29.2)

  10. Step 900

    900 (this color)

    #7C271E

    oklch(40.2% 0.12 29.4)

  11. Step 950

    950

    #44140F

    oklch(26.9% 0.075 28.9)

Export this scale for Tailwind in the Tailwind colors tool

#7C271E 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)#3F391C0.126
Deuteranopia (no green cones)#544B1B0.115
Tritanopia (no blue cones)#8910250.040
Achromatopsia (no color)#4444440.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C271E

    #7C271E

    oklch(40.2% 0.12 29.4)

  • #00525C

    #00525C

    oklch(40.1% 0.069 208.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C271E

    #7C271E

    oklch(40.2% 0.12 29.4)

  • #782546

    #782546

    oklch(40.2% 0.12 359.5)

  • #6C3900

    #6C3900

    oklch(40.1% 0.095 59.5)

Open the analogous palette in the generator

Split complementary

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

  • #7C271E

    #7C271E

    oklch(40.2% 0.12 29.4)

  • #005549

    #005549

    oklch(40.2% 0.074 178.9)

  • #004D74

    #004D74

    oklch(40.1% 0.092 240.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C271E

    #7C271E

    oklch(40.2% 0.12 29.4)

  • #005823

    #005823

    oklch(40.2% 0.113 149.3)

  • #2F4188

    #2F4188

    oklch(40.1% 0.12 269.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C271E

    #7C271E

    oklch(40.2% 0.12 29.4)

  • #434F00

    #434F00

    oklch(40.3% 0.095 119.2)

  • #00525C

    #00525C

    oklch(40.1% 0.069 208.9)

  • #52357E

    #52357E

    oklch(40.1% 0.12 299.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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