#331B1B

Closest named color: Dark Brown (#341C02). oklch(25.5% 0.038 20.1), rgb(51, 27, 27).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (25%)
Chromamuted (0.038)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.31:1
White text15.98:1

Values

HEX#331B1B
RGBrgb(51, 27, 27)
HSLhsl(0, 31%, 15%)
OKLCHoklch(25.5% 0.038 20.1)

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 #331B1B 15.98:1 AAA Lc -105.4 Preferred for body text
Black text on #331B1B 1.31:1 Fails Lc 0.0 Not readable
#331B1B text on white 15.98:1 AAA Lc 102.8 Preferred for body text
#331B1B 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

    #F9F4F4

    oklch(97.1% 0.005 17.2)

  2. Step 100

    100

    #F3E7E6

    oklch(93.7% 0.013 23.2)

  3. Step 200

    200

    #E9D3D2

    oklch(88.5% 0.025 20.8)

  4. Step 300

    300

    #DDB6B4

    oklch(81% 0.045 21.6)

  5. Step 400

    400

    #CA8F8E

    oklch(70.7% 0.072 20.1)

  6. Step 500

    500

    #BB7272

    oklch(63.1% 0.093 20)

  7. Step 600

    600

    #A6595A

    oklch(55.5% 0.101 20)

  8. Step 700

    700

    #8E494A

    oklch(49% 0.093 20.2)

  9. Step 800

    800

    #743C3D

    oklch(42.7% 0.079 19.8)

  10. Step 900

    900

    #5E3434

    oklch(37.8% 0.061 20.3)

  11. Step 950

    950 (this color)

    #331B1B

    oklch(25.5% 0.038 20.1)

Export this scale for Tailwind in the Tailwind colors tool

#331B1B 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)#201F1B0.040
Deuteranopia (no green cones)#26231B0.036
Tritanopia (no blue cones)#37181B0.012
Achromatopsia (no color)#2222220.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #331B1B

    #331B1B

    oklch(25.5% 0.038 20.1)

  • #06282A

    #06282A

    oklch(25.4% 0.038 200.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331B1B

    #331B1B

    oklch(25.5% 0.038 20.1)

  • #311B25

    #311B25

    oklch(25.5% 0.038 351.4)

  • #321D11

    #321D11

    oklch(25.5% 0.039 50)

Open the analogous palette in the generator

Split complementary

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

  • #331B1B

    #331B1B

    oklch(25.5% 0.038 20.1)

  • #0C2920

    #0C2920

    oklch(25.6% 0.039 169.9)

  • #0C2632

    #0C2632

    oklch(25.5% 0.039 231)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331B1B

    #331B1B

    oklch(25.5% 0.038 20.1)

  • #192715

    #192715

    oklch(25.4% 0.038 138.9)

  • #182335

    #182335

    oklch(25.5% 0.038 260)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331B1B

    #331B1B

    oklch(25.5% 0.038 20.1)

  • #24240D

    #24240D

    oklch(25.4% 0.038 108.8)

  • #06282A

    #06282A

    oklch(25.4% 0.038 200.7)

  • #221F34

    #221F34

    oklch(25.3% 0.039 289.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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