#38171D

Closest named color: Chocolate Brown (#411900). oklch(25.6% 0.053 10.1), rgb(56, 23, 29).

Aa

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

About this color

#38171D is a dark, muted red. In OKLCH its lightness is 26%, its chroma 0.053 and its hue 10°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.048 away. White text reads best on it, at 16.04:1.

Hue familyReds
Lightnessdark (26%)
Chromamuted (0.053)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.30:1
White text16.04:1

Values

HEX#38171D
RGBrgb(56, 23, 29)
HSLhsl(349, 42%, 15%)
OKLCHoklch(25.6% 0.053 10.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 #38171D 16.04:1 AAA Lc -105.4 Preferred for body text
Black text on #38171D 1.30:1 Fails Lc 0.0 Not readable
#38171D text on white 16.04:1 AAA Lc 102.8 Preferred for body text
#38171D text on black 1.30: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

    #F6E5E7

    oklch(93.6% 0.019 9.3)

  3. Step 200

    200

    #EFD0D4

    oklch(88.5% 0.035 9)

  4. Step 300

    300

    #E6B0B7

    oklch(80.8% 0.064 9.9)

  5. Step 400

    400

    #D78692

    oklch(70.8% 0.1 10.3)

  6. Step 500

    500

    #CA6577

    oklch(63.1% 0.129 10.3)

  7. Step 600

    600

    #B54A60

    oklch(55.6% 0.14 10.2)

  8. Step 700

    700

    #9B3B50

    oklch(49.1% 0.129 9.8)

  9. Step 800

    800

    #7E3141

    oklch(42.6% 0.108 10.1)

  10. Step 900

    900

    #662C37

    oklch(37.7% 0.084 10.2)

  11. Step 950

    950 (this color)

    #38171D

    oklch(25.6% 0.053 10.1)

Export this scale for Tailwind in the Tailwind colors tool

#38171D 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)#1D1D1D0.058
Deuteranopia (no green cones)#26241C0.054
Tritanopia (no blue cones)#3D13190.014
Achromatopsia (no color)#2121210.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #38171D

    #38171D

    oklch(25.6% 0.053 10.1)

  • #002A28

    #002A28

    oklch(25.7% 0.044 189.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38171D

    #38171D

    oklch(25.6% 0.053 10.1)

  • #33182B

    #33182B

    oklch(25.5% 0.052 339.3)

  • #38190E

    #38190E

    oklch(25.6% 0.053 40)

Open the analogous palette in the generator

Split complementary

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

  • #38171D

    #38171D

    oklch(25.6% 0.053 10.1)

  • #042B1A

    #042B1A

    oklch(25.7% 0.054 159.9)

  • #002832

    #002832

    oklch(25.6% 0.046 218.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38171D

    #38171D

    oklch(25.6% 0.053 10.1)

  • #1A280A

    #1A280A

    oklch(25.6% 0.053 130.4)

  • #0D243B

    #0D243B

    oklch(25.5% 0.052 250.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38171D

    #38171D

    oklch(25.6% 0.053 10.1)

  • #292300

    #292300

    oklch(25.5% 0.053 99.7)

  • #002A28

    #002A28

    oklch(25.7% 0.044 189.9)

  • #1E1F3C

    #1E1F3C

    oklch(25.4% 0.054 280.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #38171D 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.