#7F2A1B

Closest named color: Red Brown (#8B2E16). oklch(41% 0.121 32.3), rgb(127, 42, 27).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (41%)
Chromamoderately saturated (0.121)
Temperaturewarm
Nearest nameRed Brown (#8B2E16)
Black text2.24:1
White text9.33:1

Values

HEX#7F2A1B
RGBrgb(127, 42, 27)
HSLhsl(9, 65%, 30%)
OKLCHoklch(41% 0.121 32.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 #7F2A1B 9.33:1 AAA Lc -95.1 Preferred for body text
Black text on #7F2A1B 2.24:1 Fails Lc 13.3 Not readable
#7F2A1B text on white 9.33:1 AAA Lc 90.7 Preferred for body text
#7F2A1B text on black 2.24:1 Fails Lc -11.6 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

    #F2D0C9

    oklch(88.4% 0.04 31.6)

  4. Step 300

    300

    #EBB0A4

    oklch(80.9% 0.072 31.7)

  5. Step 400

    400

    #DE8573

    oklch(70.7% 0.113 32.3)

  6. Step 500

    500

    #D2634F

    oklch(63% 0.145 31.8)

  7. Step 600

    600

    #BD4732

    oklch(55.5% 0.156 32.3)

  8. Step 700

    700

    #A33724

    oklch(49.1% 0.146 32.3)

  9. Step 800

    800 (this color)

    #7F2A1B

    oklch(41% 0.121 32.3)

  10. Step 900

    900

    #6B2B1F

    oklch(37.8% 0.095 32.4)

  11. Step 950

    950

    #3F1A13

    oklch(27.1% 0.06 32.2)

Export this scale for Tailwind in the Tailwind colors tool

#7F2A1B 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)#423B190.125
Deuteranopia (no green cones)#574E180.115
Tritanopia (no blue cones)#8C13270.044
Achromatopsia (no color)#4747470.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F2A1B

    #7F2A1B

    oklch(41% 0.121 32.3)

  • #005461

    #005461

    oklch(40.9% 0.072 212.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F2A1B

    #7F2A1B

    oklch(41% 0.121 32.3)

  • #7C2745

    #7C2745

    oklch(41.1% 0.12 2.3)

  • #6E3D00

    #6E3D00

    oklch(41.2% 0.094 62.4)

Open the analogous palette in the generator

Split complementary

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

  • #7F2A1B

    #7F2A1B

    oklch(41% 0.121 32.3)

  • #00574E

    #00574E

    oklch(41% 0.073 182.9)

  • #004F7B

    #004F7B

    oklch(41% 0.099 242.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F2A1B

    #7F2A1B

    oklch(41% 0.121 32.3)

  • #005A2C

    #005A2C

    oklch(41% 0.107 152.6)

  • #35428B

    #35428B

    oklch(40.9% 0.121 272.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F2A1B

    #7F2A1B

    oklch(41% 0.121 32.3)

  • #415200

    #415200

    oklch(40.9% 0.1 122.3)

  • #005461

    #005461

    oklch(40.9% 0.072 212.6)

  • #583680

    #583680

    oklch(41% 0.122 302.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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