#54271F

Closest named color: Reddy Brown (#6E1005). oklch(33.3% 0.069 31.5), rgb(84, 39, 31).

Aa

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

About this color

#54271F is a dark, muted red. In OKLCH its lightness is 33%, its chroma 0.069 and its hue 31°. Its hue sits on the warm side of the wheel. The nearest named color is Reddy Brown (#6E1005), ΔE 0.062 away. White text reads best on it, at 12.44:1.

Hue familyReds
Lightnessdark (33%)
Chromamuted (0.069)
Temperaturewarm
Nearest nameReddy Brown (#6E1005)
Black text1.68:1
White text12.44:1

Values

HEX#54271F
RGBrgb(84, 39, 31)
HSLhsl(9, 46%, 23%)
OKLCHoklch(33.3% 0.069 31.5)

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 #54271F 12.44:1 AAA Lc -101.4 Preferred for body text
Black text on #54271F 1.68:1 Fails Lc 0.0 Not readable
#54271F text on white 12.44:1 AAA Lc 98.0 Preferred for body text
#54271F text on black 1.68: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

    #FAF4F3

    oklch(97.2% 0.007 28.8)

  2. Step 100

    100

    #F4E6E4

    oklch(93.5% 0.016 27.3)

  3. Step 200

    200

    #ECD3CE

    oklch(88.6% 0.029 31.1)

  4. Step 300

    300

    #E0B5AC

    oklch(80.9% 0.052 31.9)

  5. Step 400

    400

    #CF8D81

    oklch(70.6% 0.083 30.7)

  6. Step 500

    500

    #C17061

    oklch(63.1% 0.106 31.4)

  7. Step 600

    600

    #AC5748

    oklch(55.6% 0.115 31.4)

  8. Step 700

    700

    #944739

    oklch(49.2% 0.107 31.8)

  9. Step 800

    800

    #783A2F

    oklch(42.6% 0.089 31.5)

  10. Step 900

    900 (this color)

    #54271F

    oklch(33.3% 0.069 31.5)

  11. Step 950

    950

    #391E19

    oklch(27% 0.044 31.3)

Export this scale for Tailwind in the Tailwind colors tool

#54271F 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)#322E1E0.070
Deuteranopia (no green cones)#3D381E0.066
Tritanopia (no blue cones)#5C1F250.028
Achromatopsia (no color)#3434340.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #54271F

    #54271F

    oklch(33.3% 0.069 31.5)

  • #003E47

    #003E47

    oklch(33.4% 0.058 210.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #54271F

    #54271F

    oklch(33.3% 0.069 31.5)

  • #522534

    #522534

    oklch(33.2% 0.07 0.5)

  • #4F2D09

    #4F2D09

    oklch(33.4% 0.069 62.1)

Open the analogous palette in the generator

Split complementary

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

  • #54271F

    #54271F

    oklch(33.3% 0.069 31.5)

  • #004038

    #004038

    oklch(33.3% 0.06 181.2)

  • #0C3A56

    #0C3A56

    oklch(33.3% 0.069 240.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #54271F

    #54271F

    oklch(33.3% 0.069 31.5)

  • #164023

    #164023

    oklch(33.3% 0.069 151)

  • #293359

    #293359

    oklch(33.2% 0.069 271.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #54271F

    #54271F

    oklch(33.3% 0.069 31.5)

  • #313B0D

    #313B0D

    oklch(33.2% 0.068 120.8)

  • #003E47

    #003E47

    oklch(33.4% 0.058 210.8)

  • #3C2D54

    #3C2D54

    oklch(33.3% 0.069 300.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #54271F 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.