#311018

Closest named color: Dark Maroon (#3C0008). oklch(22.9% 0.054 7.3), rgb(49, 16, 24).

Aa

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

About this color

#311018 is a very dark, muted red. In OKLCH its lightness is 23%, its chroma 0.054 and its hue 7°. 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.24:1.

Hue familyReds
Lightnessvery dark (23%)
Chromamuted (0.054)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.21:1
White text17.24:1

Values

HEX#311018
RGBrgb(49, 16, 24)
HSLhsl(345, 51%, 13%)
OKLCHoklch(22.9% 0.054 7.3)

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 #311018 17.24:1 AAA Lc -106.2 Preferred for body text
Black text on #311018 1.21:1 Fails Lc 0.0 Not readable
#311018 text on white 17.24:1 AAA Lc 103.9 Preferred for body text
#311018 text on black 1.21: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

    #EFD0D5

    oklch(88.5% 0.035 6.8)

  4. Step 300

    300

    #E6B0B9

    oklch(80.9% 0.064 7.5)

  5. Step 400

    400

    #D78595

    oklch(70.7% 0.102 7.4)

  6. Step 500

    500

    #CA647B

    oklch(63% 0.131 7.3)

  7. Step 600

    600

    #B64964

    oklch(55.7% 0.143 7.7)

  8. Step 700

    700

    #9C3953

    oklch(49.1% 0.133 7.3)

  9. Step 800

    800

    #7F3044

    oklch(42.7% 0.111 7.4)

  10. Step 900

    900

    #662B39

    oklch(37.6% 0.086 7.3)

  11. Step 950

    950 (this color)

    #311018

    oklch(22.9% 0.054 7.3)

Export this scale for Tailwind in the Tailwind colors tool

#311018 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)#1617180.061
Deuteranopia (no green cones)#1F1D170.055
Tritanopia (no blue cones)#360C130.015
Achromatopsia (no color)#1B1B1B0.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #311018

    #311018

    oklch(22.9% 0.054 7.3)

  • #002220

    #002220

    oklch(22.7% 0.039 189.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #311018

    #311018

    oklch(22.9% 0.054 7.3)

  • #2C1126

    #2C1126

    oklch(22.8% 0.055 336.3)

  • #311208

    #311208

    oklch(22.8% 0.054 38.5)

Open the analogous palette in the generator

Split complementary

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

  • #311018

    #311018

    oklch(22.9% 0.054 7.3)

  • #002412

    #002412

    oklch(22.9% 0.054 157.1)

  • #002129

    #002129

    oklch(22.9% 0.041 217.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #311018

    #311018

    oklch(22.9% 0.054 7.3)

  • #152102

    #152102

    oklch(22.8% 0.055 127.7)

  • #031E34

    #031E34

    oklch(22.8% 0.054 246.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #311018

    #311018

    oklch(22.9% 0.054 7.3)

  • #231C00

    #231C00

    oklch(22.8% 0.047 96)

  • #002220

    #002220

    oklch(22.7% 0.039 189.1)

  • #171936

    #171936

    oklch(22.9% 0.056 278.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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