#40151E

Closest named color: Chocolate Brown (#411900). oklch(26.7% 0.067 10), rgb(64, 21, 30).

Aa

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

About this color

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

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

Values

HEX#40151E
RGBrgb(64, 21, 30)
HSLhsl(347, 51%, 17%)
OKLCHoklch(26.7% 0.067 10)

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

    #FCF3F4

    oklch(97.1% 0.01 9.5)

  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

    #EFACB5

    oklch(81% 0.079 10.1)

  5. Step 400

    400

    #E47D8E

    oklch(70.8% 0.128 10.4)

  6. Step 500

    500

    #D85773

    oklch(63% 0.163 9.7)

  7. Step 600

    600

    #C4375B

    oklch(55.7% 0.178 10.2)

  8. Step 700

    700

    #A8274B

    oklch(49% 0.165 9.8)

  9. Step 800

    800

    #89233E

    oklch(42.7% 0.137 9.7)

  10. Step 900

    900

    #6E2334

    oklch(37.6% 0.107 10.2)

  11. Step 950

    950 (this color)

    #40151E

    oklch(26.7% 0.067 10)

Export this scale for Tailwind in the Tailwind colors tool

#40151E 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)#1E1E1E0.075
Deuteranopia (no green cones)#29271D0.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°).

  • #40151E

    #40151E

    oklch(26.7% 0.067 10)

  • #002D2B

    #002D2B

    oklch(26.8% 0.046 190.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40151E

    #40151E

    oklch(26.7% 0.067 10)

  • #3A1730

    #3A1730

    oklch(26.7% 0.066 339.5)

  • #401809

    #401809

    oklch(26.7% 0.067 40.2)

Open the analogous palette in the generator

Split complementary

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

  • #40151E

    #40151E

    oklch(26.7% 0.067 10)

  • #002E1B

    #002E1B

    oklch(26.6% 0.06 160.1)

  • #002B36

    #002B36

    oklch(26.7% 0.049 219.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40151E

    #40151E

    oklch(26.7% 0.067 10)

  • #1A2C03

    #1A2C03

    oklch(26.7% 0.068 130.5)

  • #052745

    #052745

    oklch(26.7% 0.068 249.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40151E

    #40151E

    oklch(26.7% 0.067 10)

  • #2C2600

    #2C2600

    oklch(26.7% 0.056 100.3)

  • #002D2B

    #002D2B

    oklch(26.8% 0.046 190.2)

  • #202145

    #202145

    oklch(26.8% 0.066 279.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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