#331B17

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

Aa

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

About this color

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

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

Values

HEX#331B17
RGBrgb(51, 27, 23)
HSLhsl(9, 38%, 15%)
OKLCHoklch(25.4% 0.039 30.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 #331B17 16.03:1 AAA Lc -105.5 Preferred for body text
Black text on #331B17 1.30:1 Fails Lc 0.0 Not readable
#331B17 text on white 16.03:1 AAA Lc 102.9 Preferred for body text
#331B17 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

    #DDB6AF

    oklch(80.9% 0.046 30)

  5. Step 400

    400

    #CB9085

    oklch(70.8% 0.074 30.8)

  6. Step 500

    500

    #BC7367

    oklch(63.1% 0.095 30)

  7. Step 600

    600

    #A75A4E

    oklch(55.5% 0.103 30)

  8. Step 700

    700

    #8F4A3F

    oklch(49.1% 0.096 30.3)

  9. Step 800

    800

    #743D34

    oklch(42.7% 0.079 30.4)

  10. Step 900

    900

    #5E342D

    oklch(37.6% 0.062 30.3)

  11. Step 950

    950 (this color)

    #331B17

    oklch(25.4% 0.039 30.2)

Export this scale for Tailwind in the Tailwind colors tool

#331B17 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.040
Deuteranopia (no green cones)#2623170.036
Tritanopia (no blue cones)#38181A0.016
Achromatopsia (no color)#2121210.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #331B17

    #331B17

    oklch(25.4% 0.039 30.2)

  • #05272D

    #05272D

    oklch(25.2% 0.039 211.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331B17

    #331B17

    oklch(25.4% 0.039 30.2)

  • #321A22

    #321A22

    oklch(25.4% 0.04 358.9)

  • #301E0E

    #301E0E

    oklch(25.4% 0.039 61.3)

Open the analogous palette in the generator

Split complementary

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

  • #331B17

    #331B17

    oklch(25.4% 0.039 30.2)

  • #082923

    #082923

    oklch(25.5% 0.04 178.6)

  • #0F2533

    #0F2533

    oklch(25.4% 0.039 238.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331B17

    #331B17

    oklch(25.4% 0.039 30.2)

  • #142818

    #142818

    oklch(25.4% 0.04 149.3)

  • #1B2135

    #1B2135

    oklch(25.2% 0.039 270.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331B17

    #331B17

    oklch(25.4% 0.039 30.2)

  • #20250F

    #20250F

    oklch(25.3% 0.038 119.7)

  • #05272D

    #05272D

    oklch(25.2% 0.039 211.8)

  • #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 #331B17, closest first.

Similar named colors

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

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