#7F281B

Closest named color: Red Brown (#8B2E16). oklch(40.8% 0.123 31.3), rgb(127, 40, 27).

Aa

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

About this color

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

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

Values

HEX#7F281B
RGBrgb(127, 40, 27)
HSLhsl(8, 65%, 30%)
OKLCHoklch(40.8% 0.123 31.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 #7F281B 9.45:1 AAA Lc -95.3 Preferred for body text
Black text on #7F281B 2.22:1 Fails Lc 13.0 Not readable
#7F281B text on white 9.45:1 AAA Lc 91.0 Preferred for body text
#7F281B 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

    #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

    #DF8474

    oklch(70.7% 0.115 30.8)

  6. Step 500

    500

    #D3624F

    oklch(63% 0.147 31.3)

  7. Step 600

    600

    #BF4533

    oklch(55.6% 0.16 31)

  8. Step 700

    700

    #A43625

    oklch(49.1% 0.148 31.5)

  9. Step 800

    800 (this color)

    #7F281B

    oklch(40.8% 0.123 31.3)

  10. Step 900

    900

    #6B2A20

    oklch(37.6% 0.095 30.9)

  11. Step 950

    950

    #3F1913

    oklch(26.9% 0.061 30.7)

Export this scale for Tailwind in the Tailwind colors tool

#7F281B 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)#413A190.128
Deuteranopia (no green cones)#564D180.118
Tritanopia (no blue cones)#8C0F260.044
Achromatopsia (no color)#4646460.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F281B

    #7F281B

    oklch(40.8% 0.123 31.3)

  • #005460

    #005460

    oklch(40.9% 0.071 211.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F281B

    #7F281B

    oklch(40.8% 0.123 31.3)

  • #7C2545

    #7C2545

    oklch(40.8% 0.123 1.7)

  • #6D3C00

    #6D3C00

    oklch(40.8% 0.094 62)

Open the analogous palette in the generator

Split complementary

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

  • #7F281B

    #7F281B

    oklch(40.8% 0.123 31.3)

  • #00564C

    #00564C

    oklch(40.6% 0.073 181.5)

  • #004F78

    #004F78

    oklch(40.9% 0.095 240.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F281B

    #7F281B

    oklch(40.8% 0.123 31.3)

  • #005A29

    #005A29

    oklch(40.9% 0.11 151.2)

  • #33428B

    #33428B

    oklch(40.8% 0.122 271.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F281B

    #7F281B

    oklch(40.8% 0.123 31.3)

  • #425100

    #425100

    oklch(40.7% 0.098 121.1)

  • #005460

    #005460

    oklch(40.9% 0.071 211.3)

  • #563680

    #563680

    oklch(40.8% 0.121 301.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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