#4D170B

Closest named color: Chocolate Brown (#411900). oklch(29% 0.084 34), rgb(77, 23, 11).

Aa

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

About this color

#4D170B is a dark, moderately saturated red. In OKLCH its lightness is 29%, its chroma 0.084 and its hue 34°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.032 away. White text reads best on it, at 14.55:1.

Hue familyReds
Lightnessdark (29%)
Chromamoderately saturated (0.084)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.44:1
White text14.55:1

Values

HEX#4D170B
RGBrgb(77, 23, 11)
HSLhsl(11, 75%, 17%)
OKLCHoklch(29% 0.084 34)

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

    #FEF2F0

    oklch(97% 0.013 28.9)

  2. Step 100

    100

    #FDE3DD

    oklch(93.5% 0.03 33.1)

  3. Step 200

    200

    #FCCDC1

    oklch(88.6% 0.056 34.7)

  4. Step 300

    300

    #FAA996

    oklch(80.9% 0.1 33.8)

  5. Step 400

    400

    #F3765A

    oklch(70.7% 0.16 34)

  6. Step 500

    500

    #EB4923

    oklch(63.2% 0.205 34.1)

  7. Step 600

    600

    #CE2F00

    oklch(55.6% 0.2 34)

  8. Step 700

    700

    #AE2600

    oklch(49% 0.177 33.9)

  9. Step 800

    800

    #901E00

    oklch(42.7% 0.153 34)

  10. Step 900

    900

    #791902

    oklch(37.8% 0.134 33.9)

  11. Step 950

    950 (this color)

    #4D170B

    oklch(29% 0.084 34)

Export this scale for Tailwind in the Tailwind colors tool

#4D170B 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)#2621090.087
Deuteranopia (no green cones)#342D090.078
Tritanopia (no blue cones)#5509150.033
Achromatopsia (no color)#2929290.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D170B

    #4D170B

    oklch(29% 0.084 34)

  • #00323B

    #00323B

    oklch(29.1% 0.051 213.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D170B

    #4D170B

    oklch(29% 0.084 34)

  • #4C1526

    #4C1526

    oklch(29.2% 0.084 5)

  • #412300

    #412300

    oklch(29% 0.065 64.5)

Open the analogous palette in the generator

Split complementary

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

  • #4D170B

    #4D170B

    oklch(29% 0.084 34)

  • #00332E

    #00332E

    oklch(28.9% 0.051 184.5)

  • #002E4C

    #002E4C

    oklch(29% 0.072 244)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D170B

    #4D170B

    oklch(29% 0.084 34)

  • #00351A

    #00351A

    oklch(28.9% 0.072 154.6)

  • #1F2655

    #1F2655

    oklch(29.1% 0.085 273.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D170B

    #4D170B

    oklch(29% 0.084 34)

  • #243100

    #243100

    oklch(29.1% 0.072 124.1)

  • #00323B

    #00323B

    oklch(29.1% 0.051 213.6)

  • #351E4D

    #351E4D

    oklch(29% 0.085 304.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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