#4C1117

Closest named color: Mahogany (#4A0100). oklch(28.2% 0.088 19.3), rgb(76, 17, 23).

Aa

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

About this color

#4C1117 is a dark, moderately saturated red. In OKLCH its lightness is 28%, its chroma 0.088 and its hue 19°. Its hue sits on the warm side of the wheel. The nearest named color is Mahogany (#4A0100), ΔE 0.034 away. White text reads best on it, at 15.00:1.

Hue familyReds
Lightnessdark (28%)
Chromamoderately saturated (0.088)
Temperaturewarm
Nearest nameMahogany (#4A0100)
Black text1.39:1
White text15.00:1

Values

HEX#4C1117
RGBrgb(76, 17, 23)
HSLhsl(354, 63%, 18%)
OKLCHoklch(28.2% 0.088 19.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 #4C1117 15.00:1 AAA Lc -104.1 Preferred for body text
Black text on #4C1117 1.39:1 Fails Lc 0.0 Not readable
#4C1117 text on white 15.00:1 AAA Lc 101.2 Preferred for body text
#4C1117 text on black 1.39: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

    #FFF2F2

    oklch(97.1% 0.014 17.4)

  2. Step 100

    100

    #FEE2E2

    oklch(93.6% 0.031 17.7)

  3. Step 200

    200

    #FDCBCA

    oklch(88.5% 0.057 19.6)

  4. Step 300

    300

    #FDA5A6

    oklch(80.9% 0.105 18.9)

  5. Step 400

    400

    #F76F76

    oklch(70.8% 0.167 19.2)

  6. Step 500

    500

    #EF3C52

    oklch(63.2% 0.213 19.5)

  7. Step 600

    600

    #D7003A

    oklch(55.7% 0.223 19.3)

  8. Step 700

    700

    #B6002F

    oklch(49.1% 0.197 19.5)

  9. Step 800

    800

    #960026

    oklch(42.6% 0.171 19.1)

  10. Step 900

    900

    #7B0F22

    oklch(37.8% 0.14 19)

  11. Step 950

    950 (this color)

    #4C1117

    oklch(28.2% 0.088 19.3)

Export this scale for Tailwind in the Tailwind colors tool

#4C1117 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)#211F170.096
Deuteranopia (no green cones)#302B150.088
Tritanopia (no blue cones)#5403140.023
Achromatopsia (no color)#2727270.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C1117

    #4C1117

    oklch(28.2% 0.088 19.3)

  • #003032

    #003032

    oklch(28.1% 0.048 199.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C1117

    #4C1117

    oklch(28.2% 0.088 19.3)

  • #471230

    #471230

    oklch(28.2% 0.088 349.3)

  • #461B00

    #461B00

    oklch(28.2% 0.076 48.7)

Open the analogous palette in the generator

Split complementary

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

  • #4C1117

    #4C1117

    oklch(28.2% 0.088 19.3)

  • #003225

    #003225

    oklch(28.2% 0.056 169.9)

  • #002E3F

    #002E3F

    oklch(28.2% 0.056 229.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C1117

    #4C1117

    oklch(28.2% 0.088 19.3)

  • #0C3301

    #0C3301

    oklch(28.2% 0.088 139.5)

  • #0B2754

    #0B2754

    oklch(28.1% 0.089 259.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C1117

    #4C1117

    oklch(28.2% 0.088 19.3)

  • #2C2C00

    #2C2C00

    oklch(28.4% 0.062 109.8)

  • #003032

    #003032

    oklch(28.1% 0.048 199.2)

  • #2A1F51

    #2A1F51

    oklch(28.3% 0.088 289.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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