#271A0C

Closest named color: Dark Brown (#341C02). oklch(23% 0.032 67.2), rgb(39, 26, 12).

Aa

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

About this color

#271A0C is a very dark, muted brown. In OKLCH its lightness is 23%, its chroma 0.032 and its hue 67°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.032 away. White text reads best on it, at 16.94:1.

Hue familyBrowns
Lightnessvery dark (23%)
Chromamuted (0.032)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.23:1
White text16.94:1

Values

HEX#271A0C
RGBrgb(39, 26, 12)
HSLhsl(31, 53%, 10%)
OKLCHoklch(23% 0.032 67.2)

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 #271A0C 16.94:1 AAA Lc -106.2 Preferred for body text
Black text on #271A0C 1.23:1 Fails Lc 0.0 Not readable
#271A0C text on white 16.94:1 AAA Lc 103.8 Preferred for body text
#271A0C text on black 1.23: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 950.

  1. Step 50

    50

    #F8F5F2

    oklch(97.2% 0.005 67.8)

  2. Step 100

    100

    #EFE9E2

    oklch(93.7% 0.011 71.9)

  3. Step 200

    200

    #E3D7CB

    oklch(88.6% 0.021 67.6)

  4. Step 300

    300

    #D2BDA7

    oklch(81% 0.038 68.5)

  5. Step 400

    400

    #BA9A79

    oklch(70.7% 0.059 67.5)

  6. Step 500

    500

    #A98156

    oklch(63.2% 0.077 67.7)

  7. Step 600

    600

    #94693B

    oklch(55.5% 0.083 66.5)

  8. Step 700

    700

    #7E582D

    oklch(49.2% 0.077 67.7)

  9. Step 800

    800

    #674826

    oklch(42.8% 0.065 67.1)

  10. Step 900

    900

    #543C23

    oklch(37.7% 0.051 66.4)

  11. Step 950

    950 (this color)

    #271A0C

    oklch(23% 0.032 67.2)

Export this scale for Tailwind in the Tailwind colors tool

#271A0C 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)#1E1B0B0.019
Deuteranopia (no green cones)#211E0C0.018
Tritanopia (no blue cones)#2B17170.026
Achromatopsia (no color)#1D1D1D0.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #271A0C

    #271A0C

    oklch(23% 0.032 67.2)

  • #101E2B

    #101E2B

    oklch(22.9% 0.032 247.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271A0C

    #271A0C

    oklch(23% 0.032 67.2)

  • #2A1812

    #2A1812

    oklch(23.1% 0.031 39.2)

  • #211D0B

    #211D0B

    oklch(23% 0.031 97.1)

Open the analogous palette in the generator

Split complementary

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

  • #271A0C

    #271A0C

    oklch(23% 0.032 67.2)

  • #092127

    #092127

    oklch(23.2% 0.032 216.8)

  • #191C2C

    #191C2C

    oklch(23.1% 0.031 275.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271A0C

    #271A0C

    oklch(23% 0.032 67.2)

  • #08221F

    #08221F

    oklch(23.1% 0.032 184.9)

  • #211929

    #211929

    oklch(23.1% 0.032 306.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271A0C

    #271A0C

    oklch(23% 0.032 67.2)

  • #0F2217

    #0F2217

    oklch(23.2% 0.033 157.1)

  • #101E2B

    #101E2B

    oklch(22.9% 0.032 247.6)

  • #271722

    #271722

    oklch(23% 0.032 338.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #271A0C 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.