#511718

Closest named color: Mahogany (#4A0100). oklch(30% 0.087 23.1), rgb(81, 23, 24).

Aa

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

About this color

#511718 is a dark, moderately saturated red. In OKLCH its lightness is 30%, its chroma 0.087 and its hue 23°. Its hue sits on the warm side of the wheel. The nearest named color is Mahogany (#4A0100), ΔE 0.047 away. White text reads best on it, at 14.13:1.

Hue familyReds
Lightnessdark (30%)
Chromamoderately saturated (0.087)
Temperaturewarm
Nearest nameMahogany (#4A0100)
Black text1.48:1
White text14.13:1

Values

HEX#511718
RGBrgb(81, 23, 24)
HSLhsl(359, 56%, 20%)
OKLCHoklch(30% 0.087 23.1)

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 #511718 14.13:1 AAA Lc -103.3 Preferred for body text
Black text on #511718 1.48:1 Fails Lc 0.0 Not readable
#511718 text on white 14.13:1 AAA Lc 100.2 Preferred for body text
#511718 text on black 1.48: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

    #FDE3E1

    oklch(93.6% 0.029 23)

  3. Step 200

    200

    #FDCBC8

    oklch(88.5% 0.057 22.3)

  4. Step 300

    300

    #FCA6A1

    oklch(80.8% 0.103 23.2)

  5. Step 400

    400

    #F6716F

    oklch(70.7% 0.164 23)

  6. Step 500

    500

    #EE3F48

    oklch(63.1% 0.211 23.1)

  7. Step 600

    600

    #D8002C

    oklch(55.7% 0.225 23.1)

  8. Step 700

    700

    #B70024

    oklch(49.2% 0.198 23)

  9. Step 800

    800

    #97001C

    oklch(42.7% 0.172 22.9)

  10. Step 900

    900

    #7A121B

    oklch(37.6% 0.137 23.2)

  11. Step 950

    950 (this color)

    #511718

    oklch(30% 0.087 23.1)

Export this scale for Tailwind in the Tailwind colors tool

#511718 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)#2623180.094
Deuteranopia (no green cones)#3530160.087
Tritanopia (no blue cones)#5909180.025
Achromatopsia (no color)#2B2B2B0.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #511718

    #511718

    oklch(30% 0.087 23.1)

  • #003539

    #003539

    oklch(30% 0.051 203)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #511718

    #511718

    oklch(30% 0.087 23.1)

  • #4D1731

    #4D1731

    oklch(30% 0.087 353.8)

  • #4A2100

    #4A2100

    oklch(30% 0.076 53.7)

Open the analogous palette in the generator

Split complementary

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

  • #511718

    #511718

    oklch(30% 0.087 23.1)

  • #00372B

    #00372B

    oklch(30% 0.058 172.9)

  • #003248

    #003248

    oklch(29.9% 0.063 234.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #511718

    #511718

    oklch(30% 0.087 23.1)

  • #0B380B

    #0B380B

    oklch(30% 0.087 143)

  • #152B59

    #152B59

    oklch(30% 0.088 263)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #511718

    #511718

    oklch(30% 0.087 23.1)

  • #2E3100

    #2E3100

    oklch(30% 0.067 113.4)

  • #003539

    #003539

    oklch(30% 0.051 203)

  • #302355

    #302355

    oklch(30% 0.087 292.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #511718 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.