#34271D

Closest named color: Dark Brown (#341C02). oklch(28.5% 0.026 59), rgb(52, 39, 29).

Aa

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

About this color

#34271D is a dark close to neutral grey. In OKLCH its lightness is 28%, its chroma 0.026. It has too little chroma to lean warm or cool. The nearest named color is Dark Brown (#341C02), ΔE 0.042 away. White text reads best on it, at 14.44:1.

Hue familyNeutrals
Lightnessdark (28%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameDark Brown (#341C02)
Black text1.45:1
White text14.44:1

Values

HEX#34271D
RGBrgb(52, 39, 29)
HSLhsl(26, 28%, 16%)
OKLCHoklch(28.5% 0.026 59)

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 #34271D 14.44:1 AAA Lc -104.1 Preferred for body text
Black text on #34271D 1.45:1 Fails Lc 0.0 Not readable
#34271D text on white 14.44:1 AAA Lc 101.2 Preferred for body text
#34271D text on black 1.45: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

    #EFE8E4

    oklch(93.5% 0.009 52.1)

  3. Step 200

    200

    #E2D7CE

    oklch(88.5% 0.017 61.9)

  4. Step 300

    300

    #D0BCAD

    oklch(80.8% 0.031 59.2)

  5. Step 400

    400

    #B99A82

    oklch(70.8% 0.05 59.6)

  6. Step 500

    500

    #A78063

    oklch(63% 0.064 57.9)

  7. Step 600

    600

    #92694A

    oklch(55.5% 0.069 57.8)

  8. Step 700

    700

    #7C583B

    oklch(49.2% 0.064 59.4)

  9. Step 800

    800

    #654831

    oklch(42.7% 0.053 59.1)

  10. Step 900

    900

    #523C2B

    oklch(37.6% 0.041 58.8)

  11. Step 950

    950 (this color)

    #34271D

    oklch(28.5% 0.026 59)

Export this scale for Tailwind in the Tailwind colors tool

#34271D 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)#2B281C0.018
Deuteranopia (no green cones)#2E2B1D0.017
Tritanopia (no blue cones)#3824240.020
Achromatopsia (no color)#2A2A2A0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #34271D

    #34271D

    oklch(28.5% 0.026 59)

  • #1E2C36

    #1E2C36

    oklch(28.5% 0.026 239.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #34271D

    #34271D

    oklch(28.5% 0.026 59)

  • #362523

    #362523

    oklch(28.4% 0.026 26.4)

  • #2F2A1B

    #2F2A1B

    oklch(28.6% 0.027 91.8)

Open the analogous palette in the generator

Split complementary

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

  • #34271D

    #34271D

    oklch(28.5% 0.026 59)

  • #1A2E31

    #1A2E31

    oklch(28.6% 0.026 207.8)

  • #252A37

    #252A37

    oklch(28.6% 0.025 268.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #34271D

    #34271D

    oklch(28.5% 0.026 59)

  • #1B2E2A

    #1B2E2A

    oklch(28.3% 0.026 179.6)

  • #2C2735

    #2C2735

    oklch(28.4% 0.026 301.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #34271D

    #34271D

    oklch(28.5% 0.026 59)

  • #212E23

    #212E23

    oklch(28.5% 0.027 149.1)

  • #1E2C36

    #1E2C36

    oklch(28.5% 0.026 239.9)

  • #312530

    #312530

    oklch(28.3% 0.026 329)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #34271D 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.