#310012

Closest named color: Dark Maroon (#3C0008). oklch(20.2% 0.081 4.1), rgb(49, 0, 18).

Aa

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

About this color

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

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

Values

HEX#310012
RGBrgb(49, 0, 18)
HSLhsl(338, 100%, 10%)
OKLCHoklch(20.2% 0.081 4.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 #310012 18.43:1 AAA Lc -106.5 Preferred for body text
Black text on #310012 1.13:1 Fails Lc 0.0 Not readable
#310012 text on white 18.43:1 AAA Lc 104.3 Preferred for body text
#310012 text on black 1.13: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

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FBE3E7

    oklch(93.6% 0.027 6.2)

  3. Step 200

    200

    #F9CBD5

    oklch(88.5% 0.053 3.6)

  4. Step 300

    300

    #F6A7B9

    oklch(81% 0.096 4.5)

  5. Step 400

    400

    #ED7395

    oklch(70.7% 0.154 4.2)

  6. Step 500

    500

    #E3467B

    oklch(63% 0.196 4.2)

  7. Step 600

    600

    #CE1764

    oklch(55.5% 0.213 4.2)

  8. Step 700

    700

    #B20053

    oklch(49.1% 0.198 4.4)

  9. Step 800

    800

    #910C44

    oklch(42.8% 0.165 4.4)

  10. Step 900

    900

    #741839

    oklch(37.7% 0.128 4.4)

  11. Step 950

    950 (this color)

    #310012

    oklch(20.2% 0.081 4.1)

Export this scale for Tailwind in the Tailwind colors tool

#310012 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)#0B0D120.093
Deuteranopia (no green cones)#1918110.084
Tritanopia (no blue cones)#3600070.025
Achromatopsia (no color)#1414140.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #310012

    #310012

    oklch(20.2% 0.081 4.1)

  • #001C18

    #001C18

    oklch(20.3% 0.036 182.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310012

    #310012

    oklch(20.2% 0.081 4.1)

  • #2A0325

    #2A0325

    oklch(20.1% 0.081 333.8)

  • #300500

    #300500

    oklch(20.3% 0.072 34.5)

Open the analogous palette in the generator

Split complementary

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

  • #310012

    #310012

    oklch(20.2% 0.081 4.1)

  • #001D0B

    #001D0B

    oklch(20.2% 0.051 153.8)

  • #001A20

    #001A20

    oklch(20% 0.035 214.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310012

    #310012

    oklch(20.2% 0.081 4.1)

  • #121A00

    #121A00

    oklch(20.2% 0.05 123.7)

  • #00182B

    #00182B

    oklch(20.1% 0.05 244)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310012

    #310012

    oklch(20.2% 0.081 4.1)

  • #1D1600

    #1D1600

    oklch(20.3% 0.042 93.7)

  • #001C18

    #001C18

    oklch(20.3% 0.036 182.1)

  • #0D0F3A

    #0D0F3A

    oklch(20.1% 0.081 274.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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