#310918

Closest named color: Dark Maroon (#3C0008). oklch(21.8% 0.066 1.3), rgb(49, 9, 24).

Aa

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

About this color

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

Hue familyReds
Lightnessvery dark (22%)
Chromamuted (0.066)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.18:1
White text17.75:1

Values

HEX#310918
RGBrgb(49, 9, 24)
HSLhsl(338, 69%, 11%)
OKLCHoklch(21.8% 0.066 1.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 #310918 17.75:1 AAA Lc -106.4 Preferred for body text
Black text on #310918 1.18:1 Fails Lc 0.0 Not readable
#310918 text on white 17.75:1 AAA Lc 104.1 Preferred for body text
#310918 text on black 1.18: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

    #FCF3F5

    oklch(97.2% 0.01 2)

  2. Step 100

    100

    #F8E4E9

    oklch(93.6% 0.023 0.5)

  3. Step 200

    200

    #F3CED7

    oklch(88.5% 0.043 1.6)

  4. Step 300

    300

    #ECACBD

    oklch(80.9% 0.078 1.5)

  5. Step 400

    400

    #E07D9B

    oklch(70.6% 0.126 1.4)

  6. Step 500

    500

    #D45883

    oklch(63% 0.161 1.2)

  7. Step 600

    600

    #BF396D

    oklch(55.5% 0.175 1)

  8. Step 700

    700

    #A52A5B

    oklch(49.2% 0.163 1.2)

  9. Step 800

    800

    #86254A

    oklch(42.7% 0.135 1.5)

  10. Step 900

    900

    #6C243E

    oklch(37.7% 0.105 1.2)

  11. Step 950

    950 (this color)

    #310918

    oklch(21.8% 0.066 1.3)

Export this scale for Tailwind in the Tailwind colors tool

#310918 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)#1113180.074
Deuteranopia (no green cones)#1C1B170.067
Tritanopia (no blue cones)#36050F0.019
Achromatopsia (no color)#1818180.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #310918

    #310918

    oklch(21.8% 0.066 1.3)

  • #00201B

    #00201B

    oklch(21.8% 0.039 180.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310918

    #310918

    oklch(21.8% 0.066 1.3)

  • #2B0C28

    #2B0C28

    oklch(21.9% 0.067 331.5)

  • #330A05

    #330A05

    oklch(21.8% 0.067 31.2)

Open the analogous palette in the generator

Split complementary

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

  • #310918

    #310918

    oklch(21.8% 0.066 1.3)

  • #00210B

    #00210B

    oklch(21.7% 0.058 151.4)

  • #001F24

    #001F24

    oklch(21.9% 0.038 209.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310918

    #310918

    oklch(21.8% 0.066 1.3)

  • #161D00

    #161D00

    oklch(21.6% 0.052 121.4)

  • #001C2F

    #001C2F

    oklch(21.7% 0.051 241.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310918

    #310918

    oklch(21.8% 0.066 1.3)

  • #221900

    #221900

    oklch(21.8% 0.045 90.7)

  • #00201B

    #00201B

    oklch(21.8% 0.039 180.5)

  • #101638

    #101638

    oklch(21.7% 0.066 272.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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