#502D20

Closest named color: Onyx (#343A40). oklch(33.8% 0.056 41), rgb(80, 45, 32).

Aa

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

About this color

#502D20 is a dark, muted brown. In OKLCH its lightness is 34%, its chroma 0.056 and its hue 41°. Its hue sits on the warm side of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.069 away. White text reads best on it, at 12.08:1.

Hue familyBrowns
Lightnessdark (34%)
Chromamuted (0.056)
Temperaturewarm
Nearest nameOnyx (#343A40)
Black text1.73:1
White text12.08:1

Values

HEX#502D20
RGBrgb(80, 45, 32)
HSLhsl(16, 43%, 22%)
OKLCHoklch(33.8% 0.056 41)

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 #502D20 12.08:1 AAA Lc -101.0 Preferred for body text
Black text on #502D20 1.73:1 Fails Lc 0.0 Not readable
#502D20 text on white 12.08:1 AAA Lc 97.4 Preferred for body text
#502D20 text on black 1.73: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

    #F9F4F2

    oklch(97% 0.006 43.3)

  2. Step 100

    100

    #F2E7E4

    oklch(93.6% 0.013 35.7)

  3. Step 200

    200

    #E8D4CD

    oklch(88.4% 0.024 40.3)

  4. Step 300

    300

    #DAB8AC

    oklch(80.9% 0.043 40.4)

  5. Step 400

    400

    #C69380

    oklch(70.7% 0.068 41.3)

  6. Step 500

    500

    #B67860

    oklch(63.1% 0.086 41.9)

  7. Step 600

    600

    #A25F47

    oklch(55.6% 0.095 40.4)

  8. Step 700

    700

    #8A4F38

    oklch(49.2% 0.087 41.8)

  9. Step 800

    800

    #70412F

    oklch(42.7% 0.072 41.5)

  10. Step 900

    900 (this color)

    #502D20

    oklch(33.8% 0.056 41)

  11. Step 950

    950

    #352019

    oklch(26.8% 0.035 39.2)

Export this scale for Tailwind in the Tailwind colors tool

#502D20 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)#36311F0.052
Deuteranopia (no green cones)#3E39200.049
Tritanopia (no blue cones)#57272A0.030
Achromatopsia (no color)#3636360.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #502D20

    #502D20

    oklch(33.8% 0.056 41)

  • #0B3E4C

    #0B3E4C

    oklch(33.9% 0.056 221)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #502D20

    #502D20

    oklch(33.8% 0.056 41)

  • #502B30

    #502B30

    oklch(33.8% 0.055 11.8)

  • #4A3213

    #4A3213

    oklch(33.8% 0.057 70.6)

Open the analogous palette in the generator

Split complementary

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

  • #502D20

    #502D20

    oklch(33.8% 0.056 41)

  • #04413E

    #04413E

    oklch(33.9% 0.057 189.5)

  • #203954

    #203954

    oklch(33.8% 0.057 251.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #502D20

    #502D20

    oklch(33.8% 0.056 41)

  • #18402E

    #18402E

    oklch(33.7% 0.056 161.7)

  • #323454

    #323454

    oklch(33.9% 0.056 280.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #502D20

    #502D20

    oklch(33.8% 0.056 41)

  • #2D3D1D

    #2D3D1D

    oklch(33.7% 0.056 130.7)

  • #0B3E4C

    #0B3E4C

    oklch(33.9% 0.056 221)

  • #412F4D

    #412F4D

    oklch(33.9% 0.056 311.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #502D20 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.