#40151D

Closest named color: Chocolate Brown (#411900). oklch(26.6% 0.067 11.5), rgb(64, 21, 29).

Aa

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

About this color

#40151D is a dark, muted red. In OKLCH its lightness is 27%, its chroma 0.067 and its hue 11°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.045 away. White text reads best on it, at 15.63:1.

Hue familyReds
Lightnessdark (27%)
Chromamuted (0.067)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.34:1
White text15.63:1

Values

HEX#40151D
RGBrgb(64, 21, 29)
HSLhsl(349, 51%, 17%)
OKLCHoklch(26.6% 0.067 11.5)

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 #40151D 15.63:1 AAA Lc -104.9 Preferred for body text
Black text on #40151D 1.34:1 Fails Lc 0.0 Not readable
#40151D text on white 15.63:1 AAA Lc 102.2 Preferred for body text
#40151D text on black 1.34: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

    #FCF3F3

    oklch(97.1% 0.01 17.3)

  2. Step 100

    100

    #F9E4E6

    oklch(93.6% 0.023 11)

  3. Step 200

    200

    #F5CED2

    oklch(88.6% 0.044 11)

  4. Step 300

    300

    #EFACB3

    oklch(80.9% 0.079 12)

  5. Step 400

    400

    #E47D8C

    oklch(70.7% 0.128 11.6)

  6. Step 500

    500

    #D95770

    oklch(63.1% 0.164 11.4)

  7. Step 600

    600

    #C43758

    oklch(55.6% 0.177 11.5)

  8. Step 700

    700

    #A92848

    oklch(49.2% 0.165 11.7)

  9. Step 800

    800

    #89233B

    oklch(42.6% 0.137 11.6)

  10. Step 900

    900

    #6E2333

    oklch(37.6% 0.107 11)

  11. Step 950

    950 (this color)

    #40151D

    oklch(26.6% 0.067 11.5)

Export this scale for Tailwind in the Tailwind colors tool

#40151D 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)#1E1E1D0.075
Deuteranopia (no green cones)#29271C0.069
Tritanopia (no blue cones)#460F180.017
Achromatopsia (no color)#2323230.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #40151D

    #40151D

    oklch(26.6% 0.067 11.5)

  • #002C2B

    #002C2B

    oklch(26.5% 0.045 192.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40151D

    #40151D

    oklch(26.6% 0.067 11.5)

  • #3B162F

    #3B162F

    oklch(26.6% 0.069 341.6)

  • #401808

    #401808

    oklch(26.7% 0.068 41.1)

Open the analogous palette in the generator

Split complementary

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

  • #40151D

    #40151D

    oklch(26.6% 0.067 11.5)

  • #002E1C

    #002E1C

    oklch(26.6% 0.059 161.3)

  • #002B36

    #002B36

    oklch(26.7% 0.049 219.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40151D

    #40151D

    oklch(26.6% 0.067 11.5)

  • #192C04

    #192C04

    oklch(26.7% 0.067 131.6)

  • #072645

    #072645

    oklch(26.5% 0.068 251.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40151D

    #40151D

    oklch(26.6% 0.067 11.5)

  • #2B2600

    #2B2600

    oklch(26.6% 0.056 101.9)

  • #002C2B

    #002C2B

    oklch(26.5% 0.045 192.4)

  • #212045

    #212045

    oklch(26.6% 0.067 282)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40151D 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.