#38171F

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

Aa

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

About this color

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

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

Values

HEX#38171F
RGBrgb(56, 23, 31)
HSLhsl(345, 42%, 15%)
OKLCHoklch(25.6% 0.053 6.2)

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 #38171F 16.02:1 AAA Lc -105.4 Preferred for body text
Black text on #38171F 1.31:1 Fails Lc 0.0 Not readable
#38171F text on white 16.02:1 AAA Lc 102.8 Preferred for body text
#38171F 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

    #F6E5E8

    oklch(93.6% 0.019 5.3)

  3. Step 200

    200

    #EFD0D5

    oklch(88.5% 0.035 6.8)

  4. Step 300

    300

    #E5B0BA

    oklch(80.8% 0.063 6)

  5. Step 400

    400

    #D68597

    oklch(70.6% 0.101 5.6)

  6. Step 500

    500

    #C9657D

    oklch(63.1% 0.129 6.3)

  7. Step 600

    600

    #B44A66

    oklch(55.6% 0.14 6.4)

  8. Step 700

    700

    #9B3A55

    oklch(49.1% 0.131 6.1)

  9. Step 800

    800

    #7E3146

    oklch(42.8% 0.108 5.9)

  10. Step 900

    900

    #662C3A

    oklch(37.8% 0.085 6.9)

  11. Step 950

    950 (this color)

    #38171F

    oklch(25.6% 0.053 6.2)

Export this scale for Tailwind in the Tailwind colors tool

#38171F 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)#1D1D1F0.058
Deuteranopia (no green cones)#25241E0.055
Tritanopia (no blue cones)#3D141A0.014
Achromatopsia (no color)#2121210.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #38171F

    #38171F

    oklch(25.6% 0.053 6.2)

  • #002A26

    #002A26

    oklch(25.6% 0.045 185.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38171F

    #38171F

    oklch(25.6% 0.053 6.2)

  • #33182D

    #33182D

    oklch(25.6% 0.054 335.9)

  • #391910

    #391910

    oklch(25.8% 0.054 36.6)

Open the analogous palette in the generator

Split complementary

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

  • #38171F

    #38171F

    oklch(25.6% 0.053 6.2)

  • #072B18

    #072B18

    oklch(25.8% 0.054 156)

  • #002831

    #002831

    oklch(25.5% 0.046 216.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38171F

    #38171F

    oklch(25.6% 0.053 6.2)

  • #1D2808

    #1D2808

    oklch(25.8% 0.054 126.1)

  • #09253B

    #09253B

    oklch(25.6% 0.053 245.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38171F

    #38171F

    oklch(25.6% 0.053 6.2)

  • #2B2300

    #2B2300

    oklch(25.8% 0.053 96.3)

  • #002A26

    #002A26

    oklch(25.6% 0.045 185.2)

  • #1C203C

    #1C203C

    oklch(25.5% 0.053 275.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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