#7F271B

Closest named color: Chestnut (#742802). oklch(40.7% 0.124 30.8), rgb(127, 39, 27).

Aa

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

About this color

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

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

Values

HEX#7F271B
RGBrgb(127, 39, 27)
HSLhsl(7, 65%, 30%)
OKLCHoklch(40.7% 0.124 30.8)

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 #7F271B 9.50:1 AAA Lc -95.4 Preferred for body text
Black text on #7F271B 2.20:1 Fails Lc 12.9 Not readable
#7F271B text on white 9.50:1 AAA Lc 91.1 Preferred for body text
#7F271B text on black 2.20: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

    #FCF3F1

    oklch(97.1% 0.01 32.5)

  2. Step 100

    100

    #F8E5E1

    oklch(93.6% 0.022 31.8)

  3. Step 200

    200

    #F3D0C9

    oklch(88.5% 0.041 31.2)

  4. Step 300

    300

    #ECB0A5

    oklch(81% 0.072 30.5)

  5. Step 400

    400

    #DF8474

    oklch(70.7% 0.115 30.8)

  6. Step 500

    500

    #D46250

    oklch(63.2% 0.148 30.8)

  7. Step 600

    600

    #BF4533

    oklch(55.6% 0.16 31)

  8. Step 700

    700

    #A43526

    oklch(49% 0.149 30.7)

  9. Step 800

    800 (this color)

    #7F271B

    oklch(40.7% 0.124 30.8)

  10. Step 900

    900

    #6C2A20

    oklch(37.8% 0.097 30.8)

  11. Step 950

    950

    #3F1913

    oklch(26.9% 0.061 30.7)

Export this scale for Tailwind in the Tailwind colors tool

#7F271B 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)#4039190.130
Deuteranopia (no green cones)#564D180.119
Tritanopia (no blue cones)#8C0D250.043
Achromatopsia (no color)#4646460.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F271B

    #7F271B

    oklch(40.7% 0.124 30.8)

  • #00535F

    #00535F

    oklch(40.6% 0.071 211.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F271B

    #7F271B

    oklch(40.7% 0.124 30.8)

  • #7B2446

    #7B2446

    oklch(40.6% 0.124 0.4)

  • #6D3B00

    #6D3B00

    oklch(40.6% 0.094 61)

Open the analogous palette in the generator

Split complementary

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

  • #7F271B

    #7F271B

    oklch(40.7% 0.124 30.8)

  • #00564B

    #00564B

    oklch(40.6% 0.074 180.3)

  • #004E77

    #004E77

    oklch(40.5% 0.095 241.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F271B

    #7F271B

    oklch(40.7% 0.124 30.8)

  • #005928

    #005928

    oklch(40.6% 0.109 151)

  • #32428B

    #32428B

    oklch(40.8% 0.122 270.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F271B

    #7F271B

    oklch(40.7% 0.124 30.8)

  • #425100

    #425100

    oklch(40.7% 0.098 121.1)

  • #00535F

    #00535F

    oklch(40.6% 0.071 211.4)

  • #563581

    #563581

    oklch(40.7% 0.124 301.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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