#31071F

Closest named color: Dark Plum (#3F012C). oklch(21.8% 0.074 349.7), rgb(49, 7, 31).

Aa

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

About this color

#31071F is a very dark, moderately saturated red. In OKLCH its lightness is 22%, its chroma 0.074 and its hue 350°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Plum (#3F012C), ΔE 0.042 away. White text reads best on it, at 17.78:1.

Hue familyReds
Lightnessvery dark (22%)
Chromamoderately saturated (0.074)
Temperaturewarm
Nearest nameDark Plum (#3F012C)
Black text1.18:1
White text17.78:1

Values

HEX#31071F
RGBrgb(49, 7, 31)
HSLhsl(326, 75%, 11%)
OKLCHoklch(21.8% 0.074 349.7)

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 #31071F 17.78:1 AAA Lc -106.4 Preferred for body text
Black text on #31071F 1.18:1 Fails Lc 0.0 Not readable
#31071F text on white 17.78:1 AAA Lc 104.1 Preferred for body text
#31071F text on black 1.18: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

    #FCF2F6

    oklch(97% 0.012 351)

  2. Step 100

    100

    #F8E3EC

    oklch(93.5% 0.026 349.8)

  3. Step 200

    200

    #F3CDDE

    oklch(88.5% 0.048 349.4)

  4. Step 300

    300

    #ECAAC9

    oklch(80.9% 0.087 349.4)

  5. Step 400

    400

    #E07AAD

    oklch(70.8% 0.139 349.9)

  6. Step 500

    500

    #D45399

    oklch(63.1% 0.178 349.7)

  7. Step 600

    600

    #BF3184

    oklch(55.6% 0.194 349.5)

  8. Step 700

    700

    #A4216F

    oklch(49% 0.18 349.7)

  9. Step 800

    800

    #861F5B

    oklch(42.8% 0.15 349.7)

  10. Step 900

    900

    #6C214A

    oklch(37.8% 0.116 350.3)

  11. Step 950

    950 (this color)

    #31071F

    oklch(21.8% 0.074 349.7)

Export this scale for Tailwind in the Tailwind colors tool

#31071F 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)#0D13200.082
Deuteranopia (no green cones)#191B1E0.074
Tritanopia (no blue cones)#3505110.028
Achromatopsia (no color)#1818180.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #31071F

    #31071F

    oklch(21.8% 0.074 349.7)

  • #002017

    #002017

    oklch(21.7% 0.043 170.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31071F

    #31071F

    oklch(21.8% 0.074 349.7)

  • #280B2F

    #280B2F

    oklch(21.7% 0.074 319.3)

  • #35060B

    #35060B

    oklch(21.8% 0.074 19.9)

Open the analogous palette in the generator

Split complementary

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

  • #31071F

    #31071F

    oklch(21.8% 0.074 349.7)

  • #052100

    #052100

    oklch(21.7% 0.069 139.5)

  • #001F21

    #001F21

    oklch(21.8% 0.037 200.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31071F

    #31071F

    oklch(21.8% 0.074 349.7)

  • #1C1C00

    #1C1C00

    oklch(21.9% 0.048 109.8)

  • #001E2A

    #001E2A

    oklch(22% 0.043 228.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31071F

    #31071F

    oklch(21.8% 0.074 349.7)

  • #251700

    #251700

    oklch(21.7% 0.045 79.1)

  • #002017

    #002017

    oklch(21.7% 0.043 170.7)

  • #04183B

    #04183B

    oklch(21.8% 0.073 259.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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