#38271D

Closest named color: Dark Brown (#341C02). oklch(29% 0.031 51.6), rgb(56, 39, 29).

Aa

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

About this color

#38271D is a dark, muted brown. In OKLCH its lightness is 29%, its chroma 0.031 and its hue 52°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.044 away. White text reads best on it, at 14.22:1.

Hue familyBrowns
Lightnessdark (29%)
Chromamuted (0.031)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.47:1
White text14.22:1

Values

HEX#38271D
RGBrgb(56, 39, 29)
HSLhsl(22, 32%, 17%)
OKLCHoklch(29% 0.031 51.6)

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 #38271D 14.22:1 AAA Lc -103.9 Preferred for body text
Black text on #38271D 1.47:1 Fails Lc 0.0 Not readable
#38271D text on white 14.22:1 AAA Lc 100.9 Preferred for body text
#38271D text on black 1.47: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

    #F0E8E3

    oklch(93.6% 0.011 54.5)

  3. Step 200

    200

    #E5D6CD

    oklch(88.6% 0.021 53.2)

  4. Step 300

    300

    #D5BBAB

    oklch(81% 0.037 53.6)

  5. Step 400

    400

    #BF977F

    oklch(70.7% 0.059 52.4)

  6. Step 500

    500

    #AE7D5F

    oklch(63.1% 0.075 52.4)

  7. Step 600

    600

    #9A6545

    oklch(55.6% 0.083 51.5)

  8. Step 700

    700

    #835437

    oklch(49.2% 0.076 51.8)

  9. Step 800

    800

    #6B452E

    oklch(42.8% 0.063 51.5)

  10. Step 900

    900

    #573A29

    oklch(37.8% 0.05 51.1)

  11. Step 950

    950 (this color)

    #38271D

    oklch(29% 0.031 51.6)

Export this scale for Tailwind in the Tailwind colors tool

#38271D 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)#2C291C0.024
Deuteranopia (no green cones)#302C1D0.022
Tritanopia (no blue cones)#3C24240.020
Achromatopsia (no color)#2B2B2B0.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #38271D

    #38271D

    oklch(29% 0.031 51.6)

  • #1B2E38

    #1B2E38

    oklch(29% 0.031 232.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38271D

    #38271D

    oklch(29% 0.031 51.6)

  • #392524

    #392524

    oklch(28.9% 0.031 22.3)

  • #332A19

    #332A19

    oklch(29% 0.031 82.8)

Open the analogous palette in the generator

Split complementary

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

  • #38271D

    #38271D

    oklch(29% 0.031 51.6)

  • #173032

    #173032

    oklch(29% 0.031 202.3)

  • #232C3B

    #232C3B

    oklch(29.2% 0.03 260.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38271D

    #38271D

    oklch(29% 0.031 51.6)

  • #1A3029

    #1A3029

    oklch(28.8% 0.031 171.8)

  • #2B293A

    #2B293A

    oklch(29.1% 0.031 289.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38271D

    #38271D

    oklch(29% 0.031 51.6)

  • #232F21

    #232F21

    oklch(28.9% 0.03 141)

  • #1B2E38

    #1B2E38

    oklch(29% 0.031 232.2)

  • #332635

    #332635

    oklch(29% 0.032 321.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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