#4E040A

Closest named color: Mahogany (#4A0100). oklch(27.1% 0.104 24.2), rgb(78, 4, 10).

Aa

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

About this color

#4E040A is a dark, moderately saturated red. In OKLCH its lightness is 27%, its chroma 0.104 and its hue 24°. Its hue sits on the warm side of the wheel. The nearest named color is Mahogany (#4A0100), ΔE 0.017 away. White text reads best on it, at 15.60:1.

Hue familyReds
Lightnessdark (27%)
Chromamoderately saturated (0.104)
Temperaturewarm
Nearest nameMahogany (#4A0100)
Black text1.34:1
White text15.60:1

Values

HEX#4E040A
RGBrgb(78, 4, 10)
HSLhsl(355, 90%, 16%)
OKLCHoklch(27.1% 0.104 24.2)

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 #4E040A 15.60:1 AAA Lc -104.2 Preferred for body text
Black text on #4E040A 1.34:1 Fails Lc 0.0 Not readable
#4E040A text on white 15.60:1 AAA Lc 101.4 Preferred for body text
#4E040A 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

    #FFF2F1

    oklch(97.1% 0.014 22.8)

  2. Step 100

    100

    #FFE2DF

    oklch(93.6% 0.032 24.8)

  3. Step 200

    200

    #FFCAC6

    oklch(88.4% 0.061 23.4)

  4. Step 300

    300

    #FFA59E

    oklch(80.9% 0.108 24.6)

  5. Step 400

    400

    #FF6865

    oklch(70.7% 0.185 24.2)

  6. Step 500

    500

    #FE0D32

    oklch(63.1% 0.252 24.2)

  7. Step 600

    600

    #D80027

    oklch(55.6% 0.225 24.2)

  8. Step 700

    700

    #B7001F

    oklch(49.1% 0.199 24.3)

  9. Step 800

    800

    #970018

    oklch(42.6% 0.173 24.2)

  10. Step 900

    900

    #7F0013

    oklch(37.6% 0.152 24)

  11. Step 950

    950 (this color)

    #4E040A

    oklch(27.1% 0.104 24.2)

Export this scale for Tailwind in the Tailwind colors tool

#4E040A 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)#1D19090.115
Deuteranopia (no green cones)#2F29070.104
Tritanopia (no blue cones)#5700070.021
Achromatopsia (no color)#2424240.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E040A

    #4E040A

    oklch(27.1% 0.104 24.2)

  • #002D31

    #002D31

    oklch(27.1% 0.046 204.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E040A

    #4E040A

    oklch(27.1% 0.104 24.2)

  • #49052A

    #49052A

    oklch(27% 0.103 353.9)

  • #3F1C00

    #3F1C00

    oklch(27.2% 0.067 55)

Open the analogous palette in the generator

Split complementary

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

  • #4E040A

    #4E040A

    oklch(27.1% 0.104 24.2)

  • #002F25

    #002F25

    oklch(27.2% 0.052 174)

  • #002B3E

    #002B3E

    oklch(27.2% 0.056 233.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E040A

    #4E040A

    oklch(27.1% 0.104 24.2)

  • #003104

    #003104

    oklch(27.2% 0.088 144)

  • #0B2159

    #0B2159

    oklch(27.2% 0.105 264.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E040A

    #4E040A

    oklch(27.1% 0.104 24.2)

  • #272A00

    #272A00

    oklch(27.3% 0.061 113.9)

  • #002D31

    #002D31

    oklch(27.1% 0.046 204.1)

  • #2C1753

    #2C1753

    oklch(27.2% 0.103 294.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4E040A 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.