#331A12

Closest named color: Dark Brown (#341C02). oklch(25% 0.043 38.5), rgb(51, 26, 18).

Aa

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

About this color

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

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

Values

HEX#331A12
RGBrgb(51, 26, 18)
HSLhsl(15, 48%, 14%)
OKLCHoklch(25% 0.043 38.5)

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 #331A12 16.18:1 AAA Lc -105.6 Preferred for body text
Black text on #331A12 1.29:1 Fails Lc 0.0 Not readable
#331A12 text on white 16.18:1 AAA Lc 103.0 Preferred for body text
#331A12 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

    #FAF4F2

    oklch(97.1% 0.007 39.5)

  2. Step 100

    100

    #F3E7E3

    oklch(93.6% 0.014 39.4)

  3. Step 200

    200

    #EBD3CC

    oklch(88.5% 0.029 36.9)

  4. Step 300

    300

    #DFB6A9

    oklch(80.9% 0.051 38.3)

  5. Step 400

    400

    #CD8F7C

    oklch(70.6% 0.081 37.8)

  6. Step 500

    500

    #BF725A

    oklch(63.1% 0.104 38.1)

  7. Step 600

    600

    #AA5A40

    oklch(55.7% 0.112 38.7)

  8. Step 700

    700

    #924932

    oklch(49.2% 0.105 38.2)

  9. Step 800

    800

    #763C2A

    oklch(42.6% 0.086 38)

  10. Step 900

    900

    #603426

    oklch(37.7% 0.068 38.4)

  11. Step 950

    950 (this color)

    #331A12

    oklch(25% 0.043 38.5)

Export this scale for Tailwind in the Tailwind colors tool

#331A12 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)#201D110.041
Deuteranopia (no green cones)#2623120.039
Tritanopia (no blue cones)#3816180.021
Achromatopsia (no color)#2121210.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #331A12

    #331A12

    oklch(25% 0.043 38.5)

  • #03262F

    #03262F

    oklch(24.9% 0.042 218.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331A12

    #331A12

    oklch(25% 0.043 38.5)

  • #33181D

    #33181D

    oklch(24.9% 0.044 8.9)

  • #2F1D09

    #2F1D09

    oklch(24.9% 0.042 66.5)

Open the analogous palette in the generator

Split complementary

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

  • #331A12

    #331A12

    oklch(25% 0.043 38.5)

  • #012826

    #012826

    oklch(25% 0.042 189.7)

  • #102335

    #102335

    oklch(25% 0.043 248.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331A12

    #331A12

    oklch(25% 0.043 38.5)

  • #0D281A

    #0D281A

    oklch(25.1% 0.043 158.4)

  • #1D1F36

    #1D1F36

    oklch(24.9% 0.044 278.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331A12

    #331A12

    oklch(25% 0.043 38.5)

  • #1B260E

    #1B260E

    oklch(25.1% 0.044 129.4)

  • #03262F

    #03262F

    oklch(24.9% 0.042 218.9)

  • #271C31

    #271C31

    oklch(25% 0.042 307.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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