#4E1217

Closest named color: Mahogany (#4A0100). oklch(28.8% 0.089 20.3), rgb(78, 18, 23).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (29%)
Chromamoderately saturated (0.089)
Temperaturewarm
Nearest nameMahogany (#4A0100)
Black text1.42:1
White text14.75:1

Values

HEX#4E1217
RGBrgb(78, 18, 23)
HSLhsl(355, 63%, 19%)
OKLCHoklch(28.8% 0.089 20.3)

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 #4E1217 14.75:1 AAA Lc -103.9 Preferred for body text
Black text on #4E1217 1.42:1 Fails Lc 0.0 Not readable
#4E1217 text on white 14.75:1 AAA Lc 100.9 Preferred for body text
#4E1217 text on black 1.42: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

    #FEE2E1

    oklch(93.5% 0.031 20.2)

  3. Step 200

    200

    #FECAC9

    oklch(88.4% 0.059 19.6)

  4. Step 300

    300

    #FEA5A4

    oklch(81% 0.106 20.3)

  5. Step 400

    400

    #F86E73

    oklch(70.7% 0.169 20.3)

  6. Step 500

    500

    #F03A4F

    oklch(63.2% 0.216 20.2)

  7. Step 600

    600

    #D70036

    oklch(55.6% 0.223 20.4)

  8. Step 700

    700

    #B6002D

    oklch(49.1% 0.197 20.1)

  9. Step 800

    800

    #970023

    oklch(42.8% 0.172 20.4)

  10. Step 900

    900

    #7B0E1F

    oklch(37.6% 0.14 20.4)

  11. Step 950

    950 (this color)

    #4E1217

    oklch(28.8% 0.089 20.3)

Export this scale for Tailwind in the Tailwind colors tool

#4E1217 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)#2220170.098
Deuteranopia (no green cones)#312D150.091
Tritanopia (no blue cones)#5603140.023
Achromatopsia (no color)#2828280.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E1217

    #4E1217

    oklch(28.8% 0.089 20.3)

  • #003234

    #003234

    oklch(28.8% 0.049 199.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E1217

    #4E1217

    oklch(28.8% 0.089 20.3)

  • #491331

    #491331

    oklch(28.8% 0.089 349.9)

  • #471D00

    #471D00

    oklch(28.8% 0.075 50.6)

Open the analogous palette in the generator

Split complementary

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

  • #4E1217

    #4E1217

    oklch(28.8% 0.089 20.3)

  • #003426

    #003426

    oklch(28.9% 0.058 169)

  • #002F42

    #002F42

    oklch(28.6% 0.058 231.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E1217

    #4E1217

    oklch(28.8% 0.089 20.3)

  • #0B3502

    #0B3502

    oklch(28.9% 0.09 140.3)

  • #0D2856

    #0D2856

    oklch(28.6% 0.09 260.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E1217

    #4E1217

    oklch(28.8% 0.089 20.3)

  • #2D2D00

    #2D2D00

    oklch(28.8% 0.063 109.8)

  • #003234

    #003234

    oklch(28.8% 0.049 199.1)

  • #2C2053

    #2C2053

    oklch(28.8% 0.089 290.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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