#4E0402

Closest named color: Mahogany (#4A0100). oklch(27% 0.105 29.4), rgb(78, 4, 2).

Aa

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

About this color

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

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

Values

HEX#4E0402
RGBrgb(78, 4, 2)
HSLhsl(2, 95%, 16%)
OKLCHoklch(27% 0.105 29.4)

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

    #FFF2F0

    oklch(97.1% 0.014 28)

  2. Step 100

    100

    #FFE2DD

    oklch(93.5% 0.033 29.4)

  3. Step 200

    200

    #FFCBC2

    oklch(88.5% 0.061 29.7)

  4. Step 300

    300

    #FFA698

    oklch(81% 0.108 29.4)

  5. Step 400

    400

    #FF6A58

    oklch(70.7% 0.185 29.4)

  6. Step 500

    500

    #FF1006

    oklch(63.1% 0.255 29.4)

  7. Step 600

    600

    #D90400

    oklch(55.7% 0.227 29.4)

  8. Step 700

    700

    #B70300

    oklch(49% 0.2 29.4)

  9. Step 800

    800

    #980200

    oklch(42.8% 0.174 29.4)

  10. Step 900

    900

    #800100

    oklch(37.7% 0.154 29.4)

  11. Step 950

    950 (this color)

    #4E0402

    oklch(27% 0.105 29.4)

Export this scale for Tailwind in the Tailwind colors tool

#4E0402 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)#1E19010.114
Deuteranopia (no green cones)#2F29000.103
Tritanopia (no blue cones)#5700050.022
Achromatopsia (no color)#2323230.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E0402

    #4E0402

    oklch(27% 0.105 29.4)

  • #002D33

    #002D33

    oklch(27.2% 0.047 208.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E0402

    #4E0402

    oklch(27% 0.105 29.4)

  • #4B0325

    #4B0325

    oklch(27.1% 0.105 359.4)

  • #3D1D00

    #3D1D00

    oklch(27% 0.064 58.4)

Open the analogous palette in the generator

Split complementary

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

  • #4E0402

    #4E0402

    oklch(27% 0.105 29.4)

  • #002E27

    #002E27

    oklch(27% 0.049 179.5)

  • #002A41

    #002A41

    oklch(27.1% 0.061 239)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E0402

    #4E0402

    oklch(27% 0.105 29.4)

  • #003010

    #003010

    oklch(27% 0.075 149.4)

  • #131F59

    #131F59

    oklch(27.1% 0.105 269.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E0402

    #4E0402

    oklch(27% 0.105 29.4)

  • #232B00

    #232B00

    oklch(27.2% 0.064 120)

  • #002D33

    #002D33

    oklch(27.2% 0.047 208.6)

  • #2F1451

    #2F1451

    oklch(26.9% 0.105 299.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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