#31051E

Closest named color: Dark Plum (#3F012C). oklch(21.5% 0.077 350.3), rgb(49, 5, 30).

Aa

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

About this color

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

Hue familyReds
Lightnessvery dark (21%)
Chromamoderately saturated (0.077)
Temperaturewarm
Nearest nameDark Plum (#3F012C)
Black text1.17:1
White text17.93:1

Values

HEX#31051E
RGBrgb(49, 5, 30)
HSLhsl(326, 81%, 11%)
OKLCHoklch(21.5% 0.077 350.3)

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 #31051E 17.93:1 AAA Lc -106.4 Preferred for body text
Black text on #31051E 1.17:1 Fails Lc 0.0 Not readable
#31051E text on white 17.93:1 AAA Lc 104.1 Preferred for body text
#31051E text on black 1.17: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

    #F9E3EC

    oklch(93.6% 0.027 350.9)

  3. Step 200

    200

    #F4CCDE

    oklch(88.5% 0.051 349.3)

  4. Step 300

    300

    #EEA9C8

    oklch(80.9% 0.09 350.7)

  5. Step 400

    400

    #E278AD

    oklch(70.7% 0.144 350.1)

  6. Step 500

    500

    #D74F98

    oklch(63.1% 0.185 350.5)

  7. Step 600

    600

    #C22B83

    oklch(55.6% 0.201 350.3)

  8. Step 700

    700

    #A71A6F

    oklch(49.1% 0.188 350.1)

  9. Step 800

    800

    #881A5A

    oklch(42.7% 0.156 350.5)

  10. Step 900

    900

    #6D1E4A

    oklch(37.6% 0.121 350.2)

  11. Step 950

    950 (this color)

    #31051E

    oklch(21.5% 0.077 350.3)

Export this scale for Tailwind in the Tailwind colors tool

#31051E 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)#0C121F0.086
Deuteranopia (no green cones)#191A1D0.076
Tritanopia (no blue cones)#3503100.028
Achromatopsia (no color)#1717170.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #31051E

    #31051E

    oklch(21.5% 0.077 350.3)

  • #001F16

    #001F16

    oklch(21.3% 0.042 170.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31051E

    #31051E

    oklch(21.5% 0.077 350.3)

  • #28092E

    #28092E

    oklch(21.3% 0.077 320.8)

  • #350409

    #350409

    oklch(21.5% 0.077 20.6)

Open the analogous palette in the generator

Split complementary

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

  • #31051E

    #31051E

    oklch(21.5% 0.077 350.3)

  • #042000

    #042000

    oklch(21.3% 0.069 140)

  • #001E20

    #001E20

    oklch(21.4% 0.036 201)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31051E

    #31051E

    oklch(21.5% 0.077 350.3)

  • #1B1B00

    #1B1B00

    oklch(21.5% 0.047 109.8)

  • #001D29

    #001D29

    oklch(21.6% 0.042 228.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31051E

    #31051E

    oklch(21.5% 0.077 350.3)

  • #241700

    #241700

    oklch(21.6% 0.045 81.1)

  • #001F16

    #001F16

    oklch(21.3% 0.042 170.2)

  • #03173C

    #03173C

    oklch(21.5% 0.077 260.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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