#310515

Closest named color: Dark Maroon (#3C0008). oklch(21.1% 0.072 3.3), rgb(49, 5, 21).

Aa

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

About this color

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

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

Values

HEX#310515
RGBrgb(49, 5, 21)
HSLhsl(338, 81%, 11%)
OKLCHoklch(21.1% 0.072 3.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 #310515 18.05:1 AAA Lc -106.5 Preferred for body text
Black text on #310515 1.16:1 Fails Lc 0.0 Not readable
#310515 text on white 18.05:1 AAA Lc 104.2 Preferred for body text
#310515 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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #F9E3E8

    oklch(93.5% 0.025 2.1)

  3. Step 200

    200

    #F6CDD6

    oklch(88.6% 0.048 3.3)

  4. Step 300

    300

    #F0AABB

    oklch(80.9% 0.085 3.2)

  5. Step 400

    400

    #E67998

    oklch(70.7% 0.138 3.1)

  6. Step 500

    500

    #DB527E

    oklch(63.2% 0.175 3.7)

  7. Step 600

    600

    #C62F68

    oklch(55.7% 0.19 3.3)

  8. Step 700

    700

    #AA1F56

    oklch(49% 0.176 3.4)

  9. Step 800

    800

    #8A1D47

    oklch(42.6% 0.147 2.9)

  10. Step 900

    900

    #6F203B

    oklch(37.6% 0.113 3.4)

  11. Step 950

    950 (this color)

    #310515

    oklch(21.1% 0.072 3.3)

Export this scale for Tailwind in the Tailwind colors tool

#310515 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)#0F11150.081
Deuteranopia (no green cones)#1B19140.072
Tritanopia (no blue cones)#36000B0.021
Achromatopsia (no color)#1616160.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #310515

    #310515

    oklch(21.1% 0.072 3.3)

  • #001E1A

    #001E1A

    oklch(21.1% 0.038 182.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310515

    #310515

    oklch(21.1% 0.072 3.3)

  • #2B0826

    #2B0826

    oklch(21.2% 0.072 334)

  • #320601

    #320601

    oklch(20.9% 0.073 33.5)

Open the analogous palette in the generator

Split complementary

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

  • #310515

    #310515

    oklch(21.1% 0.072 3.3)

  • #001F0C

    #001F0C

    oklch(21% 0.053 153.6)

  • #001D23

    #001D23

    oklch(21.2% 0.037 213.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310515

    #310515

    oklch(21.1% 0.072 3.3)

  • #141C00

    #141C00

    oklch(21.1% 0.052 123.1)

  • #001A2E

    #001A2E

    oklch(21% 0.052 244)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310515

    #310515

    oklch(21.1% 0.072 3.3)

  • #1F1800

    #1F1800

    oklch(21.1% 0.043 94.5)

  • #001E1A

    #001E1A

    oklch(21.1% 0.038 182.7)

  • #0F1339

    #0F1339

    oklch(21% 0.073 273.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #310515 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.