#31181B

Closest named color: Dark Brown (#341C02). oklch(24.5% 0.04 12.8), rgb(49, 24, 27).

Aa

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

About this color

#31181B is a very dark, muted red. In OKLCH its lightness is 25%, its chroma 0.040 and its hue 13°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.044 away. White text reads best on it, at 16.44:1.

Hue familyReds
Lightnessvery dark (25%)
Chromamuted (0.040)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.27:1
White text16.44:1

Values

HEX#31181B
RGBrgb(49, 24, 27)
HSLhsl(353, 34%, 14%)
OKLCHoklch(24.5% 0.04 12.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 #31181B 16.44:1 AAA Lc -105.8 Preferred for body text
Black text on #31181B 1.27:1 Fails Lc 0.0 Not readable
#31181B text on white 16.44:1 AAA Lc 103.3 Preferred for body text
#31181B text on black 1.27: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

    #FAF4F4

    oklch(97.2% 0.006 17.3)

  2. Step 100

    100

    #F3E6E7

    oklch(93.6% 0.014 12)

  3. Step 200

    200

    #EAD2D4

    oklch(88.4% 0.027 11.9)

  4. Step 300

    300

    #DEB5B8

    oklch(81% 0.048 13.2)

  5. Step 400

    400

    #CB8D93

    oklch(70.6% 0.076 12.8)

  6. Step 500

    500

    #BD7079

    oklch(63.2% 0.098 12.7)

  7. Step 600

    600

    #A85762

    oklch(55.6% 0.106 12.6)

  8. Step 700

    700

    #904751

    oklch(49.2% 0.099 12.8)

  9. Step 800

    800

    #753B42

    oklch(42.8% 0.081 13.5)

  10. Step 900

    900

    #5F3338

    oklch(37.8% 0.064 13.3)

  11. Step 950

    950 (this color)

    #31181B

    oklch(24.5% 0.04 12.8)

Export this scale for Tailwind in the Tailwind colors tool

#31181B 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)#1D1C1B0.043
Deuteranopia (no green cones)#23211B0.040
Tritanopia (no blue cones)#3515190.011
Achromatopsia (no color)#1F1F1F0.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #31181B

    #31181B

    oklch(24.5% 0.04 12.8)

  • #022626

    #022626

    oklch(24.4% 0.04 194.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31181B

    #31181B

    oklch(24.5% 0.04 12.8)

  • #2E1826

    #2E1826

    oklch(24.5% 0.042 342)

  • #311A10

    #311A10

    oklch(24.6% 0.041 43.9)

Open the analogous palette in the generator

Split complementary

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

  • #31181B

    #31181B

    oklch(24.5% 0.04 12.8)

  • #0B261B

    #0B261B

    oklch(24.4% 0.039 164)

  • #05252E

    #05252E

    oklch(24.6% 0.04 220.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31181B

    #31181B

    oklch(24.5% 0.04 12.8)

  • #192510

    #192510

    oklch(24.7% 0.041 133)

  • #122133

    #122133

    oklch(24.4% 0.04 253.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31181B

    #31181B

    oklch(24.5% 0.04 12.8)

  • #242108

    #242108

    oklch(24.5% 0.04 102.5)

  • #022626

    #022626

    oklch(24.4% 0.04 194.9)

  • #1E1E33

    #1E1E33

    oklch(24.6% 0.04 283.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31181B 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.