#331F1C

Closest named color: Dark Brown (#341C02). oklch(26.4% 0.032 28.8), rgb(51, 31, 28).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (26%)
Chromamuted (0.032)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.35:1
White text15.51:1

Values

HEX#331F1C
RGBrgb(51, 31, 28)
HSLhsl(8, 29%, 15%)
OKLCHoklch(26.4% 0.032 28.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 #331F1C 15.51:1 AAA Lc -105.1 Preferred for body text
Black text on #331F1C 1.35:1 Fails Lc 0.0 Not readable
#331F1C text on white 15.51:1 AAA Lc 102.4 Preferred for body text
#331F1C text on black 1.35: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

    #F9F4F3

    oklch(97.1% 0.006 31.1)

  2. Step 100

    100

    #F1E7E6

    oklch(93.6% 0.011 24.3)

  3. Step 200

    200

    #E7D4D1

    oklch(88.5% 0.022 28.3)

  4. Step 300

    300

    #D8B8B3

    oklch(80.9% 0.038 28.4)

  5. Step 400

    400

    #C4938B

    oklch(70.8% 0.061 29.2)

  6. Step 500

    500

    #B4786F

    oklch(63.2% 0.077 28.8)

  7. Step 600

    600

    #9F6057

    oklch(55.7% 0.084 28.8)

  8. Step 700

    700

    #884F47

    oklch(49.2% 0.079 28.7)

  9. Step 800

    800

    #6E413A

    oklch(42.7% 0.064 29.5)

  10. Step 900

    900

    #5A3732

    oklch(37.7% 0.051 28.6)

  11. Step 950

    950 (this color)

    #331F1C

    oklch(26.4% 0.032 28.8)

Export this scale for Tailwind in the Tailwind colors tool

#331F1C 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)#23221C0.033
Deuteranopia (no green cones)#28261C0.031
Tritanopia (no blue cones)#371C1E0.014
Achromatopsia (no color)#2424240.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #331F1C

    #331F1C

    oklch(26.4% 0.032 28.8)

  • #10292D

    #10292D

    oklch(26.3% 0.032 209.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331F1C

    #331F1C

    oklch(26.4% 0.032 28.8)

  • #321E25

    #321E25

    oklch(26.3% 0.033 357)

  • #312115

    #312115

    oklch(26.4% 0.032 57.7)

Open the analogous palette in the generator

Split complementary

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

  • #331F1C

    #331F1C

    oklch(26.4% 0.032 28.8)

  • #122A25

    #122A25

    oklch(26.4% 0.032 178.6)

  • #162733

    #162733

    oklch(26.4% 0.032 240.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331F1C

    #331F1C

    oklch(26.4% 0.032 28.8)

  • #1A291C

    #1A291C

    oklch(26.3% 0.032 148.1)

  • #1E2435

    #1E2435

    oklch(26.3% 0.033 269.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331F1C

    #331F1C

    oklch(26.4% 0.032 28.8)

  • #232715

    #232715

    oklch(26.3% 0.032 118.9)

  • #10292D

    #10292D

    oklch(26.3% 0.032 209.1)

  • #272233

    #272233

    oklch(26.5% 0.032 297.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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