#3A171C

Closest named color: Chocolate Brown (#411900). oklch(25.9% 0.056 12.9), rgb(58, 23, 28).

Aa

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

About this color

#3A171C is a dark, muted red. In OKLCH its lightness is 26%, its chroma 0.056 and its hue 13°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.044 away. White text reads best on it, at 15.91:1.

Hue familyReds
Lightnessdark (26%)
Chromamuted (0.056)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.31:1
White text15.91:1

Values

HEX#3A171C
RGBrgb(58, 23, 28)
HSLhsl(351, 43%, 16%)
OKLCHoklch(25.9% 0.056 12.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 #3A171C 15.91:1 AAA Lc -105.3 Preferred for body text
Black text on #3A171C 1.31:1 Fails Lc 0.0 Not readable
#3A171C text on white 15.91:1 AAA Lc 102.6 Preferred for body text
#3A171C text on black 1.31: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 950.

  1. Step 50

    50

    #FBF3F4

    oklch(97.1% 0.009 8.5)

  2. Step 100

    100

    #F6E5E6

    oklch(93.6% 0.019 13.4)

  3. Step 200

    200

    #F0D0D2

    oklch(88.5% 0.036 13.6)

  4. Step 300

    300

    #E8B0B5

    oklch(81% 0.066 12.7)

  5. Step 400

    400

    #DA848E

    oklch(70.7% 0.106 12.6)

  6. Step 500

    500

    #CD6372

    oklch(63.1% 0.135 12.9)

  7. Step 600

    600

    #B8475B

    oklch(55.5% 0.147 12.5)

  8. Step 700

    700

    #9E384A

    oklch(49% 0.136 13.1)

  9. Step 800

    800

    #812F3D

    oklch(42.7% 0.113 13)

  10. Step 900

    900

    #682B34

    oklch(37.7% 0.088 13.2)

  11. Step 950

    950 (this color)

    #3A171C

    oklch(25.9% 0.056 12.9)

Export this scale for Tailwind in the Tailwind colors tool

#3A171C 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)#1E1E1C0.061
Deuteranopia (no green cones)#27251B0.057
Tritanopia (no blue cones)#3F13190.014
Achromatopsia (no color)#2222220.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A171C

    #3A171C

    oklch(25.9% 0.056 12.9)

  • #002A29

    #002A29

    oklch(25.8% 0.044 192.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A171C

    #3A171C

    oklch(25.9% 0.056 12.9)

  • #36182B

    #36182B

    oklch(26% 0.056 343)

  • #39190C

    #39190C

    oklch(25.7% 0.055 42)

Open the analogous palette in the generator

Split complementary

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

  • #3A171C

    #3A171C

    oklch(25.9% 0.056 12.9)

  • #002C1C

    #002C1C

    oklch(25.9% 0.056 163.3)

  • #002835

    #002835

    oklch(25.8% 0.049 225)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A171C

    #3A171C

    oklch(25.9% 0.056 12.9)

  • #19290B

    #19290B

    oklch(25.8% 0.055 132.6)

  • #0E253E

    #0E253E

    oklch(26% 0.055 252.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A171C

    #3A171C

    oklch(25.9% 0.056 12.9)

  • #292400

    #292400

    oklch(25.8% 0.054 101.6)

  • #002A29

    #002A29

    oklch(25.8% 0.044 192.3)

  • #201F3E

    #201F3E

    oklch(25.8% 0.057 283.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3A171C 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.