#54271B

Closest named color: Reddy Brown (#6E1005). oklch(33.2% 0.07 35.9), rgb(84, 39, 27).

Aa

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

About this color

#54271B is a dark, moderately saturated red. In OKLCH its lightness is 33%, its chroma 0.070 and its hue 36°. Its hue sits on the warm side of the wheel. The nearest named color is Reddy Brown (#6E1005), ΔE 0.061 away. White text reads best on it, at 12.47:1.

Hue familyReds
Lightnessdark (33%)
Chromamoderately saturated (0.070)
Temperaturewarm
Nearest nameReddy Brown (#6E1005)
Black text1.68:1
White text12.47:1

Values

HEX#54271B
RGBrgb(84, 39, 27)
HSLhsl(13, 51%, 22%)
OKLCHoklch(33.2% 0.07 35.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 #54271B 12.47:1 AAA Lc -101.5 Preferred for body text
Black text on #54271B 1.68:1 Fails Lc 0.0 Not readable
#54271B text on white 12.47:1 AAA Lc 98.0 Preferred for body text
#54271B 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

    #FAF4F2

    oklch(97.1% 0.007 39.5)

  2. Step 100

    100

    #F4E7E3

    oklch(93.7% 0.015 37.9)

  3. Step 200

    200

    #ECD3CC

    oklch(88.6% 0.03 36.2)

  4. Step 300

    300

    #E0B5A9

    oklch(80.8% 0.053 36.1)

  5. Step 400

    400

    #CF8E7C

    oklch(70.7% 0.084 36.1)

  6. Step 500

    500

    #C1705B

    oklch(63% 0.108 35.4)

  7. Step 600

    600

    #AD5740

    oklch(55.6% 0.118 36)

  8. Step 700

    700

    #944732

    oklch(49.1% 0.109 36.2)

  9. Step 800

    800

    #783B2A

    oklch(42.7% 0.09 36.5)

  10. Step 900

    900 (this color)

    #54271B

    oklch(33.2% 0.07 35.9)

  11. Step 950

    950

    #391E17

    oklch(27% 0.044 35.4)

Export this scale for Tailwind in the Tailwind colors tool

#54271B 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)#332E1A0.068
Deuteranopia (no green cones)#3E381A0.064
Tritanopia (no blue cones)#5C1F240.031
Achromatopsia (no color)#3434340.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #54271B

    #54271B

    oklch(33.2% 0.07 35.9)

  • #003D49

    #003D49

    oklch(33.2% 0.059 216)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #54271B

    #54271B

    oklch(33.2% 0.07 35.9)

  • #532530

    #532530

    oklch(33.2% 0.07 6.5)

  • #4E2D04

    #4E2D04

    oklch(33.2% 0.071 65.4)

Open the analogous palette in the generator

Split complementary

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

  • #54271B

    #54271B

    oklch(33.2% 0.07 35.9)

  • #003F3A

    #003F3A

    oklch(33.1% 0.058 186)

  • #113958

    #113958

    oklch(33.3% 0.07 245.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #54271B

    #54271B

    oklch(33.2% 0.07 35.9)

  • #0E4026

    #0E4026

    oklch(33.1% 0.07 156.1)

  • #2C325A

    #2C325A

    oklch(33.2% 0.071 275.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #54271B

    #54271B

    oklch(33.2% 0.07 35.9)

  • #2D3C0F

    #2D3C0F

    oklch(33.2% 0.07 125.8)

  • #003D49

    #003D49

    oklch(33.2% 0.059 216)

  • #3F2B52

    #3F2B52

    oklch(33.1% 0.071 306.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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