#40141B

Closest named color: Mahogany (#4A0100). oklch(26.4% 0.069 13.5), rgb(64, 20, 27).

Aa

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

About this color

#40141B is a dark, muted red. In OKLCH its lightness is 26%, its chroma 0.069 and its hue 13°. Its hue sits on the warm side of the wheel. The nearest named color is Mahogany (#4A0100), ΔE 0.043 away. White text reads best on it, at 15.74:1.

Hue familyReds
Lightnessdark (26%)
Chromamuted (0.069)
Temperaturewarm
Nearest nameMahogany (#4A0100)
Black text1.33:1
White text15.74:1

Values

HEX#40141B
RGBrgb(64, 20, 27)
HSLhsl(350, 52%, 16%)
OKLCHoklch(26.4% 0.069 13.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 #40141B 15.74:1 AAA Lc -105.0 Preferred for body text
Black text on #40141B 1.33:1 Fails Lc 0.0 Not readable
#40141B text on white 15.74:1 AAA Lc 102.3 Preferred for body text
#40141B text on black 1.33: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

    #F9E4E5

    oklch(93.6% 0.023 14.3)

  3. Step 200

    200

    #F6CED0

    oklch(88.6% 0.045 14.6)

  4. Step 300

    300

    #F0ABB1

    oklch(80.8% 0.082 13.3)

  5. Step 400

    400

    #E57C89

    oklch(70.6% 0.13 13.1)

  6. Step 500

    500

    #DB566B

    oklch(63.2% 0.167 13.7)

  7. Step 600

    600

    #C63553

    oklch(55.6% 0.181 13.7)

  8. Step 700

    700

    #AA2544

    oklch(49% 0.168 13.2)

  9. Step 800

    800

    #8A2238

    oklch(42.6% 0.139 13.4)

  10. Step 900

    900

    #6F2330

    oklch(37.7% 0.107 13.8)

  11. Step 950

    950 (this color)

    #40141B

    oklch(26.4% 0.069 13.5)

Export this scale for Tailwind in the Tailwind colors tool

#40141B 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)#1E1D1B0.075
Deuteranopia (no green cones)#29261A0.069
Tritanopia (no blue cones)#460D170.017
Achromatopsia (no color)#2323230.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #40141B

    #40141B

    oklch(26.4% 0.069 13.5)

  • #002C2B

    #002C2B

    oklch(26.5% 0.045 192.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40141B

    #40141B

    oklch(26.4% 0.069 13.5)

  • #3B152D

    #3B152D

    oklch(26.4% 0.069 344.1)

  • #3F1705

    #3F1705

    oklch(26.3% 0.069 43)

Open the analogous palette in the generator

Split complementary

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

  • #40141B

    #40141B

    oklch(26.4% 0.069 13.5)

  • #002D1D

    #002D1D

    oklch(26.3% 0.056 163.6)

  • #002A37

    #002A37

    oklch(26.5% 0.05 224.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40141B

    #40141B

    oklch(26.4% 0.069 13.5)

  • #162C04

    #162C04

    oklch(26.5% 0.069 134)

  • #082545

    #082545

    oklch(26.3% 0.069 253.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40141B

    #40141B

    oklch(26.4% 0.069 13.5)

  • #2A2600

    #2A2600

    oklch(26.5% 0.056 103.5)

  • #002C2B

    #002C2B

    oklch(26.5% 0.045 192.4)

  • #211F45

    #211F45

    oklch(26.4% 0.069 283)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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