#331F21

Closest named color: Jet (#212529). oklch(26.6% 0.031 12.8), rgb(51, 31, 33).

Aa

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

About this color

#331F21 is a dark, muted red. In OKLCH its lightness is 27%, its chroma 0.031 and its hue 13°. Its hue sits on the warm side of the wheel. The nearest named color is Jet (#212529), ΔE 0.038 away. White text reads best on it, at 15.45:1.

Hue familyReds
Lightnessdark (27%)
Chromamuted (0.031)
Temperaturewarm
Nearest nameJet (#212529)
Black text1.35:1
White text15.45:1

Values

HEX#331F21
RGBrgb(51, 31, 33)
HSLhsl(354, 24%, 16%)
OKLCHoklch(26.6% 0.031 12.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 #331F21 15.45:1 AAA Lc -105.0 Preferred for body text
Black text on #331F21 1.35:1 Fails Lc 0.0 Not readable
#331F21 text on white 15.45:1 AAA Lc 102.3 Preferred for body text
#331F21 text on black 1.35: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

    #F9F4F4

    oklch(97.1% 0.005 17.2)

  2. Step 100

    100

    #F1E7E8

    oklch(93.6% 0.011 10.3)

  3. Step 200

    200

    #E6D4D5

    oklch(88.5% 0.02 13.7)

  4. Step 300

    300

    #D8B7BA

    oklch(80.9% 0.038 11.8)

  5. Step 400

    400

    #C39296

    oklch(70.8% 0.06 13.2)

  6. Step 500

    500

    #B2767C

    oklch(63% 0.076 12.9)

  7. Step 600

    600

    #9D5E66

    oklch(55.5% 0.083 11.9)

  8. Step 700

    700

    #864E54

    oklch(49.1% 0.076 13.3)

  9. Step 800

    800

    #6D4045

    oklch(42.7% 0.063 12.9)

  10. Step 900

    900

    #59363A

    oklch(37.6% 0.051 12.3)

  11. Step 950

    950 (this color)

    #331F21

    oklch(26.6% 0.031 12.8)

Export this scale for Tailwind in the Tailwind colors tool

#331F21 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)#2222210.035
Deuteranopia (no green cones)#2726210.032
Tritanopia (no blue cones)#371D200.010
Achromatopsia (no color)#2424240.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #331F21

    #331F21

    oklch(26.6% 0.031 12.8)

  • #112A29

    #112A29

    oklch(26.5% 0.031 192)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331F21

    #331F21

    oklch(26.6% 0.031 12.8)

  • #301F29

    #301F29

    oklch(26.5% 0.031 343.3)

  • #332019

    #332019

    oklch(26.5% 0.032 41)

Open the analogous palette in the generator

Split complementary

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

  • #331F21

    #331F21

    oklch(26.6% 0.031 12.8)

  • #162A21

    #162A21

    oklch(26.5% 0.031 163.9)

  • #132930

    #132930

    oklch(26.6% 0.031 220.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331F21

    #331F21

    oklch(26.6% 0.031 12.8)

  • #1F2919

    #1F2919

    oklch(26.6% 0.032 134.2)

  • #1A2634

    #1A2634

    oklch(26.4% 0.031 252.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331F21

    #331F21

    oklch(26.6% 0.031 12.8)

  • #282614

    #282614

    oklch(26.5% 0.031 102.8)

  • #112A29

    #112A29

    oklch(26.5% 0.031 192)

  • #232334

    #232334

    oklch(26.4% 0.032 284)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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