#31020B

Closest named color: Dark Maroon (#3C0008). oklch(20.3% 0.076 15), rgb(49, 2, 11).

Aa

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

About this color

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

Hue familyReds
Lightnessvery dark (20%)
Chromamoderately saturated (0.076)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.14:1
White text18.35:1

Values

HEX#31020B
RGBrgb(49, 2, 11)
HSLhsl(349, 92%, 10%)
OKLCHoklch(20.3% 0.076 15)

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 #31020B 18.35:1 AAA Lc -106.6 Preferred for body text
Black text on #31020B 1.14:1 Fails Lc 0.0 Not readable
#31020B text on white 18.35:1 AAA Lc 104.3 Preferred for body text
#31020B text on black 1.14: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

    #FDF2F3

    oklch(97% 0.012 11)

  2. Step 100

    100

    #FBE3E4

    oklch(93.6% 0.026 14.7)

  3. Step 200

    200

    #F8CCCE

    oklch(88.4% 0.05 15.1)

  4. Step 300

    300

    #F5A9AE

    oklch(80.9% 0.09 14.9)

  5. Step 400

    400

    #EC7783

    oklch(70.7% 0.144 15.1)

  6. Step 500

    500

    #E24D65

    oklch(63.1% 0.184 14.8)

  7. Step 600

    600

    #CD264C

    oklch(55.5% 0.2 14.9)

  8. Step 700

    700

    #B1153D

    oklch(49.1% 0.185 15.1)

  9. Step 800

    800

    #901733

    oklch(42.7% 0.154 14.8)

  10. Step 900

    900

    #741D2C

    oklch(37.8% 0.12 15.4)

  11. Step 950

    950 (this color)

    #31020B

    oklch(20.3% 0.076 15)

Export this scale for Tailwind in the Tailwind colors tool

#31020B 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)#0F0E0B0.084
Deuteranopia (no green cones)#1B180A0.077
Tritanopia (no blue cones)#3700050.018
Achromatopsia (no color)#1414140.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #31020B

    #31020B

    oklch(20.3% 0.076 15)

  • #001B1B

    #001B1B

    oklch(20.1% 0.034 194.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31020B

    #31020B

    oklch(20.3% 0.076 15)

  • #2C041E

    #2C041E

    oklch(20.3% 0.074 345.2)

  • #2B0C00

    #2B0C00

    oklch(20.4% 0.058 45.7)

Open the analogous palette in the generator

Split complementary

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

  • #31020B

    #31020B

    oklch(20.3% 0.076 15)

  • #001D12

    #001D12

    oklch(20.4% 0.043 165)

  • #001A24

    #001A24

    oklch(20.3% 0.039 225.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31020B

    #31020B

    oklch(20.3% 0.076 15)

  • #091C00

    #091C00

    oklch(20.2% 0.059 135.3)

  • #001634

    #001634

    oklch(20.3% 0.067 254.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31020B

    #31020B

    oklch(20.3% 0.076 15)

  • #1A1700

    #1A1700

    oklch(20.2% 0.042 103.2)

  • #001B1B

    #001B1B

    oklch(20.1% 0.034 194.8)

  • #150E37

    #150E37

    oklch(20.3% 0.076 285.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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