#331318

Closest named color: Dark Maroon (#3C0008). oklch(23.8% 0.052 12.1), rgb(51, 19, 24).

Aa

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

About this color

#331318 is a very dark, muted red. In OKLCH its lightness is 24%, its chroma 0.052 and its hue 12°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.042 away. White text reads best on it, at 16.83:1.

Hue familyReds
Lightnessvery dark (24%)
Chromamuted (0.052)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.24:1
White text16.83:1

Values

HEX#331318
RGBrgb(51, 19, 24)
HSLhsl(351, 46%, 14%)
OKLCHoklch(23.8% 0.052 12.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 #331318 16.83:1 AAA Lc -106.0 Preferred for body text
Black text on #331318 1.24:1 Fails Lc 0.0 Not readable
#331318 text on white 16.83:1 AAA Lc 103.5 Preferred for body text
#331318 text on black 1.24: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

    #FBF3F4

    oklch(97.1% 0.009 8.5)

  2. Step 100

    100

    #F5E5E7

    oklch(93.5% 0.018 8.8)

  3. Step 200

    200

    #EFD0D3

    oklch(88.4% 0.035 11.2)

  4. Step 300

    300

    #E5B1B6

    oklch(80.9% 0.061 12.1)

  5. Step 400

    400

    #D68790

    oklch(70.8% 0.097 12.4)

  6. Step 500

    500

    #C96675

    oklch(63% 0.126 11.8)

  7. Step 600

    600

    #B44C5E

    oklch(55.6% 0.136 12)

  8. Step 700

    700

    #9B3C4D

    oklch(49.1% 0.127 12.2)

  9. Step 800

    800

    #7E323F

    oklch(42.7% 0.106 12.2)

  10. Step 900

    900

    #662D36

    oklch(37.8% 0.082 12)

  11. Step 950

    950 (this color)

    #331318

    oklch(23.8% 0.052 12.1)

Export this scale for Tailwind in the Tailwind colors tool

#331318 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)#1A19180.056
Deuteranopia (no green cones)#2220170.053
Tritanopia (no blue cones)#380F150.014
Achromatopsia (no color)#1D1D1D0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #331318

    #331318

    oklch(23.8% 0.052 12.1)

  • #002524

    #002524

    oklch(23.9% 0.041 192.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331318

    #331318

    oklch(23.8% 0.052 12.1)

  • #2F1425

    #2F1425

    oklch(23.8% 0.051 343.2)

  • #331509

    #331509

    oklch(23.8% 0.053 41.7)

Open the analogous palette in the generator

Split complementary

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

  • #331318

    #331318

    oklch(23.8% 0.052 12.1)

  • #002617

    #002617

    oklch(23.7% 0.052 162.2)

  • #00232E

    #00232E

    oklch(23.8% 0.044 223.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331318

    #331318

    oklch(23.8% 0.052 12.1)

  • #152407

    #152407

    oklch(23.9% 0.053 132.2)

  • #0A2036

    #0A2036

    oklch(23.9% 0.051 250.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331318

    #331318

    oklch(23.8% 0.052 12.1)

  • #231F00

    #231F00

    oklch(23.6% 0.05 102.5)

  • #002524

    #002524

    oklch(23.9% 0.041 192.1)

  • #1B1B36

    #1B1B36

    oklch(23.7% 0.051 281.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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