#40141C

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

Aa

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

About this color

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

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

Values

HEX#40141C
RGBrgb(64, 20, 28)
HSLhsl(349, 52%, 16%)
OKLCHoklch(26.5% 0.069 12)

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 #40141C 15.73:1 AAA Lc -105.0 Preferred for body text
Black text on #40141C 1.33:1 Fails Lc 0.0 Not readable
#40141C text on white 15.73:1 AAA Lc 102.3 Preferred for body text
#40141C 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

    #F9E4E6

    oklch(93.6% 0.023 11)

  3. Step 200

    200

    #F5CED1

    oklch(88.5% 0.044 12.8)

  4. Step 300

    300

    #F0ABB3

    oklch(80.9% 0.082 11.4)

  5. Step 400

    400

    #E57C8B

    oklch(70.7% 0.13 11.9)

  6. Step 500

    500

    #DA566E

    oklch(63.1% 0.166 12.2)

  7. Step 600

    600

    #C63556

    oklch(55.7% 0.181 12.3)

  8. Step 700

    700

    #AA2547

    oklch(49.1% 0.168 11.8)

  9. Step 800

    800

    #8A223A

    oklch(42.7% 0.139 12.1)

  10. Step 900

    900

    #6F2232

    oklch(37.6% 0.109 11.7)

  11. Step 950

    950 (this color)

    #40141C

    oklch(26.5% 0.069 12)

Export this scale for Tailwind in the Tailwind colors tool

#40141C 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)#1E1D1C0.075
Deuteranopia (no green cones)#29261B0.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°).

  • #40141C

    #40141C

    oklch(26.5% 0.069 12)

  • #002C2B

    #002C2B

    oklch(26.5% 0.045 192.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40141C

    #40141C

    oklch(26.5% 0.069 12)

  • #3B152E

    #3B152E

    oklch(26.4% 0.07 342.7)

  • #401706

    #401706

    oklch(26.5% 0.07 41.6)

Open the analogous palette in the generator

Split complementary

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

  • #40141C

    #40141C

    oklch(26.5% 0.069 12)

  • #002E1C

    #002E1C

    oklch(26.6% 0.059 161.3)

  • #002A36

    #002A36

    oklch(26.4% 0.049 222.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40141C

    #40141C

    oklch(26.5% 0.069 12)

  • #182C03

    #182C03

    oklch(26.6% 0.069 132.1)

  • #062645

    #062645

    oklch(26.5% 0.068 251.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40141C

    #40141C

    oklch(26.5% 0.069 12)

  • #2B2600

    #2B2600

    oklch(26.6% 0.056 101.9)

  • #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 #40141C, closest first.

Similar named colors

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

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