#51402C

Closest named color: Charcoal Grey (#3C4142). oklch(38.4% 0.039 70.8), rgb(81, 64, 44).

Aa

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

About this color

#51402C is a dark, muted brown. In OKLCH its lightness is 38%, its chroma 0.039 and its hue 71°. Its hue sits on the warm side of the wheel. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.047 away. White text reads best on it, at 9.90:1.

Hue familyBrowns
Lightnessdark (38%)
Chromamuted (0.039)
Temperaturewarm
Nearest nameCharcoal Grey (#3C4142)
Black text2.11:1
White text9.90:1

Values

HEX#51402C
RGBrgb(81, 64, 44)
HSLhsl(32, 30%, 25%)
OKLCHoklch(38.4% 0.039 70.8)

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 #51402C 9.90:1 AAA Lc -97.1 Preferred for body text
Black text on #51402C 2.11:1 Fails Lc 11.0 Not readable
#51402C text on white 9.90:1 AAA Lc 93.0 Preferred for body text
#51402C text on black 2.11:1 Fails Lc -9.5 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

    #F7F5F3

    oklch(97.1% 0.003 67.8)

  2. Step 100

    100

    #EEE9E4

    oklch(93.7% 0.009 67.7)

  3. Step 200

    200

    #E0D8CE

    oklch(88.6% 0.016 73.7)

  4. Step 300

    300

    #CDBEAC

    oklch(80.9% 0.03 72.4)

  5. Step 400

    400

    #B49C81

    oklch(70.7% 0.047 70.2)

  6. Step 500

    500

    #A18461

    oklch(63.2% 0.061 71.6)

  7. Step 600

    600

    #8C6D48

    oklch(55.6% 0.065 70.8)

  8. Step 700

    700

    #775B39

    oklch(49.2% 0.061 71)

  9. Step 800

    800

    #614A2F

    oklch(42.7% 0.051 70.2)

  10. Step 900

    900 (this color)

    #51402C

    oklch(38.4% 0.039 70.8)

  11. Step 950

    950

    #2E2419

    oklch(26.8% 0.024 69.2)

Export this scale for Tailwind in the Tailwind colors tool

#51402C 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)#46412B0.020
Deuteranopia (no green cones)#4A452C0.019
Tritanopia (no blue cones)#573C3B0.033
Achromatopsia (no color)#4343430.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #51402C

    #51402C

    oklch(38.4% 0.039 70.8)

  • #344558

    #344558

    oklch(38.4% 0.039 251.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51402C

    #51402C

    oklch(38.4% 0.039 70.8)

  • #563D33

    #563D33

    oklch(38.5% 0.039 42.7)

  • #48442B

    #48442B

    oklch(38.4% 0.04 100.2)

Open the analogous palette in the generator

Split complementary

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

  • #51402C

    #51402C

    oklch(38.4% 0.039 70.8)

  • #2A4852

    #2A4852

    oklch(38.2% 0.04 221.2)

  • #3F4158

    #3F4158

    oklch(38.3% 0.039 280.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51402C

    #51402C

    oklch(38.4% 0.039 70.8)

  • #294A48

    #294A48

    oklch(38.3% 0.039 190.7)

  • #4A3E53

    #4A3E53

    oklch(38.5% 0.038 310.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51402C

    #51402C

    oklch(38.4% 0.039 70.8)

  • #304A3D

    #304A3D

    oklch(38.4% 0.039 162.1)

  • #344558

    #344558

    oklch(38.4% 0.039 251.6)

  • #523B4A

    #523B4A

    oklch(38.3% 0.04 339.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #51402C 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.