#271C0C

Closest named color: Dark Brown (#341C02). oklch(23.6% 0.032 75.5), rgb(39, 28, 12).

Aa

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

About this color

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

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

Values

HEX#271C0C
RGBrgb(39, 28, 12)
HSLhsl(36, 53%, 10%)
OKLCHoklch(23.6% 0.032 75.5)

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 #271C0C 16.69:1 AAA Lc -106.0 Preferred for body text
Black text on #271C0C 1.25:1 Fails Lc 0.0 Not readable
#271C0C text on white 16.69:1 AAA Lc 103.6 Preferred for body text
#271C0C text on black 1.25: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

    #F7F5F2

    oklch(97.1% 0.005 78.3)

  2. Step 100

    100

    #EEE9E2

    oklch(93.6% 0.011 76.6)

  3. Step 200

    200

    #E1D7CA

    oklch(88.4% 0.021 74.6)

  4. Step 300

    300

    #CFBEA6

    oklch(80.9% 0.038 76.6)

  5. Step 400

    400

    #B79C76

    oklch(70.7% 0.061 76)

  6. Step 500

    500

    #A58352

    oklch(63.1% 0.078 75.7)

  7. Step 600

    600

    #906C36

    oklch(55.6% 0.085 75.6)

  8. Step 700

    700

    #7A5A29

    oklch(49.1% 0.078 75.7)

  9. Step 800

    800

    #644A23

    oklch(42.8% 0.065 75.6)

  10. Step 900

    900

    #513E21

    oklch(37.7% 0.051 76.8)

  11. Step 950

    950 (this color)

    #271C0C

    oklch(23.6% 0.032 75.5)

Export this scale for Tailwind in the Tailwind colors tool

#271C0C 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)#201C0B0.015
Deuteranopia (no green cones)#231F0C0.013
Tritanopia (no blue cones)#2B19180.027
Achromatopsia (no color)#1E1E1E0.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #271C0C

    #271C0C

    oklch(23.6% 0.032 75.5)

  • #141F2D

    #141F2D

    oklch(23.6% 0.031 254.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271C0C

    #271C0C

    oklch(23.6% 0.032 75.5)

  • #2B1911

    #2B1911

    oklch(23.5% 0.033 44.7)

  • #201F0C

    #201F0C

    oklch(23.5% 0.032 106)

Open the analogous palette in the generator

Split complementary

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

  • #271C0C

    #271C0C

    oklch(23.6% 0.032 75.5)

  • #0B212A

    #0B212A

    oklch(23.5% 0.033 227.4)

  • #1D1C2D

    #1D1C2D

    oklch(23.6% 0.032 286.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271C0C

    #271C0C

    oklch(23.6% 0.032 75.5)

  • #082323

    #082323

    oklch(23.6% 0.032 195.2)

  • #241929

    #241929

    oklch(23.5% 0.034 315)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271C0C

    #271C0C

    oklch(23.6% 0.032 75.5)

  • #0E231B

    #0E231B

    oklch(23.6% 0.032 166.9)

  • #141F2D

    #141F2D

    oklch(23.6% 0.031 254.8)

  • #291822

    #291822

    oklch(23.6% 0.032 343.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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