#31051B

Closest named color: Dark Maroon (#3C0008). oklch(21.3% 0.075 354.5), rgb(49, 5, 27).

Aa

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

About this color

#31051B is a very dark, moderately saturated red. In OKLCH its lightness is 21%, its chroma 0.075 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 17.97:1.

Hue familyReds
Lightnessvery dark (21%)
Chromamoderately saturated (0.075)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.16:1
White text17.97:1

Values

HEX#31051B
RGBrgb(49, 5, 27)
HSLhsl(330, 81%, 11%)
OKLCHoklch(21.3% 0.075 354.5)

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

    #F9E3EB

    oklch(93.6% 0.026 353.5)

  3. Step 200

    200

    #F5CCDB

    oklch(88.5% 0.05 354.2)

  4. Step 300

    300

    #EFA9C4

    oklch(80.9% 0.089 354.4)

  5. Step 400

    400

    #E478A6

    oklch(70.7% 0.143 354.5)

  6. Step 500

    500

    #D85090

    oklch(63.1% 0.181 354.4)

  7. Step 600

    600

    #C32C7A

    oklch(55.5% 0.197 354.4)

  8. Step 700

    700

    #A81C67

    oklch(49.1% 0.183 354.3)

  9. Step 800

    800

    #891C54

    oklch(42.8% 0.152 354.6)

  10. Step 900

    900

    #6E1F45

    oklch(37.7% 0.118 354.7)

  11. Step 950

    950 (this color)

    #31051B

    oklch(21.3% 0.075 354.5)

Export this scale for Tailwind in the Tailwind colors tool

#31051B 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)#0D111C0.084
Deuteranopia (no green cones)#1A1A1A0.075
Tritanopia (no blue cones)#36020E0.027
Achromatopsia (no color)#1717170.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #31051B

    #31051B

    oklch(21.3% 0.075 354.5)

  • #001F18

    #001F18

    oklch(21.4% 0.04 175)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31051B

    #31051B

    oklch(21.3% 0.075 354.5)

  • #29092C

    #29092C

    oklch(21.4% 0.075 324.2)

  • #340506

    #340506

    oklch(21.3% 0.075 25)

Open the analogous palette in the generator

Split complementary

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

  • #31051B

    #31051B

    oklch(21.3% 0.075 354.5)

  • #002003

    #002003

    oklch(21.2% 0.067 144.9)

  • #001E21

    #001E21

    oklch(21.4% 0.037 204.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31051B

    #31051B

    oklch(21.3% 0.075 354.5)

  • #191B00

    #191B00

    oklch(21.3% 0.048 113.5)

  • #001C2B

    #001C2B

    oklch(21.4% 0.046 235.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31051B

    #31051B

    oklch(21.3% 0.075 354.5)

  • #221700

    #221700

    oklch(21.3% 0.044 85.3)

  • #001F18

    #001F18

    oklch(21.4% 0.04 175)

  • #07163B

    #07163B

    oklch(21.4% 0.075 264.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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