#331A18

Closest named color: Dark Brown (#341C02). oklch(25.2% 0.04 25.2), rgb(51, 26, 24).

Aa

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

About this color

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

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

Values

HEX#331A18
RGBrgb(51, 26, 24)
HSLhsl(4, 36%, 15%)
OKLCHoklch(25.2% 0.04 25.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 #331A18 16.13:1 AAA Lc -105.5 Preferred for body text
Black text on #331A18 1.30:1 Fails Lc 0.0 Not readable
#331A18 text on white 16.13:1 AAA Lc 103.0 Preferred for body text
#331A18 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

    #EAD3D0

    oklch(88.5% 0.026 26.6)

  4. Step 300

    300

    #DEB5B1

    oklch(80.8% 0.048 24.7)

  5. Step 400

    400

    #CC8E88

    oklch(70.6% 0.077 25.3)

  6. Step 500

    500

    #BD716B

    oklch(63% 0.097 25)

  7. Step 600

    600

    #A95853

    oklch(55.6% 0.107 24.8)

  8. Step 700

    700

    #904843

    oklch(49% 0.098 25.4)

  9. Step 800

    800

    #753C38

    oklch(42.7% 0.081 25.2)

  10. Step 900

    900

    #5F3330

    oklch(37.6% 0.064 24.7)

  11. Step 950

    950 (this color)

    #331A18

    oklch(25.2% 0.04 25.2)

Export this scale for Tailwind in the Tailwind colors tool

#331A18 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)#1F1E180.043
Deuteranopia (no green cones)#2623180.038
Tritanopia (no blue cones)#38171A0.015
Achromatopsia (no color)#2121210.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #331A18

    #331A18

    oklch(25.2% 0.04 25.2)

  • #03272B

    #03272B

    oklch(25% 0.04 205.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331A18

    #331A18

    oklch(25.2% 0.04 25.2)

  • #311A23

    #311A23

    oklch(25.2% 0.039 355.3)

  • #311D0E

    #311D0E

    oklch(25.3% 0.04 56.6)

Open the analogous palette in the generator

Split complementary

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

  • #331A18

    #331A18

    oklch(25.2% 0.04 25.2)

  • #072821

    #072821

    oklch(25.1% 0.04 176)

  • #0C2533

    #0C2533

    oklch(25.2% 0.041 236.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331A18

    #331A18

    oklch(25.2% 0.04 25.2)

  • #152716

    #152716

    oklch(25.1% 0.04 145.5)

  • #192136

    #192136

    oklch(25.1% 0.042 267.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331A18

    #331A18

    oklch(25.2% 0.04 25.2)

  • #21240C

    #21240C

    oklch(25.1% 0.04 115.3)

  • #03272B

    #03272B

    oklch(25% 0.04 205.8)

  • #231E33

    #231E33

    oklch(25.1% 0.04 294.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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