#331B24

Closest named color: Jet (#212529). oklch(25.8% 0.04 356.3), rgb(51, 27, 36).

Aa

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

About this color

#331B24 is a dark, muted red. In OKLCH its lightness is 26%, its chroma 0.040 and its hue 356°. Its hue sits on the warm side of the wheel. The nearest named color is Jet (#212529), ΔE 0.044 away. White text reads best on it, at 15.87:1.

Hue familyReds
Lightnessdark (26%)
Chromamuted (0.040)
Temperaturewarm
Nearest nameJet (#212529)
Black text1.32:1
White text15.87:1

Values

HEX#331B24
RGBrgb(51, 27, 36)
HSLhsl(338, 31%, 15%)
OKLCHoklch(25.8% 0.04 356.3)

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 #331B24 15.87:1 AAA Lc -105.3 Preferred for body text
Black text on #331B24 1.32:1 Fails Lc 0.0 Not readable
#331B24 text on white 15.87:1 AAA Lc 102.7 Preferred for body text
#331B24 text on black 1.32: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

    #F9F4F5

    oklch(97.1% 0.006 3.3)

  2. Step 100

    100

    #F2E6EA

    oklch(93.6% 0.014 355)

  3. Step 200

    200

    #E9D2D9

    oklch(88.5% 0.027 357.3)

  4. Step 300

    300

    #DBB4C1

    oklch(80.8% 0.048 356.2)

  5. Step 400

    400

    #C88DA2

    oklch(70.7% 0.076 356.2)

  6. Step 500

    500

    #B8708B

    oklch(63.1% 0.097 356.2)

  7. Step 600

    600

    #A35775

    oklch(55.5% 0.106 356)

  8. Step 700

    700

    #8C4762

    oklch(49.1% 0.099 356.6)

  9. Step 800

    800

    #723B50

    oklch(42.8% 0.081 356.8)

  10. Step 900

    900

    #5C3342

    oklch(37.7% 0.062 357.1)

  11. Step 950

    950 (this color)

    #331B24

    oklch(25.8% 0.04 356.3)

Export this scale for Tailwind in the Tailwind colors tool

#331B24 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)#1E20240.044
Deuteranopia (no green cones)#2424230.041
Tritanopia (no blue cones)#371A1E0.013
Achromatopsia (no color)#2222220.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #331B24

    #331B24

    oklch(25.8% 0.04 356.3)

  • #092A23

    #092A23

    oklch(25.9% 0.04 176.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331B24

    #331B24

    oklch(25.8% 0.04 356.3)

  • #2E1C2E

    #2E1C2E

    oklch(25.7% 0.042 326.7)

  • #351C19

    #351C19

    oklch(25.9% 0.04 27.5)

Open the analogous palette in the generator

Split complementary

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

  • #331B24

    #331B24

    oklch(25.8% 0.04 356.3)

  • #162918

    #162918

    oklch(25.9% 0.04 146.8)

  • #05292D

    #05292D

    oklch(25.8% 0.04 205.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331B24

    #331B24

    oklch(25.8% 0.04 356.3)

  • #22260E

    #22260E

    oklch(25.8% 0.041 117.1)

  • #0E2634

    #0E2634

    oklch(25.7% 0.04 236.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331B24

    #331B24

    oklch(25.8% 0.04 356.3)

  • #2C220A

    #2C220A

    oklch(25.8% 0.041 86.5)

  • #092A23

    #092A23

    oklch(25.9% 0.04 176.2)

  • #1A2337

    #1A2337

    oklch(25.8% 0.04 265.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #331B24 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.