#7F281F

Closest named color: Red Brown (#8B2E16). oklch(40.8% 0.122 29.3), rgb(127, 40, 31).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (41%)
Chromamoderately saturated (0.122)
Temperaturewarm
Nearest nameRed Brown (#8B2E16)
Black text2.22:1
White text9.43:1

Values

HEX#7F281F
RGBrgb(127, 40, 31)
HSLhsl(6, 61%, 31%)
OKLCHoklch(40.8% 0.122 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 #7F281F 9.43:1 AAA Lc -95.3 Preferred for body text
Black text on #7F281F 2.22:1 Fails Lc 13.0 Not readable
#7F281F text on white 9.43:1 AAA Lc 90.9 Preferred for body text
#7F281F text on black 2.22: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

    #FCF3F2

    oklch(97.1% 0.01 25.1)

  2. Step 100

    100

    #F7E5E2

    oklch(93.5% 0.02 28.9)

  3. Step 200

    200

    #F2D0CA

    oklch(88.5% 0.039 29.7)

  4. Step 300

    300

    #EBB0A6

    oklch(80.9% 0.071 29.6)

  5. Step 400

    400

    #DF8477

    oklch(70.7% 0.115 28.9)

  6. Step 500

    500

    #D36253

    oklch(63.1% 0.146 29.5)

  7. Step 600

    600

    #BE4538

    oklch(55.5% 0.158 29.2)

  8. Step 700

    700

    #A4362A

    oklch(49.2% 0.147 29.5)

  9. Step 800

    800 (this color)

    #7F281F

    oklch(40.8% 0.122 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

#7F281F 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)#403A1D0.129
Deuteranopia (no green cones)#564D1C0.118
Tritanopia (no blue cones)#8C10270.041
Achromatopsia (no color)#4646460.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F281F

    #7F281F

    oklch(40.8% 0.122 29.3)

  • #00545F

    #00545F

    oklch(40.9% 0.071 210)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F281F

    #7F281F

    oklch(40.8% 0.122 29.3)

  • #7B2648

    #7B2648

    oklch(40.9% 0.122 359.4)

  • #6F3B00

    #6F3B00

    oklch(40.9% 0.096 59.7)

Open the analogous palette in the generator

Split complementary

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

  • #7F281F

    #7F281F

    oklch(40.8% 0.122 29.3)

  • #00574B

    #00574B

    oklch(40.9% 0.075 179.2)

  • #004F76

    #004F76

    oklch(40.7% 0.093 239.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F281F

    #7F281F

    oklch(40.8% 0.122 29.3)

  • #005A24

    #005A24

    oklch(40.8% 0.114 149.3)

  • #30438B

    #30438B

    oklch(40.8% 0.122 269.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F281F

    #7F281F

    oklch(40.8% 0.122 29.3)

  • #445100

    #445100

    oklch(40.9% 0.097 119.7)

  • #00545F

    #00545F

    oklch(40.9% 0.071 210)

  • #543781

    #543781

    oklch(40.8% 0.121 299.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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