#331B18

Closest named color: Dark Brown (#341C02). oklch(25.4% 0.039 27.8), rgb(51, 27, 24).

Aa

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

About this color

#331B18 is a dark, muted red. In OKLCH its lightness is 25%, its chroma 0.039 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.02:1.

Hue familyReds
Lightnessdark (25%)
Chromamuted (0.039)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.31:1
White text16.02:1

Values

HEX#331B18
RGBrgb(51, 27, 24)
HSLhsl(7, 36%, 15%)
OKLCHoklch(25.4% 0.039 27.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 #331B18 16.02:1 AAA Lc -105.4 Preferred for body text
Black text on #331B18 1.31:1 Fails Lc 0.0 Not readable
#331B18 text on white 16.02:1 AAA Lc 102.9 Preferred for body text
#331B18 text on black 1.31: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

    #DDB6B0

    oklch(80.9% 0.046 28.3)

  5. Step 400

    400

    #CB8F87

    oklch(70.7% 0.075 27.6)

  6. Step 500

    500

    #BC736A

    oklch(63.2% 0.094 27.6)

  7. Step 600

    600

    #A75A51

    oklch(55.6% 0.103 27.8)

  8. Step 700

    700

    #8F4A42

    oklch(49.2% 0.095 27.9)

  9. Step 800

    800

    #743D36

    oklch(42.7% 0.078 28.4)

  10. Step 900

    900

    #5E342F

    oklch(37.6% 0.062 27.6)

  11. Step 950

    950 (this color)

    #331B18

    oklch(25.4% 0.039 27.8)

Export this scale for Tailwind in the Tailwind colors tool

#331B18 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)#201E180.040
Deuteranopia (no green cones)#2623180.036
Tritanopia (no blue cones)#38181A0.015
Achromatopsia (no color)#2121210.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #331B18

    #331B18

    oklch(25.4% 0.039 27.8)

  • #05282C

    #05282C

    oklch(25.5% 0.039 206.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331B18

    #331B18

    oklch(25.4% 0.039 27.8)

  • #321A22

    #321A22

    oklch(25.4% 0.04 358.9)

  • #311E0F

    #311E0F

    oklch(25.6% 0.039 58.1)

Open the analogous palette in the generator

Split complementary

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

  • #331B18

    #331B18

    oklch(25.4% 0.039 27.8)

  • #092922

    #092922

    oklch(25.5% 0.04 175.8)

  • #0E2533

    #0E2533

    oklch(25.3% 0.039 237.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331B18

    #331B18

    oklch(25.4% 0.039 27.8)

  • #152818

    #152818

    oklch(25.5% 0.039 148.2)

  • #1A2235

    #1A2235

    oklch(25.4% 0.038 266.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331B18

    #331B18

    oklch(25.4% 0.039 27.8)

  • #21250E

    #21250E

    oklch(25.4% 0.039 117.4)

  • #05282C

    #05282C

    oklch(25.5% 0.039 206.1)

  • #251E33

    #251E33

    oklch(25.3% 0.04 298.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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