#31031A

Closest named color: Dark Maroon (#3C0008). oklch(21% 0.078 355), rgb(49, 3, 26).

Aa

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

About this color

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

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

Values

HEX#31031A
RGBrgb(49, 3, 26)
HSLhsl(330, 88%, 10%)
OKLCHoklch(21% 0.078 355)

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

    #F6CCDB

    oklch(88.5% 0.051 354.7)

  4. Step 300

    300

    #F1A8C4

    oklch(80.9% 0.092 354.6)

  5. Step 400

    400

    #E676A5

    oklch(70.7% 0.147 355)

  6. Step 500

    500

    #DC4C8F

    oklch(63.2% 0.189 355.2)

  7. Step 600

    600

    #C72579

    oklch(55.7% 0.206 355.2)

  8. Step 700

    700

    #AB1366

    oklch(49.1% 0.191 355)

  9. Step 800

    800

    #8B1653

    oklch(42.7% 0.158 355.1)

  10. Step 900

    900

    #701C45

    oklch(37.7% 0.124 354.9)

  11. Step 950

    950 (this color)

    #31031A

    oklch(21% 0.078 355)

Export this scale for Tailwind in the Tailwind colors tool

#31031A 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)#0C101B0.088
Deuteranopia (no green cones)#1919190.078
Tritanopia (no blue cones)#36000D0.027
Achromatopsia (no color)#1616160.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #31031A

    #31031A

    oklch(21% 0.078 355)

  • #001E17

    #001E17

    oklch(21% 0.04 174.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31031A

    #31031A

    oklch(21% 0.078 355)

  • #29072B

    #29072B

    oklch(21% 0.078 325.6)

  • #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°).

  • #31031A

    #31031A

    oklch(21% 0.078 355)

  • #001F03

    #001F03

    oklch(20.8% 0.065 145)

  • #001D20

    #001D20

    oklch(21% 0.036 204.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31031A

    #31031A

    oklch(21% 0.078 355)

  • #181A00

    #181A00

    oklch(20.9% 0.047 113.6)

  • #001B2A

    #001B2A

    oklch(21% 0.045 235.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31031A

    #31031A

    oklch(21% 0.078 355)

  • #211600

    #211600

    oklch(20.9% 0.043 84.6)

  • #001E17

    #001E17

    oklch(21% 0.04 174.6)

  • #06143B

    #06143B

    oklch(20.9% 0.078 264.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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