#40141D

Closest named color: Mahogany (#4A0100). oklch(26.5% 0.069 10.6), rgb(64, 20, 29).

Aa

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

About this color

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

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

Values

HEX#40141D
RGBrgb(64, 20, 29)
HSLhsl(348, 52%, 16%)
OKLCHoklch(26.5% 0.069 10.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 #40141D 15.72:1 AAA Lc -105.0 Preferred for body text
Black text on #40141D 1.33:1 Fails Lc 0.0 Not readable
#40141D text on white 15.72:1 AAA Lc 102.3 Preferred for body text
#40141D 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

    #FDF3F4

    oklch(97.2% 0.011 10.3)

  2. Step 100

    100

    #F9E4E6

    oklch(93.6% 0.023 11)

  3. Step 200

    200

    #F5CDD2

    oklch(88.4% 0.046 9.6)

  4. Step 300

    300

    #F0ABB4

    oklch(80.9% 0.082 10.4)

  5. Step 400

    400

    #E57C8D

    oklch(70.7% 0.13 10.7)

  6. Step 500

    500

    #DA5571

    oklch(63% 0.167 10.4)

  7. Step 600

    600

    #C53459

    oklch(55.5% 0.181 10.7)

  8. Step 700

    700

    #AA2549

    oklch(49.1% 0.169 10.8)

  9. Step 800

    800

    #8A213C

    oklch(42.6% 0.14 10.6)

  10. Step 900

    900

    #6F2233

    oklch(37.6% 0.109 10.9)

  11. Step 950

    950 (this color)

    #40141D

    oklch(26.5% 0.069 10.6)

Export this scale for Tailwind in the Tailwind colors tool

#40141D 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)#1E1D1D0.075
Deuteranopia (no green cones)#29261C0.069
Tritanopia (no blue cones)#460E170.017
Achromatopsia (no color)#2323230.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #40141D

    #40141D

    oklch(26.5% 0.069 10.6)

  • #002C2A

    #002C2A

    oklch(26.5% 0.046 190.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40141D

    #40141D

    oklch(26.5% 0.069 10.6)

  • #3A162F

    #3A162F

    oklch(26.5% 0.068 340.6)

  • #401707

    #401707

    oklch(26.5% 0.069 40.7)

Open the analogous palette in the generator

Split complementary

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

  • #40141D

    #40141D

    oklch(26.5% 0.069 10.6)

  • #002E1B

    #002E1B

    oklch(26.6% 0.06 160.1)

  • #002A36

    #002A36

    oklch(26.4% 0.049 222.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40141D

    #40141D

    oklch(26.5% 0.069 10.6)

  • #192B02

    #192B02

    oklch(26.3% 0.068 130.5)

  • #052645

    #052645

    oklch(26.4% 0.069 250.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40141D

    #40141D

    oklch(26.5% 0.069 10.6)

  • #2B2600

    #2B2600

    oklch(26.6% 0.056 101.9)

  • #002C2A

    #002C2A

    oklch(26.5% 0.046 190.1)

  • #202046

    #202046

    oklch(26.6% 0.069 280.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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