#4D040F

Closest named color: Mahogany (#4A0100). oklch(27% 0.103 20.6), rgb(77, 4, 15).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (27%)
Chromamoderately saturated (0.103)
Temperaturewarm
Nearest nameMahogany (#4A0100)
Black text1.33:1
White text15.67:1

Values

HEX#4D040F
RGBrgb(77, 4, 15)
HSLhsl(351, 90%, 16%)
OKLCHoklch(27% 0.103 20.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 #4D040F 15.67:1 AAA Lc -104.3 Preferred for body text
Black text on #4D040F 1.33:1 Fails Lc 0.0 Not readable
#4D040F text on white 15.67:1 AAA Lc 101.5 Preferred for body text
#4D040F 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

    #FFF2F1

    oklch(97.1% 0.014 22.8)

  2. Step 100

    100

    #FFE2E1

    oklch(93.6% 0.032 20.1)

  3. Step 200

    200

    #FFCAC8

    oklch(88.5% 0.061 20.9)

  4. Step 300

    300

    #FFA4A3

    oklch(80.9% 0.108 20.4)

  5. Step 400

    400

    #FF676E

    oklch(70.7% 0.185 20.4)

  6. Step 500

    500

    #FC1143

    oklch(63% 0.248 20.5)

  7. Step 600

    600

    #D70035

    oklch(55.6% 0.223 20.7)

  8. Step 700

    700

    #B6002C

    oklch(49.1% 0.197 20.5)

  9. Step 800

    800

    #970023

    oklch(42.8% 0.172 20.4)

  10. Step 900

    900

    #7F001C

    oklch(37.7% 0.152 20.3)

  11. Step 950

    950 (this color)

    #4D040F

    oklch(27% 0.103 20.6)

Export this scale for Tailwind in the Tailwind colors tool

#4D040F 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)#1C190F0.114
Deuteranopia (no green cones)#2E290C0.104
Tritanopia (no blue cones)#5600090.022
Achromatopsia (no color)#2323230.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D040F

    #4D040F

    oklch(27% 0.103 20.6)

  • #002D2F

    #002D2F

    oklch(27% 0.046 199.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D040F

    #4D040F

    oklch(27% 0.103 20.6)

  • #48062D

    #48062D

    oklch(27.1% 0.103 350.6)

  • #401A00

    #401A00

    oklch(27% 0.07 51.3)

Open the analogous palette in the generator

Split complementary

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

  • #4D040F

    #4D040F

    oklch(27% 0.103 20.6)

  • #002F23

    #002F23

    oklch(27.2% 0.053 170.5)

  • #002B3C

    #002B3C

    oklch(27.1% 0.054 230.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D040F

    #4D040F

    oklch(27% 0.103 20.6)

  • #063000

    #063000

    oklch(27% 0.088 140.7)

  • #042257

    #042257

    oklch(26.9% 0.102 260.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D040F

    #4D040F

    oklch(27% 0.103 20.6)

  • #282900

    #282900

    oklch(27.1% 0.06 111.2)

  • #002D2F

    #002D2F

    oklch(27% 0.046 199.4)

  • #281854

    #281854

    oklch(27% 0.103 290)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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