#271A12

Closest named color: Dark Brown (#341C02). oklch(23.2% 0.025 52.7), rgb(39, 26, 18).

Aa

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

About this color

#271A12 is a very dark close to neutral grey. In OKLCH its lightness is 23%, its chroma 0.025. It has too little chroma to lean warm or cool. The nearest named color is Dark Brown (#341C02), ΔE 0.037 away. White text reads best on it, at 16.89:1.

Hue familyNeutrals
Lightnessvery dark (23%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameDark Brown (#341C02)
Black text1.24:1
White text16.89:1

Values

HEX#271A12
RGBrgb(39, 26, 18)
HSLhsl(23, 37%, 11%)
OKLCHoklch(23.2% 0.025 52.7)

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 #271A12 16.89:1 AAA Lc -106.2 Preferred for body text
Black text on #271A12 1.24:1 Fails Lc 0.0 Not readable
#271A12 text on white 16.89:1 AAA Lc 103.8 Preferred for body text
#271A12 text on black 1.24: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

    #F8F5F3

    oklch(97.2% 0.004 56.4)

  2. Step 100

    100

    #EFE8E5

    oklch(93.6% 0.009 44.9)

  3. Step 200

    200

    #E3D6CF

    oklch(88.5% 0.017 50.4)

  4. Step 300

    300

    #D1BCAF

    oklch(80.9% 0.03 53.9)

  5. Step 400

    400

    #BA9985

    oklch(70.8% 0.049 52.9)

  6. Step 500

    500

    #A87F67

    oklch(63% 0.062 51.6)

  7. Step 600

    600

    #93684E

    oklch(55.5% 0.067 52)

  8. Step 700

    700

    #7D573F

    oklch(49.2% 0.062 53)

  9. Step 800

    800

    #664734

    oklch(42.7% 0.052 52.4)

  10. Step 900

    900

    #533C2D

    oklch(37.8% 0.041 54.2)

  11. Step 950

    950 (this color)

    #271A12

    oklch(23.2% 0.025 52.7)

Export this scale for Tailwind in the Tailwind colors tool

#271A12 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)#1E1B110.019
Deuteranopia (no green cones)#211E120.018
Tritanopia (no blue cones)#2A18180.016
Achromatopsia (no color)#1D1D1D0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #271A12

    #271A12

    oklch(23.2% 0.025 52.7)

  • #111F27

    #111F27

    oklch(23% 0.025 234.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271A12

    #271A12

    oklch(23.2% 0.025 52.7)

  • #281918

    #281918

    oklch(23.3% 0.024 23.4)

  • #231C0F

    #231C0F

    oklch(23.1% 0.025 82.3)

Open the analogous palette in the generator

Split complementary

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

  • #271A12

    #271A12

    oklch(23.2% 0.025 52.7)

  • #0D2123

    #0D2123

    oklch(23.2% 0.026 204)

  • #171D29

    #171D29

    oklch(23.1% 0.025 263.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271A12

    #271A12

    oklch(23.2% 0.025 52.7)

  • #10211C

    #10211C

    oklch(23.1% 0.025 173.3)

  • #1E1B28

    #1E1B28

    oklch(23.2% 0.025 295)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271A12

    #271A12

    oklch(23.2% 0.025 52.7)

  • #162015

    #162015

    oklch(23% 0.025 142.4)

  • #111F27

    #111F27

    oklch(23% 0.025 234.4)

  • #231924

    #231924

    oklch(23.1% 0.026 323.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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