#331A17

Closest named color: Dark Brown (#341C02). oklch(25.1% 0.041 27.6), rgb(51, 26, 23).

Aa

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

About this color

#331A17 is a dark, muted red. In OKLCH its lightness is 25%, its chroma 0.041 and its hue 28°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.033 away. White text reads best on it, at 16.14:1.

Hue familyReds
Lightnessdark (25%)
Chromamuted (0.041)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.30:1
White text16.14:1

Values

HEX#331A17
RGBrgb(51, 26, 23)
HSLhsl(6, 38%, 15%)
OKLCHoklch(25.1% 0.041 27.6)

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 #331A17 16.14:1 AAA Lc -105.5 Preferred for body text
Black text on #331A17 1.30:1 Fails Lc 0.0 Not readable
#331A17 text on white 16.14:1 AAA Lc 103.0 Preferred for body text
#331A17 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

    #FAF4F3

    oklch(97.2% 0.007 28.8)

  2. Step 100

    100

    #F3E7E5

    oklch(93.7% 0.013 28.9)

  3. Step 200

    200

    #EAD3CF

    oklch(88.5% 0.026 29.4)

  4. Step 300

    300

    #DEB5B0

    oklch(80.8% 0.048 26.3)

  5. Step 400

    400

    #CC8E86

    oklch(70.6% 0.077 27.4)

  6. Step 500

    500

    #BE7168

    oklch(63.1% 0.099 27.3)

  7. Step 600

    600

    #A95950

    oklch(55.7% 0.106 27.7)

  8. Step 700

    700

    #914841

    oklch(49.1% 0.1 27)

  9. Step 800

    800

    #763C35

    oklch(42.8% 0.083 28.2)

  10. Step 900

    900

    #5F342E

    oklch(37.8% 0.063 28.8)

  11. Step 950

    950 (this color)

    #331A17

    oklch(25.1% 0.041 27.6)

Export this scale for Tailwind in the Tailwind colors tool

#331A17 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)#201E170.041
Deuteranopia (no green cones)#2623170.038
Tritanopia (no blue cones)#3816190.016
Achromatopsia (no color)#2121210.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #331A17

    #331A17

    oklch(25.1% 0.041 27.6)

  • #03272C

    #03272C

    oklch(25.1% 0.04 208.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331A17

    #331A17

    oklch(25.1% 0.041 27.6)

  • #321922

    #321922

    oklch(25.1% 0.042 357.5)

  • #311D0D

    #311D0D

    oklch(25.3% 0.041 58.1)

Open the analogous palette in the generator

Split complementary

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

  • #331A17

    #331A17

    oklch(25.1% 0.041 27.6)

  • #062822

    #062822

    oklch(25.1% 0.04 178.8)

  • #0C2533

    #0C2533

    oklch(25.2% 0.041 236.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331A17

    #331A17

    oklch(25.1% 0.041 27.6)

  • #142716

    #142716

    oklch(25.1% 0.04 146.7)

  • #192136

    #192136

    oklch(25.1% 0.042 267.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331A17

    #331A17

    oklch(25.1% 0.041 27.6)

  • #20250D

    #20250D

    oklch(25.3% 0.041 119.2)

  • #03272C

    #03272C

    oklch(25.1% 0.04 208.5)

  • #241E33

    #241E33

    oklch(25.2% 0.04 296.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #331A17 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.