#31071A

Closest named color: Dark Maroon (#3C0008). oklch(21.6% 0.071 357), rgb(49, 7, 26).

Aa

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

About this color

#31071A is a very dark, moderately saturated red. In OKLCH its lightness is 22%, its chroma 0.071 and its hue 357°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.039 away. White text reads best on it, at 17.85:1.

Hue familyReds
Lightnessvery dark (22%)
Chromamoderately saturated (0.071)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.17:1
White text17.85:1

Values

HEX#31071A
RGBrgb(49, 7, 26)
HSLhsl(333, 75%, 11%)
OKLCHoklch(21.6% 0.071 357)

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 #31071A 17.85:1 AAA Lc -106.5 Preferred for body text
Black text on #31071A 1.17:1 Fails Lc 0.0 Not readable
#31071A text on white 17.85:1 AAA Lc 104.1 Preferred for body text
#31071A text on black 1.17: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

    #FCF2F5

    oklch(97% 0.011 357)

  2. Step 100

    100

    #F8E4EA

    oklch(93.7% 0.023 357.4)

  3. Step 200

    200

    #F4CDD9

    oklch(88.5% 0.046 357.6)

  4. Step 300

    300

    #EEAAC1

    oklch(80.9% 0.085 357.2)

  5. Step 400

    400

    #E27BA2

    oklch(70.8% 0.134 357)

  6. Step 500

    500

    #D6548B

    oklch(63.1% 0.172 356.9)

  7. Step 600

    600

    #C13375

    oklch(55.6% 0.186 356.8)

  8. Step 700

    700

    #A62462

    oklch(49.1% 0.173 357)

  9. Step 800

    800

    #872150

    oklch(42.7% 0.143 357.1)

  10. Step 900

    900

    #6D2242

    oklch(37.8% 0.111 357.5)

  11. Step 950

    950 (this color)

    #31071A

    oklch(21.6% 0.071 357)

Export this scale for Tailwind in the Tailwind colors tool

#31071A 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)#0F121B0.079
Deuteranopia (no green cones)#1B1A190.070
Tritanopia (no blue cones)#36040F0.023
Achromatopsia (no color)#1717170.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #31071A

    #31071A

    oklch(21.6% 0.071 357)

  • #001F19

    #001F19

    oklch(21.4% 0.04 177.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31071A

    #31071A

    oklch(21.6% 0.071 357)

  • #2A0B2A

    #2A0B2A

    oklch(21.7% 0.07 327.7)

  • #330706

    #330706

    oklch(21.4% 0.071 26.8)

Open the analogous palette in the generator

Split complementary

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

  • #31071A

    #31071A

    oklch(21.6% 0.071 357)

  • #002106

    #002106

    oklch(21.6% 0.064 147.1)

  • #001E22

    #001E22

    oklch(21.5% 0.037 207.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31071A

    #31071A

    oklch(21.6% 0.071 357)

  • #181C00

    #181C00

    oklch(21.5% 0.049 116.9)

  • #001C2C

    #001C2C

    oklch(21.5% 0.047 236.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31071A

    #31071A

    oklch(21.6% 0.071 357)

  • #221800

    #221800

    oklch(21.6% 0.044 88)

  • #001F19

    #001F19

    oklch(21.4% 0.04 177.5)

  • #0B163A

    #0B163A

    oklch(21.6% 0.071 267.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31071A 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.