#31021B

Closest named color: Dark Maroon (#3C0008). oklch(20.9% 0.081 353.2), rgb(49, 2, 27).

Aa

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

About this color

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

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

Values

HEX#31021B
RGBrgb(49, 2, 27)
HSLhsl(328, 92%, 10%)
OKLCHoklch(20.9% 0.081 353.2)

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

    #F7CBDC

    oklch(88.5% 0.054 353.1)

  4. Step 300

    300

    #F2A7C6

    oklch(80.9% 0.096 353)

  5. Step 400

    400

    #E774A8

    oklch(70.6% 0.153 353.3)

  6. Step 500

    500

    #DD4993

    oklch(63.2% 0.196 353.4)

  7. Step 600

    600

    #C81F7E

    oklch(55.7% 0.213 353.1)

  8. Step 700

    700

    #AC0A6A

    oklch(49.1% 0.198 353.1)

  9. Step 800

    800

    #8C1256

    oklch(42.7% 0.164 353.4)

  10. Step 900

    900

    #701A47

    oklch(37.6% 0.127 353.1)

  11. Step 950

    950 (this color)

    #31021B

    oklch(20.9% 0.081 353.2)

Export this scale for Tailwind in the Tailwind colors tool

#31021B 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)#0A101C0.092
Deuteranopia (no green cones)#18191A0.082
Tritanopia (no blue cones)#36000D0.029
Achromatopsia (no color)#1515150.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #31021B

    #31021B

    oklch(20.9% 0.081 353.2)

  • #001E16

    #001E16

    oklch(20.9% 0.041 172.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31021B

    #31021B

    oklch(20.9% 0.081 353.2)

  • #28062D

    #28062D

    oklch(20.8% 0.081 322.3)

  • #340105

    #340105

    oklch(20.7% 0.081 22.8)

Open the analogous palette in the generator

Split complementary

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

  • #31021B

    #31021B

    oklch(20.9% 0.081 353.2)

  • #001F01

    #001F01

    oklch(20.8% 0.069 143.3)

  • #001D1F

    #001D1F

    oklch(21% 0.036 201.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31021B

    #31021B

    oklch(20.9% 0.081 353.2)

  • #181A00

    #181A00

    oklch(20.9% 0.047 113.6)

  • #001B28

    #001B28

    oklch(20.9% 0.043 232)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31021B

    #31021B

    oklch(20.9% 0.081 353.2)

  • #211600

    #211600

    oklch(20.9% 0.043 84.6)

  • #001E16

    #001E16

    oklch(20.9% 0.041 172.1)

  • #04143C

    #04143C

    oklch(20.8% 0.081 263.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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