#38170F

Closest named color: Dark Brown (#341C02). oklch(25.2% 0.055 34.8), rgb(56, 23, 15).

Aa

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

About this color

#38170F is a dark, muted red. In OKLCH its lightness is 25%, its chroma 0.055 and its hue 35°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.028 away. White text reads best on it, at 16.18:1.

Hue familyReds
Lightnessdark (25%)
Chromamuted (0.055)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.29:1
White text16.18:1

Values

HEX#38170F
RGBrgb(56, 23, 15)
HSLhsl(12, 58%, 14%)
OKLCHoklch(25.2% 0.055 34.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 #38170F 16.18:1 AAA Lc -105.5 Preferred for body text
Black text on #38170F 1.29:1 Fails Lc 0.0 Not readable
#38170F text on white 16.18:1 AAA Lc 102.9 Preferred for body text
#38170F text on black 1.29: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

    #FBF3F2

    oklch(97% 0.009 26)

  2. Step 100

    100

    #F6E6E2

    oklch(93.7% 0.018 34.3)

  3. Step 200

    200

    #F0D1C9

    oklch(88.4% 0.037 34.8)

  4. Step 300

    300

    #E7B2A5

    oklch(80.8% 0.065 34.2)

  5. Step 400

    400

    #D98874

    oklch(70.6% 0.104 34.6)

  6. Step 500

    500

    #CD6850

    oklch(63.1% 0.134 34.5)

  7. Step 600

    600

    #B84D33

    oklch(55.6% 0.145 34.9)

  8. Step 700

    700

    #9E3D26

    oklch(49% 0.135 34.7)

  9. Step 800

    800

    #803321

    oklch(42.6% 0.111 34.5)

  10. Step 900

    900

    #682E20

    oklch(37.8% 0.087 34.8)

  11. Step 950

    950 (this color)

    #38170F

    oklch(25.2% 0.055 34.8)

Export this scale for Tailwind in the Tailwind colors tool

#38170F 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)#1F1C0E0.056
Deuteranopia (no green cones)#28230E0.049
Tritanopia (no blue cones)#3E11150.024
Achromatopsia (no color)#2121210.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #38170F

    #38170F

    oklch(25.2% 0.055 34.8)

  • #00272F

    #00272F

    oklch(25.1% 0.044 214.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38170F

    #38170F

    oklch(25.2% 0.055 34.8)

  • #37151F

    #37151F

    oklch(25.1% 0.056 3.4)

  • #341C01

    #341C01

    oklch(25.3% 0.055 65.6)

Open the analogous palette in the generator

Split complementary

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

  • #38170F

    #38170F

    oklch(25.2% 0.055 34.8)

  • #002925

    #002925

    oklch(25.3% 0.045 185)

  • #06243A

    #06243A

    oklch(25.1% 0.054 244.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38170F

    #38170F

    oklch(25.2% 0.055 34.8)

  • #062A16

    #062A16

    oklch(25.3% 0.056 154.7)

  • #1A1F3C

    #1A1F3C

    oklch(25.1% 0.055 274.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38170F

    #38170F

    oklch(25.2% 0.055 34.8)

  • #1C2605

    #1C2605

    oklch(25.1% 0.055 124.6)

  • #00272F

    #00272F

    oklch(25.1% 0.044 214.9)

  • #281B37

    #281B37

    oklch(25.3% 0.054 304.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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