#51271E

Closest named color: Chocolate Brown (#411900). oklch(32.8% 0.065 33.3), rgb(81, 39, 30).

Aa

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

About this color

#51271E is a dark, muted red. In OKLCH its lightness is 33%, its chroma 0.065 and its hue 33°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.061 away. White text reads best on it, at 12.65:1.

Hue familyReds
Lightnessdark (33%)
Chromamuted (0.065)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.65:1
White text12.65:1

Values

HEX#51271E
RGBrgb(81, 39, 30)
HSLhsl(11, 46%, 22%)
OKLCHoklch(32.8% 0.065 33.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 #51271E 12.65:1 AAA Lc -101.8 Preferred for body text
Black text on #51271E 1.65:1 Fails Lc 0.0 Not readable
#51271E text on white 12.65:1 AAA Lc 98.4 Preferred for body text
#51271E text on black 1.65:1 Fails Lc 0.0 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 900.

  1. Step 50

    50

    #FAF4F3

    oklch(97.2% 0.007 28.8)

  2. Step 100

    100

    #F3E7E4

    oklch(93.7% 0.014 34.3)

  3. Step 200

    200

    #EAD3CE

    oklch(88.4% 0.027 32.2)

  4. Step 300

    300

    #DEB6AD

    oklch(80.9% 0.048 32.8)

  5. Step 400

    400

    #CC8F81

    oklch(70.6% 0.078 33.4)

  6. Step 500

    500

    #BE7261

    oklch(63.1% 0.1 33.4)

  7. Step 600

    600

    #A95948

    oklch(55.5% 0.109 33.1)

  8. Step 700

    700

    #914939

    oklch(49.1% 0.101 33.7)

  9. Step 800

    800

    #763C30

    oklch(42.7% 0.084 32.9)

  10. Step 900

    900 (this color)

    #51271E

    oklch(32.8% 0.065 33.3)

  11. Step 950

    950

    #381F19

    oklch(27.1% 0.041 34.3)

Export this scale for Tailwind in the Tailwind colors tool

#51271E 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)#312D1D0.066
Deuteranopia (no green cones)#3C361D0.059
Tritanopia (no blue cones)#5920250.028
Achromatopsia (no color)#3333330.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #51271E

    #51271E

    oklch(32.8% 0.065 33.3)

  • #003C46

    #003C46

    oklch(32.7% 0.057 212.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51271E

    #51271E

    oklch(32.8% 0.065 33.3)

  • #502531

    #502531

    oklch(32.8% 0.066 3.7)

  • #4C2C0B

    #4C2C0B

    oklch(32.7% 0.065 62.1)

Open the analogous palette in the generator

Split complementary

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

  • #51271E

    #51271E

    oklch(32.8% 0.065 33.3)

  • #003E38

    #003E38

    oklch(32.7% 0.058 184.2)

  • #113853

    #113853

    oklch(32.8% 0.065 242.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51271E

    #51271E

    oklch(32.8% 0.065 33.3)

  • #153E24

    #153E24

    oklch(32.7% 0.065 153)

  • #2A3256

    #2A3256

    oklch(32.8% 0.065 272.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51271E

    #51271E

    oklch(32.8% 0.065 33.3)

  • #2E3A10

    #2E3A10

    oklch(32.7% 0.065 123.6)

  • #003C46

    #003C46

    oklch(32.7% 0.057 212.9)

  • #3C2C50

    #3C2C50

    oklch(32.8% 0.065 303.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #51271E 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.