#7F271E

Closest named color: Red Brown (#8B2E16). oklch(40.7% 0.123 29.3), rgb(127, 39, 30).

Aa

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

About this color

#7F271E is a dark, moderately saturated red. In OKLCH its lightness is 41%, its chroma 0.123 and its hue 29°. Its hue sits on the warm side of the wheel. The nearest named color is Red Brown (#8B2E16), ΔE 0.033 away. White text reads best on it, at 9.49:1.

Hue familyReds
Lightnessdark (41%)
Chromamoderately saturated (0.123)
Temperaturewarm
Nearest nameRed Brown (#8B2E16)
Black text2.21:1
White text9.49:1

Values

HEX#7F271E
RGBrgb(127, 39, 30)
HSLhsl(6, 62%, 31%)
OKLCHoklch(40.7% 0.123 29.3)

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 #7F271E 9.49:1 AAA Lc -95.4 Preferred for body text
Black text on #7F271E 2.21:1 Fails Lc 12.9 Not readable
#7F271E text on white 9.49:1 AAA Lc 91.1 Preferred for body text
#7F271E text on black 2.21:1 Fails Lc -11.3 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

    #FCF3F2

    oklch(97.1% 0.01 25.1)

  2. Step 100

    100

    #F8E5E2

    oklch(93.6% 0.021 28.3)

  3. Step 200

    200

    #F3D0CA

    oklch(88.6% 0.04 29.4)

  4. Step 300

    300

    #ECB0A6

    oklch(81% 0.072 29.4)

  5. Step 400

    400

    #DF8476

    oklch(70.7% 0.115 29.6)

  6. Step 500

    500

    #D46153

    oklch(63.1% 0.148 29)

  7. Step 600

    600

    #BF4437

    oklch(55.6% 0.16 29.2)

  8. Step 700

    700

    #A4352A

    oklch(49.1% 0.148 29.2)

  9. Step 800

    800 (this color)

    #7F271E

    oklch(40.7% 0.123 29.3)

  10. Step 900

    900

    #6B2A22

    oklch(37.7% 0.095 29.3)

  11. Step 950

    950

    #3F1914

    oklch(26.9% 0.061 29.3)

Export this scale for Tailwind in the Tailwind colors tool

#7F271E 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)#40391C0.130
Deuteranopia (no green cones)#564D1B0.119
Tritanopia (no blue cones)#8C0D260.042
Achromatopsia (no color)#4646460.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F271E

    #7F271E

    oklch(40.7% 0.123 29.3)

  • #00545E

    #00545E

    oklch(40.8% 0.07 208.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F271E

    #7F271E

    oklch(40.7% 0.123 29.3)

  • #7B2548

    #7B2548

    oklch(40.8% 0.123 359.1)

  • #6E3A00

    #6E3A00

    oklch(40.6% 0.096 59.3)

Open the analogous palette in the generator

Split complementary

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

  • #7F271E

    #7F271E

    oklch(40.7% 0.123 29.3)

  • #00564B

    #00564B

    oklch(40.6% 0.074 180.3)

  • #004F76

    #004F76

    oklch(40.7% 0.093 239.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F271E

    #7F271E

    oklch(40.7% 0.123 29.3)

  • #005A24

    #005A24

    oklch(40.8% 0.114 149.3)

  • #2F428B

    #2F428B

    oklch(40.6% 0.123 269.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F271E

    #7F271E

    oklch(40.7% 0.123 29.3)

  • #445000

    #445000

    oklch(40.6% 0.096 119.1)

  • #00545E

    #00545E

    oklch(40.8% 0.07 208.6)

  • #543682

    #543682

    oklch(40.7% 0.124 299)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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