#5B270C

Closest named color: Reddy Brown (#6E1005). oklch(34.2% 0.085 44.9), rgb(91, 39, 12).

Aa

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

About this color

#5B270C is a dark, moderately saturated brown. In OKLCH its lightness is 34%, its chroma 0.085 and its hue 45°. Its hue sits on the warm side of the wheel. The nearest named color is Reddy Brown (#6E1005), ΔE 0.051 away. White text reads best on it, at 12.06:1.

Hue familyBrowns
Lightnessdark (34%)
Chromamoderately saturated (0.085)
Temperaturewarm
Nearest nameReddy Brown (#6E1005)
Black text1.74:1
White text12.06:1

Values

HEX#5B270C
RGBrgb(91, 39, 12)
HSLhsl(21, 77%, 20%)
OKLCHoklch(34.2% 0.085 44.9)

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 #5B270C 12.06:1 AAA Lc -100.7 Preferred for body text
Black text on #5B270C 1.74:1 Fails Lc 0.0 Not readable
#5B270C text on white 12.06:1 AAA Lc 97.1 Preferred for body text
#5B270C text on black 1.74: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 900.

  1. Step 50

    50

    #FBF4F1

    oklch(97.2% 0.009 44.9)

  2. Step 100

    100

    #F5E6E0

    oklch(93.5% 0.018 43.2)

  3. Step 200

    200

    #EED2C6

    oklch(88.4% 0.035 44.6)

  4. Step 300

    300

    #E5B49F

    oklch(80.9% 0.064 44.3)

  5. Step 400

    400

    #D68C6A

    oklch(70.8% 0.102 45.3)

  6. Step 500

    500

    #C96D41

    oklch(63.1% 0.13 45.1)

  7. Step 600

    600

    #B4521E

    oklch(55.5% 0.142 44.9)

  8. Step 700

    700

    #9B4210

    oklch(49.1% 0.132 44.7)

  9. Step 800

    800

    #7E3712

    oklch(42.7% 0.109 44.6)

  10. Step 900

    900 (this color)

    #5B270C

    oklch(34.2% 0.085 44.9)

  11. Step 950

    950

    #3C1D0E

    oklch(27.1% 0.055 45.4)

Export this scale for Tailwind in the Tailwind colors tool

#5B270C 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)#362F080.078
Deuteranopia (no green cones)#423B0B0.073
Tritanopia (no blue cones)#651B220.047
Achromatopsia (no color)#3636360.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B270C

    #5B270C

    oklch(34.2% 0.085 44.9)

  • #003F51

    #003F51

    oklch(34.2% 0.064 224.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B270C

    #5B270C

    oklch(34.2% 0.085 44.9)

  • #5C222A

    #5C222A

    oklch(34% 0.085 14.4)

  • #4E3200

    #4E3200

    oklch(34.2% 0.072 74.9)

Open the analogous palette in the generator

Split complementary

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

  • #5B270C

    #5B270C

    oklch(34.2% 0.085 44.9)

  • #004142

    #004142

    oklch(34% 0.058 196.5)

  • #153963

    #153963

    oklch(34.2% 0.085 254.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B270C

    #5B270C

    oklch(34.2% 0.085 44.9)

  • #00442F

    #00442F

    oklch(34.3% 0.072 164.9)

  • #353062

    #353062

    oklch(34.1% 0.085 285.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B270C

    #5B270C

    oklch(34.2% 0.085 44.9)

  • #24420E

    #24420E

    oklch(34.3% 0.086 134.8)

  • #003F51

    #003F51

    oklch(34.2% 0.064 224.2)

  • #492956

    #492956

    oklch(34.2% 0.085 315.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5B270C 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.