#7C271D

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

Aa

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

About this color

#7C271D is a dark, moderately saturated red. In OKLCH its lightness is 40%, its chroma 0.120 and its hue 30°. Its hue sits on the warm side of the wheel. The nearest named color is Chestnut (#742802), ΔE 0.029 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#7C271D
RGBrgb(124, 39, 29)
HSLhsl(6, 62%, 30%)
OKLCHoklch(40.2% 0.12 29.9)

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 #7C271D 9.69:1 AAA Lc -95.9 Preferred for body text
Black text on #7C271D 2.16:1 Fails Lc 12.4 Not readable
#7C271D text on white 9.69:1 AAA Lc 91.6 Preferred for body text
#7C271D 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

    #F5AB9E

    oklch(80.9% 0.09 30.2)

  5. Step 400

    400

    #ED7A69

    oklch(70.7% 0.145 29.8)

  6. Step 500

    500

    #E35240

    oklch(63.2% 0.184 30.1)

  7. Step 600

    600

    #CE2C1D

    oklch(55.5% 0.2 29.9)

  8. Step 700

    700

    #B21B0F

    oklch(49.1% 0.186 29.8)

  9. Step 800

    800

    #911C11

    oklch(42.8% 0.154 30)

  10. Step 900

    900 (this color)

    #7C271D

    oklch(40.2% 0.12 29.9)

  11. Step 950

    950

    #44140E

    oklch(26.9% 0.076 29.9)

Export this scale for Tailwind in the Tailwind colors tool

#7C271D 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)#3F391B0.126
Deuteranopia (no green cones)#544B1A0.115
Tritanopia (no blue cones)#890F250.041
Achromatopsia (no color)#4444440.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C271D

    #7C271D

    oklch(40.2% 0.12 29.9)

  • #00525D

    #00525D

    oklch(40.2% 0.07 210.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C271D

    #7C271D

    oklch(40.2% 0.12 29.9)

  • #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°).

  • #7C271D

    #7C271D

    oklch(40.2% 0.12 29.9)

  • #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.

  • #7C271D

    #7C271D

    oklch(40.2% 0.12 29.9)

  • #005825

    #005825

    oklch(40.2% 0.111 150)

  • #304188

    #304188

    oklch(40.2% 0.12 270.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C271D

    #7C271D

    oklch(40.2% 0.12 29.9)

  • #424F00

    #424F00

    oklch(40.2% 0.095 119.9)

  • #00525D

    #00525D

    oklch(40.2% 0.07 210.3)

  • #53357E

    #53357E

    oklch(40.2% 0.12 300)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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