#34271B

Closest named color: Dark Brown (#341C02). oklch(28.4% 0.028 64), rgb(52, 39, 27).

Aa

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

About this color

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

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

Values

HEX#34271B
RGBrgb(52, 39, 27)
HSLhsl(29, 32%, 15%)
OKLCHoklch(28.4% 0.028 64)

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

    #F8F5F2

    oklch(97.2% 0.005 67.8)

  2. Step 100

    100

    #EFE9E3

    oklch(93.7% 0.01 67.7)

  3. Step 200

    200

    #E2D7CD

    oklch(88.5% 0.018 64.9)

  4. Step 300

    300

    #D1BDAB

    oklch(81% 0.034 64.3)

  5. Step 400

    400

    #B99A7E

    oklch(70.7% 0.054 63.9)

  6. Step 500

    500

    #A7815D

    oklch(63.1% 0.069 64.5)

  7. Step 600

    600

    #926A43

    oklch(55.6% 0.075 64.5)

  8. Step 700

    700

    #7C5835

    oklch(49.1% 0.069 64.2)

  9. Step 800

    800

    #65482C

    oklch(42.7% 0.058 64.3)

  10. Step 900

    900

    #533C28

    oklch(37.7% 0.045 61.8)

  11. Step 950

    950 (this color)

    #34271B

    oklch(28.4% 0.028 64)

Export this scale for Tailwind in the Tailwind colors tool

#34271B 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)#2B281A0.018
Deuteranopia (no green cones)#2E2B1B0.017
Tritanopia (no blue cones)#3824240.023
Achromatopsia (no color)#2929290.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #34271B

    #34271B

    oklch(28.4% 0.028 64)

  • #1E2C37

    #1E2C37

    oklch(28.6% 0.028 242.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #34271B

    #34271B

    oklch(28.4% 0.028 64)

  • #372521

    #372521

    oklch(28.5% 0.029 32.9)

  • #2E2A19

    #2E2A19

    oklch(28.4% 0.029 96.5)

Open the analogous palette in the generator

Split complementary

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

  • #34271B

    #34271B

    oklch(28.4% 0.028 64)

  • #192E33

    #192E33

    oklch(28.6% 0.028 214.6)

  • #252938

    #252938

    oklch(28.4% 0.028 272.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #34271B

    #34271B

    oklch(28.4% 0.028 64)

  • #192F2B

    #192F2B

    oklch(28.5% 0.029 181.3)

  • #2D2636

    #2D2636

    oklch(28.3% 0.03 304.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #34271B

    #34271B

    oklch(28.4% 0.028 64)

  • #1F2E23

    #1F2E23

    oklch(28.4% 0.028 152.6)

  • #1E2C37

    #1E2C37

    oklch(28.6% 0.028 242.6)

  • #332530

    #332530

    oklch(28.5% 0.028 334)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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