#5A1F03

Closest named color: Reddy Brown (#6E1005). oklch(32.6% 0.094 42.1), rgb(90, 31, 3).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (33%)
Chromamoderately saturated (0.094)
Temperaturewarm
Nearest nameReddy Brown (#6E1005)
Black text1.63:1
White text12.86:1

Values

HEX#5A1F03
RGBrgb(90, 31, 3)
HSLhsl(19, 94%, 18%)
OKLCHoklch(32.6% 0.094 42.1)

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 #5A1F03 12.86:1 AAA Lc -101.8 Preferred for body text
Black text on #5A1F03 1.63:1 Fails Lc 0.0 Not readable
#5A1F03 text on white 12.86:1 AAA Lc 98.3 Preferred for body text
#5A1F03 text on black 1.63: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

    #F7E6DF

    oklch(93.7% 0.021 43.9)

  3. Step 200

    200

    #F1D1C5

    oklch(88.4% 0.04 41.7)

  4. Step 300

    300

    #E9B29D

    oklch(80.9% 0.071 41.9)

  5. Step 400

    400

    #DC8867

    oklch(70.7% 0.113 42.1)

  6. Step 500

    500

    #D0673C

    oklch(63.1% 0.145 41.9)

  7. Step 600

    600

    #BB4B14

    oklch(55.5% 0.157 42.1)

  8. Step 700

    700

    #A13B03

    oklch(49% 0.146 41.9)

  9. Step 800

    800

    #83320A

    oklch(42.7% 0.121 42.1)

  10. Step 900

    900 (this color)

    #5A1F03

    oklch(32.6% 0.094 42.1)

  11. Step 950

    950

    #3E1B0D

    oklch(27% 0.06 41.7)

Export this scale for Tailwind in the Tailwind colors tool

#5A1F03 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)#3029000.092
Deuteranopia (no green cones)#3F37010.083
Tritanopia (no blue cones)#640F1A0.046
Achromatopsia (no color)#3232320.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A1F03

    #5A1F03

    oklch(32.6% 0.094 42.1)

  • #003B4A

    #003B4A

    oklch(32.6% 0.06 221.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A1F03

    #5A1F03

    oklch(32.6% 0.094 42.1)

  • #5B1A27

    #5B1A27

    oklch(32.7% 0.095 12.3)

  • #4A2D00

    #4A2D00

    oklch(32.5% 0.07 71.4)

Open the analogous palette in the generator

Split complementary

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

  • #5A1F03

    #5A1F03

    oklch(32.6% 0.094 42.1)

  • #003D3C

    #003D3C

    oklch(32.6% 0.056 192.9)

  • #033562

    #033562

    oklch(32.6% 0.093 251.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A1F03

    #5A1F03

    oklch(32.6% 0.094 42.1)

  • #003F29

    #003F29

    oklch(32.5% 0.071 162.5)

  • #2E2B62

    #2E2B62

    oklch(32.4% 0.094 282.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A1F03

    #5A1F03

    oklch(32.6% 0.094 42.1)

  • #223D00

    #223D00

    oklch(32.6% 0.09 131.8)

  • #003B4A

    #003B4A

    oklch(32.6% 0.06 221.2)

  • #442357

    #442357

    oklch(32.6% 0.095 311.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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