#331217

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

Aa

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

About this color

#331217 is a very dark, muted red. In OKLCH its lightness is 24%, its chroma 0.054 and its hue 13°. 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.94:1.

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

Values

HEX#331217
RGBrgb(51, 18, 23)
HSLhsl(351, 48%, 14%)
OKLCHoklch(23.6% 0.054 12.7)

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 #331217 16.94:1 AAA Lc -106.0 Preferred for body text
Black text on #331217 1.23:1 Fails Lc 0.0 Not readable
#331217 text on white 16.94:1 AAA Lc 103.6 Preferred for body text
#331217 text on black 1.23: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

    #F6E5E6

    oklch(93.6% 0.019 13.4)

  3. Step 200

    200

    #EFD0D3

    oklch(88.4% 0.035 11.2)

  4. Step 300

    300

    #E6B0B5

    oklch(80.8% 0.063 12.4)

  5. Step 400

    400

    #D8868F

    oklch(70.8% 0.101 12.9)

  6. Step 500

    500

    #CB6573

    oklch(63.1% 0.13 12.9)

  7. Step 600

    600

    #B64A5C

    oklch(55.6% 0.14 12.7)

  8. Step 700

    700

    #9C3A4B

    oklch(49% 0.131 12.9)

  9. Step 800

    800

    #7F313E

    oklch(42.7% 0.108 12.8)

  10. Step 900

    900

    #672C35

    oklch(37.8% 0.085 12.6)

  11. Step 950

    950 (this color)

    #331217

    oklch(23.6% 0.054 12.7)

Export this scale for Tailwind in the Tailwind colors tool

#331217 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)#1918170.058
Deuteranopia (no green cones)#211F160.055
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°).

  • #331217

    #331217

    oklch(23.6% 0.054 12.7)

  • #002423

    #002423

    oklch(23.5% 0.04 192)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331217

    #331217

    oklch(23.6% 0.054 12.7)

  • #2F1325

    #2F1325

    oklch(23.6% 0.053 342.7)

  • #331408

    #331408

    oklch(23.6% 0.054 41.2)

Open the analogous palette in the generator

Split complementary

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

  • #331217

    #331217

    oklch(23.6% 0.054 12.7)

  • #002517

    #002517

    oklch(23.4% 0.05 163.4)

  • #00222D

    #00222D

    oklch(23.4% 0.044 223.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331217

    #331217

    oklch(23.6% 0.054 12.7)

  • #142306

    #142306

    oklch(23.5% 0.053 132.2)

  • #091F37

    #091F37

    oklch(23.6% 0.054 252.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331217

    #331217

    oklch(23.6% 0.054 12.7)

  • #231F00

    #231F00

    oklch(23.6% 0.05 102.5)

  • #002423

    #002423

    oklch(23.5% 0.04 192)

  • #1B1A36

    #1B1A36

    oklch(23.5% 0.053 283.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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