#40131B

Closest named color: Deep Brown (#410200). oklch(26.3% 0.07 12.6), rgb(64, 19, 27).

Aa

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

About this color

#40131B is a dark, moderately saturated red. In OKLCH its lightness is 26%, its chroma 0.070 and its hue 13°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Brown (#410200), ΔE 0.043 away. White text reads best on it, at 15.82:1.

Hue familyReds
Lightnessdark (26%)
Chromamoderately saturated (0.070)
Temperaturewarm
Nearest nameDeep Brown (#410200)
Black text1.32:1
White text15.82:1

Values

HEX#40131B
RGBrgb(64, 19, 27)
HSLhsl(349, 54%, 16%)
OKLCHoklch(26.3% 0.07 12.6)

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 #40131B 15.82:1 AAA Lc -105.0 Preferred for body text
Black text on #40131B 1.32:1 Fails Lc 0.0 Not readable
#40131B text on white 15.82:1 AAA Lc 102.4 Preferred for body text
#40131B text on black 1.32: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

    #FDF3F3

    oklch(97.2% 0.011 17.3)

  2. Step 100

    100

    #FAE4E5

    oklch(93.7% 0.024 14.4)

  3. Step 200

    200

    #F6CDD1

    oklch(88.4% 0.047 11.4)

  4. Step 300

    300

    #F1ABB2

    oklch(80.9% 0.083 12.5)

  5. Step 400

    400

    #E77B89

    oklch(70.7% 0.134 12.9)

  6. Step 500

    500

    #DC546C

    oklch(63.1% 0.17 12.8)

  7. Step 600

    600

    #C73254

    oklch(55.6% 0.185 12.8)

  8. Step 700

    700

    #AC2245

    oklch(49.2% 0.173 12.5)

  9. Step 800

    800

    #8B2039

    oklch(42.7% 0.142 12.4)

  10. Step 900

    900

    #702131

    oklch(37.6% 0.111 12.3)

  11. Step 950

    950 (this color)

    #40131B

    oklch(26.3% 0.07 12.6)

Export this scale for Tailwind in the Tailwind colors tool

#40131B 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)#1D1D1B0.078
Deuteranopia (no green cones)#29261A0.071
Tritanopia (no blue cones)#460C160.017
Achromatopsia (no color)#2222220.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #40131B

    #40131B

    oklch(26.3% 0.07 12.6)

  • #002B2A

    #002B2A

    oklch(26.1% 0.045 192.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40131B

    #40131B

    oklch(26.3% 0.07 12.6)

  • #3B142E

    #3B142E

    oklch(26.3% 0.072 342.4)

  • #3F1604

    #3F1604

    oklch(26.1% 0.07 42.7)

Open the analogous palette in the generator

Split complementary

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

  • #40131B

    #40131B

    oklch(26.3% 0.07 12.6)

  • #002D1C

    #002D1C

    oklch(26.3% 0.057 162.3)

  • #002A36

    #002A36

    oklch(26.4% 0.049 222.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40131B

    #40131B

    oklch(26.3% 0.07 12.6)

  • #172B02

    #172B02

    oklch(26.2% 0.07 132.1)

  • #062545

    #062545

    oklch(26.2% 0.07 252.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40131B

    #40131B

    oklch(26.3% 0.07 12.6)

  • #2A2500

    #2A2500

    oklch(26.2% 0.055 101.8)

  • #002B2A

    #002B2A

    oklch(26.1% 0.045 192.4)

  • #201F45

    #201F45

    oklch(26.3% 0.069 281.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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