#4E020C

Closest named color: Mahogany (#4A0100). oklch(27% 0.106 22.1), rgb(78, 2, 12).

Aa

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

About this color

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

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

Values

HEX#4E020C
RGBrgb(78, 2, 12)
HSLhsl(352, 95%, 16%)
OKLCHoklch(27% 0.106 22.1)

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

    #FFE2E0

    oklch(93.6% 0.032 22.5)

  3. Step 200

    200

    #FFCAC7

    oklch(88.5% 0.061 22.1)

  4. Step 300

    300

    #FFA4A1

    oklch(80.8% 0.109 21.8)

  5. Step 400

    400

    #FF676A

    oklch(70.6% 0.186 22)

  6. Step 500

    500

    #FF003A

    oklch(63.1% 0.254 22.2)

  7. Step 600

    600

    #D70030

    oklch(55.5% 0.224 22)

  8. Step 700

    700

    #B60027

    oklch(49% 0.197 22)

  9. Step 800

    800

    #97001E

    oklch(42.7% 0.172 22.2)

  10. Step 900

    900

    #7F0018

    oklch(37.7% 0.152 22.1)

  11. Step 950

    950 (this color)

    #4E020C

    oklch(27% 0.106 22.1)

Export this scale for Tailwind in the Tailwind colors tool

#4E020C 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)#1C190C0.117
Deuteranopia (no green cones)#2E29090.107
Tritanopia (no blue cones)#5700060.022
Achromatopsia (no color)#2323230.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E020C

    #4E020C

    oklch(27% 0.106 22.1)

  • #002D30

    #002D30

    oklch(27% 0.046 201.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E020C

    #4E020C

    oklch(27% 0.106 22.1)

  • #49042C

    #49042C

    oklch(27% 0.106 351.8)

  • #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°).

  • #4E020C

    #4E020C

    oklch(27% 0.106 22.1)

  • #002E23

    #002E23

    oklch(26.8% 0.052 171.9)

  • #002B3C

    #002B3C

    oklch(27.1% 0.054 230.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E020C

    #4E020C

    oklch(27% 0.106 22.1)

  • #013000

    #013000

    oklch(26.8% 0.091 142.2)

  • #062159

    #062159

    oklch(27% 0.106 262.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E020C

    #4E020C

    oklch(27% 0.106 22.1)

  • #272900

    #272900

    oklch(27% 0.06 112.6)

  • #002D30

    #002D30

    oklch(27% 0.046 201.8)

  • #2A1654

    #2A1654

    oklch(26.9% 0.106 292.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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