#4C0018

Closest named color: Mahogany (#4A0100). oklch(26.6% 0.106 11.2), rgb(76, 0, 24).

Aa

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

About this color

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

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

Values

HEX#4C0018
RGBrgb(76, 0, 24)
HSLhsl(341, 100%, 15%)
OKLCHoklch(26.6% 0.106 11.2)

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 #4C0018 15.90:1 AAA Lc -104.4 Preferred for body text
Black text on #4C0018 1.32:1 Fails Lc 0.0 Not readable
#4C0018 text on white 15.90:1 AAA Lc 101.5 Preferred for body text
#4C0018 text on black 1.32: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

    #FFF2F3

    oklch(97.2% 0.014 12)

  2. Step 100

    100

    #FFE1E4

    oklch(93.5% 0.033 10.9)

  3. Step 200

    200

    #FFC9CF

    oklch(88.5% 0.062 10.9)

  4. Step 300

    300

    #FFA2AF

    oklch(80.9% 0.111 10.8)

  5. Step 400

    400

    #FF6382

    oklch(70.7% 0.19 11.4)

  6. Step 500

    500

    #FB0062

    oklch(63.1% 0.252 11.2)

  7. Step 600

    600

    #D40052

    oklch(55.5% 0.222 11)

  8. Step 700

    700

    #B40044

    oklch(49.1% 0.196 11.2)

  9. Step 800

    800

    #950037

    oklch(42.8% 0.171 11.1)

  10. Step 900

    900

    #7D002D

    oklch(37.6% 0.15 11.1)

  11. Step 950

    950 (this color)

    #4C0018

    oklch(26.6% 0.106 11.2)

Export this scale for Tailwind in the Tailwind colors tool

#4C0018 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)#1818180.120
Deuteranopia (no green cones)#2B27160.108
Tritanopia (no blue cones)#54000A0.029
Achromatopsia (no color)#2222220.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C0018

    #4C0018

    oklch(26.6% 0.106 11.2)

  • #002C2B

    #002C2B

    oklch(26.5% 0.045 192.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C0018

    #4C0018

    oklch(26.6% 0.106 11.2)

  • #440534

    #440534

    oklch(26.5% 0.106 341.2)

  • #441300

    #441300

    oklch(26.5% 0.081 41.2)

Open the analogous palette in the generator

Split complementary

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

  • #4C0018

    #4C0018

    oklch(26.6% 0.106 11.2)

  • #002E1C

    #002E1C

    oklch(26.6% 0.059 161.3)

  • #002A36

    #002A36

    oklch(26.4% 0.049 222.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C0018

    #4C0018

    oklch(26.6% 0.106 11.2)

  • #182C00

    #182C00

    oklch(26.6% 0.073 131.2)

  • #002649

    #002649

    oklch(26.6% 0.077 250.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C0018

    #4C0018

    oklch(26.6% 0.106 11.2)

  • #2B2600

    #2B2600

    oklch(26.6% 0.056 101.9)

  • #002C2B

    #002C2B

    oklch(26.5% 0.045 192.4)

  • #201957

    #201957

    oklch(26.7% 0.107 281.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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