#331218

Closest named color: Dark Maroon (#3C0008). oklch(23.6% 0.054 10.8), rgb(51, 18, 24).

Aa

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

About this color

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

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

Values

HEX#331218
RGBrgb(51, 18, 24)
HSLhsl(349, 48%, 14%)
OKLCHoklch(23.6% 0.054 10.8)

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 #331218 16.92:1 AAA Lc -106.0 Preferred for body text
Black text on #331218 1.24:1 Fails Lc 0.0 Not readable
#331218 text on white 16.92:1 AAA Lc 103.6 Preferred for body text
#331218 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

    #F6E5E7

    oklch(93.6% 0.019 9.3)

  3. Step 200

    200

    #EFD0D3

    oklch(88.4% 0.035 11.2)

  4. Step 300

    300

    #E6B0B7

    oklch(80.8% 0.064 9.9)

  5. Step 400

    400

    #D88591

    oklch(70.7% 0.103 10.7)

  6. Step 500

    500

    #CB6576

    oklch(63.2% 0.13 11)

  7. Step 600

    600

    #B64A5F

    oklch(55.7% 0.141 10.9)

  8. Step 700

    700

    #9C3A4E

    oklch(49.1% 0.131 10.9)

  9. Step 800

    800

    #7F3140

    oklch(42.7% 0.109 11.1)

  10. Step 900

    900

    #662C36

    oklch(37.6% 0.084 11.3)

  11. Step 950

    950 (this color)

    #331218

    oklch(23.6% 0.054 10.8)

Export this scale for Tailwind in the Tailwind colors tool

#331218 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)#1919180.059
Deuteranopia (no green cones)#211F170.054
Tritanopia (no blue cones)#380E140.014
Achromatopsia (no color)#1D1D1D0.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #331218

    #331218

    oklch(23.6% 0.054 10.8)

  • #002423

    #002423

    oklch(23.5% 0.04 192)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331218

    #331218

    oklch(23.6% 0.054 10.8)

  • #2F1326

    #2F1326

    oklch(23.7% 0.054 340.9)

  • #331409

    #331409

    oklch(23.6% 0.054 39.8)

Open the analogous palette in the generator

Split complementary

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

  • #331218

    #331218

    oklch(23.6% 0.054 10.8)

  • #002616

    #002616

    oklch(23.7% 0.053 160.8)

  • #00232C

    #00232C

    oklch(23.7% 0.043 218.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331218

    #331218

    oklch(23.6% 0.054 10.8)

  • #152306

    #152306

    oklch(23.5% 0.053 131.1)

  • #081F37

    #081F37

    oklch(23.6% 0.055 252)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331218

    #331218

    oklch(23.6% 0.054 10.8)

  • #231F00

    #231F00

    oklch(23.6% 0.05 102.5)

  • #002423

    #002423

    oklch(23.5% 0.04 192)

  • #1A1A37

    #1A1A37

    oklch(23.5% 0.055 281.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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