#4D151B

Closest named color: Mahogany (#4A0100). oklch(29% 0.084 17.9), rgb(77, 21, 27).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (29%)
Chromamoderately saturated (0.084)
Temperaturewarm
Nearest nameMahogany (#4A0100)
Black text1.43:1
White text14.59:1

Values

HEX#4D151B
RGBrgb(77, 21, 27)
HSLhsl(354, 57%, 19%)
OKLCHoklch(29% 0.084 17.9)

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 #4D151B 14.59:1 AAA Lc -103.8 Preferred for body text
Black text on #4D151B 1.43:1 Fails Lc 0.0 Not readable
#4D151B text on white 14.59:1 AAA Lc 100.8 Preferred for body text
#4D151B text on black 1.43: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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FDE3E3

    oklch(93.7% 0.029 17.7)

  3. Step 200

    200

    #FCCBCB

    oklch(88.5% 0.056 18.3)

  4. Step 300

    300

    #FAA6A8

    oklch(80.8% 0.1 17.9)

  5. Step 400

    400

    #F3727A

    oklch(70.7% 0.159 18.2)

  6. Step 500

    500

    #EB4259

    oklch(63.2% 0.204 17.9)

  7. Step 600

    600

    #D6043F

    oklch(55.6% 0.221 17.8)

  8. Step 700

    700

    #B50033

    oklch(49% 0.196 18)

  9. Step 800

    800

    #960129

    oklch(42.7% 0.171 17.9)

  10. Step 900

    900

    #781525

    oklch(37.6% 0.132 18.2)

  11. Step 950

    950 (this color)

    #4D151B

    oklch(29% 0.084 17.9)

Export this scale for Tailwind in the Tailwind colors tool

#4D151B 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)#23211B0.092
Deuteranopia (no green cones)#312D1A0.085
Tritanopia (no blue cones)#5509180.022
Achromatopsia (no color)#2929290.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D151B

    #4D151B

    oklch(29% 0.084 17.9)

  • #003334

    #003334

    oklch(29.1% 0.05 196.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D151B

    #4D151B

    oklch(29% 0.084 17.9)

  • #481633

    #481633

    oklch(29.1% 0.085 347.8)

  • #491C00

    #491C00

    oklch(29% 0.079 48.2)

Open the analogous palette in the generator

Split complementary

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

  • #4D151B

    #4D151B

    oklch(29% 0.084 17.9)

  • #003426

    #003426

    oklch(28.9% 0.058 169)

  • #003041

    #003041

    oklch(28.9% 0.056 228.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D151B

    #4D151B

    oklch(29% 0.084 17.9)

  • #133404

    #133404

    oklch(28.9% 0.083 137.9)

  • #0D2A54

    #0D2A54

    oklch(29% 0.084 258.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D151B

    #4D151B

    oklch(29% 0.084 17.9)

  • #2F2D00

    #2F2D00

    oklch(29% 0.062 107.1)

  • #003334

    #003334

    oklch(29.1% 0.05 196.9)

  • #2A2252

    #2A2252

    oklch(28.9% 0.084 287.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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