#38171E

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

Aa

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

About this color

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

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

Values

HEX#38171E
RGBrgb(56, 23, 30)
HSLhsl(347, 42%, 15%)
OKLCHoklch(25.6% 0.053 8.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 #38171E 16.03:1 AAA Lc -105.4 Preferred for body text
Black text on #38171E 1.30:1 Fails Lc 0.0 Not readable
#38171E text on white 16.03:1 AAA Lc 102.8 Preferred for body text
#38171E 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

    #E5B0B9

    oklch(80.8% 0.063 7.2)

  5. Step 400

    400

    #D68694

    oklch(70.7% 0.099 8.6)

  6. Step 500

    500

    #C9657A

    oklch(63% 0.128 8.2)

  7. Step 600

    600

    #B44A63

    oklch(55.5% 0.139 8.2)

  8. Step 700

    700

    #9B3B52

    oklch(49.1% 0.129 8.5)

  9. Step 800

    800

    #7E3143

    oklch(42.7% 0.108 8.4)

  10. Step 900

    900

    #662C39

    oklch(37.7% 0.084 8)

  11. Step 950

    950 (this color)

    #38171E

    oklch(25.6% 0.053 8.2)

Export this scale for Tailwind in the Tailwind colors tool

#38171E 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)#1D1D1E0.058
Deuteranopia (no green cones)#26241D0.054
Tritanopia (no blue cones)#3D141A0.013
Achromatopsia (no color)#2121210.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #38171E

    #38171E

    oklch(25.6% 0.053 8.2)

  • #002A27

    #002A27

    oklch(25.7% 0.045 187.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38171E

    #38171E

    oklch(25.6% 0.053 8.2)

  • #33182C

    #33182C

    oklch(25.6% 0.053 337.6)

  • #38190F

    #38190F

    oklch(25.6% 0.053 38.5)

Open the analogous palette in the generator

Split complementary

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

  • #38171E

    #38171E

    oklch(25.6% 0.053 8.2)

  • #062B19

    #062B19

    oklch(25.8% 0.054 157.7)

  • #002832

    #002832

    oklch(25.6% 0.046 218.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38171E

    #38171E

    oklch(25.6% 0.053 8.2)

  • #1B2809

    #1B2809

    oklch(25.7% 0.054 128.9)

  • #0B253B

    #0B253B

    oklch(25.7% 0.052 247.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38171E

    #38171E

    oklch(25.6% 0.053 8.2)

  • #2A2300

    #2A2300

    oklch(25.6% 0.053 98)

  • #002A27

    #002A27

    oklch(25.7% 0.045 187.5)

  • #1D203C

    #1D203C

    oklch(25.6% 0.053 277.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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