#31031B

Closest named color: Dark Maroon (#3C0008). oklch(21% 0.079 353.6), rgb(49, 3, 27).

Aa

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

About this color

#31031B is a very dark, moderately saturated red. In OKLCH its lightness is 21%, its chroma 0.079 and its hue 354°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.044 away. White text reads best on it, at 18.11:1.

Hue familyReds
Lightnessvery dark (21%)
Chromamoderately saturated (0.079)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.15:1
White text18.11:1

Values

HEX#31031B
RGBrgb(49, 3, 27)
HSLhsl(329, 88%, 10%)
OKLCHoklch(21% 0.079 353.6)

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 #31031B 18.11:1 AAA Lc -106.5 Preferred for body text
Black text on #31031B 1.15:1 Fails Lc 0.0 Not readable
#31031B text on white 18.11:1 AAA Lc 104.2 Preferred for body text
#31031B text on black 1.15: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

    #FDF2F6

    oklch(97.1% 0.013 353.1)

  2. Step 100

    100

    #FAE3EB

    oklch(93.7% 0.027 354.5)

  3. Step 200

    200

    #F6CCDC

    oklch(88.6% 0.052 353.3)

  4. Step 300

    300

    #F1A8C5

    oklch(81% 0.093 353.8)

  5. Step 400

    400

    #E676A8

    oklch(70.8% 0.149 353.5)

  6. Step 500

    500

    #DB4B92

    oklch(63% 0.191 353.6)

  7. Step 600

    600

    #C6247C

    oklch(55.5% 0.207 353.7)

  8. Step 700

    700

    #AB1269

    oklch(49.2% 0.193 353.6)

  9. Step 800

    800

    #8B1655

    oklch(42.8% 0.159 354)

  10. Step 900

    900

    #701C46

    oklch(37.8% 0.124 354.2)

  11. Step 950

    950 (this color)

    #31031B

    oklch(21% 0.079 353.6)

Export this scale for Tailwind in the Tailwind colors tool

#31031B 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)#0B101C0.089
Deuteranopia (no green cones)#19191A0.078
Tritanopia (no blue cones)#36000D0.029
Achromatopsia (no color)#1616160.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #31031B

    #31031B

    oklch(21% 0.079 353.6)

  • #001E17

    #001E17

    oklch(21% 0.04 174.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31031B

    #31031B

    oklch(21% 0.079 353.6)

  • #29072C

    #29072C

    oklch(21.1% 0.079 324.5)

  • #340305

    #340305

    oklch(21% 0.078 24.6)

Open the analogous palette in the generator

Split complementary

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

  • #31031B

    #31031B

    oklch(21% 0.079 353.6)

  • #002001

    #002001

    oklch(21.1% 0.07 143.3)

  • #001D20

    #001D20

    oklch(21% 0.036 204.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31031B

    #31031B

    oklch(21% 0.079 353.6)

  • #181A00

    #181A00

    oklch(20.9% 0.047 113.6)

  • #001B29

    #001B29

    oklch(20.9% 0.044 234)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31031B

    #31031B

    oklch(21% 0.079 353.6)

  • #221600

    #221600

    oklch(21% 0.043 82.5)

  • #001E17

    #001E17

    oklch(21% 0.04 174.6)

  • #05153C

    #05153C

    oklch(21.1% 0.079 263.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31031B 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.