#7F2817

Closest named color: Chestnut (#742802). oklch(40.7% 0.124 33), rgb(127, 40, 23).

Aa

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

About this color

#7F2817 is a dark, moderately saturated red. In OKLCH its lightness is 41%, its chroma 0.124 and its hue 33°. 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.46:1.

Hue familyReds
Lightnessdark (41%)
Chromamoderately saturated (0.124)
Temperaturewarm
Nearest nameChestnut (#742802)
Black text2.21:1
White text9.46:1

Values

HEX#7F2817
RGBrgb(127, 40, 23)
HSLhsl(10, 69%, 29%)
OKLCHoklch(40.7% 0.124 33)

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 #7F2817 9.46:1 AAA Lc -95.3 Preferred for body text
Black text on #7F2817 2.21:1 Fails Lc 13.0 Not readable
#7F2817 text on white 9.46:1 AAA Lc 91.0 Preferred for body text
#7F2817 text on black 2.21:1 Fails Lc -11.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 800.

  1. Step 50

    50

    #FCF3F1

    oklch(97.1% 0.01 32.5)

  2. Step 100

    100

    #F7E5E1

    oklch(93.5% 0.021 32.5)

  3. Step 200

    200

    #F2D0C8

    oklch(88.4% 0.04 33.4)

  4. Step 300

    300

    #EBB0A3

    oklch(80.8% 0.072 32.7)

  5. Step 400

    400

    #DF8571

    oklch(70.8% 0.115 33.4)

  6. Step 500

    500

    #D3624B

    oklch(63% 0.148 33)

  7. Step 600

    600

    #BF462E

    oklch(55.7% 0.16 33.1)

  8. Step 700

    700

    #A43620

    oklch(49.1% 0.149 33.2)

  9. Step 800

    800 (this color)

    #7F2817

    oklch(40.7% 0.124 33)

  10. Step 900

    900

    #6B2A1D

    oklch(37.6% 0.096 33)

  11. Step 950

    950

    #3F1A12

    oklch(27.1% 0.06 33.5)

Export this scale for Tailwind in the Tailwind colors tool

#7F2817 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)#413A140.128
Deuteranopia (no green cones)#574D130.117
Tritanopia (no blue cones)#8C0E250.046
Achromatopsia (no color)#4646460.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F2817

    #7F2817

    oklch(40.7% 0.124 33)

  • #005361

    #005361

    oklch(40.7% 0.071 214)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F2817

    #7F2817

    oklch(40.7% 0.124 33)

  • #7C2443

    #7C2443

    oklch(40.7% 0.124 2.9)

  • #6C3C00

    #6C3C00

    oklch(40.7% 0.093 62.7)

Open the analogous palette in the generator

Split complementary

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

  • #7F2817

    #7F2817

    oklch(40.7% 0.124 33)

  • #00564D

    #00564D

    oklch(40.7% 0.073 182.8)

  • #004E7A

    #004E7A

    oklch(40.7% 0.098 242.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F2817

    #7F2817

    oklch(40.7% 0.124 33)

  • #00592D

    #00592D

    oklch(40.7% 0.104 153.3)

  • #35418B

    #35418B

    oklch(40.7% 0.123 272.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F2817

    #7F2817

    oklch(40.7% 0.124 33)

  • #405200

    #405200

    oklch(40.8% 0.1 123)

  • #005361

    #005361

    oklch(40.7% 0.071 214)

  • #583480

    #583480

    oklch(40.7% 0.125 303.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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