#311117

Closest named color: Dark Maroon (#3C0008). oklch(23% 0.052 10.5), rgb(49, 17, 23).

Aa

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

About this color

#311117 is a very dark, muted red. In OKLCH its lightness is 23%, its chroma 0.052 and its hue 10°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.040 away. White text reads best on it, at 17.16:1.

Hue familyReds
Lightnessvery dark (23%)
Chromamuted (0.052)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.22:1
White text17.16:1

Values

HEX#311117
RGBrgb(49, 17, 23)
HSLhsl(349, 48%, 13%)
OKLCHoklch(23% 0.052 10.5)

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 #311117 17.16:1 AAA Lc -106.2 Preferred for body text
Black text on #311117 1.22:1 Fails Lc 0.0 Not readable
#311117 text on white 17.16:1 AAA Lc 103.8 Preferred for body text
#311117 text on black 1.22: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

    #FBF3F4

    oklch(97.1% 0.009 8.5)

  2. Step 100

    100

    #F6E5E7

    oklch(93.6% 0.019 9.3)

  3. Step 200

    200

    #EFD0D4

    oklch(88.5% 0.035 9)

  4. Step 300

    300

    #E5B1B7

    oklch(80.9% 0.061 10.8)

  5. Step 400

    400

    #D68692

    oklch(70.6% 0.099 10.2)

  6. Step 500

    500

    #C96677

    oklch(63.1% 0.126 10.5)

  7. Step 600

    600

    #B44B60

    oklch(55.6% 0.137 10.4)

  8. Step 700

    700

    #9B3B4F

    oklch(49.1% 0.129 10.5)

  9. Step 800

    800

    #7E3241

    oklch(42.7% 0.106 10.6)

  10. Step 900

    900

    #662D37

    oklch(37.8% 0.082 10.9)

  11. Step 950

    950 (this color)

    #311117

    oklch(23% 0.052 10.5)

Export this scale for Tailwind in the Tailwind colors tool

#311117 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)#1717170.058
Deuteranopia (no green cones)#201E160.053
Tritanopia (no blue cones)#360D130.014
Achromatopsia (no color)#1B1B1B0.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #311117

    #311117

    oklch(23% 0.052 10.5)

  • #002321

    #002321

    oklch(23.1% 0.04 189.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #311117

    #311117

    oklch(23% 0.052 10.5)

  • #2D1224

    #2D1224

    oklch(23% 0.052 341.5)

  • #311308

    #311308

    oklch(23% 0.053 40.4)

Open the analogous palette in the generator

Split complementary

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

  • #311117

    #311117

    oklch(23% 0.052 10.5)

  • #002414

    #002414

    oklch(23% 0.052 159.9)

  • #00212B

    #00212B

    oklch(23% 0.042 222)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #311117

    #311117

    oklch(23% 0.052 10.5)

  • #142205

    #142205

    oklch(23.1% 0.053 131)

  • #071E34

    #071E34

    oklch(23% 0.052 250)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #311117

    #311117

    oklch(23% 0.052 10.5)

  • #221D00

    #221D00

    oklch(22.9% 0.048 100.3)

  • #002321

    #002321

    oklch(23.1% 0.04 189.2)

  • #191935

    #191935

    oklch(23% 0.053 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 #311117, closest first.

Similar named colors

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

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