#310015

Closest named color: Dark Maroon (#3C0008). oklch(20.3% 0.082 0.1), rgb(49, 0, 21).

Aa

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

About this color

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

Hue familyReds
Lightnessvery dark (20%)
Chromamoderately saturated (0.082)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.14:1
White text18.39:1

Values

HEX#310015
RGBrgb(49, 0, 21)
HSLhsl(334, 100%, 10%)
OKLCHoklch(20.3% 0.082 0.1)

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 #310015 18.39:1 AAA Lc -106.5 Preferred for body text
Black text on #310015 1.14:1 Fails Lc 0.0 Not readable
#310015 text on white 18.39:1 AAA Lc 104.2 Preferred for body text
#310015 text on black 1.14: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

    #FEF2F5

    oklch(97.1% 0.013 0.3)

  2. Step 100

    100

    #FBE3E9

    oklch(93.7% 0.027 0.7)

  3. Step 200

    200

    #F9CBD7

    oklch(88.5% 0.054 0.8)

  4. Step 300

    300

    #F5A6BE

    oklch(80.8% 0.097 359.7)

  5. Step 400

    400

    #EC729C

    oklch(70.6% 0.156 0.1)

  6. Step 500

    500

    #E24584

    oklch(63.1% 0.199 0.2)

  7. Step 600

    600

    #CD156E

    oklch(55.6% 0.216 360)

  8. Step 700

    700

    #B0005C

    oklch(49% 0.199 360)

  9. Step 800

    800

    #900B4B

    oklch(42.8% 0.166 0.2)

  10. Step 900

    900

    #74173F

    oklch(37.8% 0.131 359.9)

  11. Step 950

    950 (this color)

    #310015

    oklch(20.3% 0.082 0.1)

Export this scale for Tailwind in the Tailwind colors tool

#310015 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)#0A0E160.095
Deuteranopia (no green cones)#1918140.083
Tritanopia (no blue cones)#3600080.028
Achromatopsia (no color)#1414140.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #310015

    #310015

    oklch(20.3% 0.082 0.1)

  • #001C17

    #001C17

    oklch(20.3% 0.037 179.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310015

    #310015

    oklch(20.3% 0.082 0.1)

  • #2A0328

    #2A0328

    oklch(20.3% 0.083 330.4)

  • #330100

    #330100

    oklch(20.3% 0.081 30.2)

Open the analogous palette in the generator

Split complementary

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

  • #310015

    #310015

    oklch(20.3% 0.082 0.1)

  • #001D08

    #001D08

    oklch(20.2% 0.055 150.4)

  • #001B1F

    #001B1F

    oklch(20.3% 0.035 208)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310015

    #310015

    oklch(20.3% 0.082 0.1)

  • #141A00

    #141A00

    oklch(20.4% 0.049 120.6)

  • #001929

    #001929

    oklch(20.3% 0.046 238.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310015

    #310015

    oklch(20.3% 0.082 0.1)

  • #1E1500

    #1E1500

    oklch(20.2% 0.041 88.5)

  • #001C17

    #001C17

    oklch(20.3% 0.037 179.2)

  • #0A103B

    #0A103B

    oklch(20.2% 0.082 270.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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