#502D1F

Closest named color: Onyx (#343A40). oklch(33.8% 0.057 42.3), rgb(80, 45, 31).

Aa

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

About this color

#502D1F is a dark, muted brown. In OKLCH its lightness is 34%, its chroma 0.057 and its hue 42°. 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.09:1.

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

Values

HEX#502D1F
RGBrgb(80, 45, 31)
HSLhsl(17, 44%, 22%)
OKLCHoklch(33.8% 0.057 42.3)

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 #502D1F 12.09:1 AAA Lc -101.0 Preferred for body text
Black text on #502D1F 1.73:1 Fails Lc 0.0 Not readable
#502D1F text on white 12.09:1 AAA Lc 97.5 Preferred for body text
#502D1F 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

    #F2E7E3

    oklch(93.6% 0.013 41.2)

  3. Step 200

    200

    #E8D4CD

    oklch(88.4% 0.024 40.3)

  4. Step 300

    300

    #DAB8AB

    oklch(80.9% 0.043 42)

  5. Step 400

    400

    #C6937F

    oklch(70.7% 0.068 42.4)

  6. Step 500

    500

    #B6785F

    oklch(63.1% 0.086 42.7)

  7. Step 600

    600

    #A26045

    oklch(55.7% 0.095 42.7)

  8. Step 700

    700

    #8A4F37

    oklch(49.1% 0.088 42.6)

  9. Step 800

    800

    #70412E

    oklch(42.7% 0.072 42.5)

  10. Step 900

    900 (this color)

    #502D1F

    oklch(33.8% 0.057 42.3)

  11. Step 950

    950

    #352018

    oklch(26.8% 0.036 41.6)

Export this scale for Tailwind in the Tailwind colors tool

#502D1F 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)#36311E0.052
Deuteranopia (no green cones)#3E391F0.049
Tritanopia (no blue cones)#57272A0.031
Achromatopsia (no color)#3636360.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #502D1F

    #502D1F

    oklch(33.8% 0.057 42.3)

  • #0B3E4D

    #0B3E4D

    oklch(33.9% 0.057 222.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #502D1F

    #502D1F

    oklch(33.8% 0.057 42.3)

  • #512A2F

    #512A2F

    oklch(33.8% 0.058 12.5)

  • #493212

    #493212

    oklch(33.7% 0.057 72.6)

Open the analogous palette in the generator

Split complementary

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

  • #502D1F

    #502D1F

    oklch(33.8% 0.057 42.3)

  • #02413F

    #02413F

    oklch(33.9% 0.057 191.3)

  • #213954

    #213954

    oklch(33.8% 0.057 252.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #502D1F

    #502D1F

    oklch(33.8% 0.057 42.3)

  • #17412E

    #17412E

    oklch(33.9% 0.058 161.3)

  • #333354

    #333354

    oklch(33.7% 0.058 282.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #502D1F

    #502D1F

    oklch(33.8% 0.057 42.3)

  • #2C3E1E

    #2C3E1E

    oklch(33.9% 0.057 132.7)

  • #0B3E4D

    #0B3E4D

    oklch(33.9% 0.057 222.6)

  • #412E4D

    #412E4D

    oklch(33.7% 0.058 311.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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