#331A28

Closest named color: Jet (#212529). oklch(25.8% 0.045 346.1), rgb(51, 26, 40).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (26%)
Chromamuted (0.045)
Temperaturewarm
Nearest nameJet (#212529)
Black text1.31:1
White text15.91:1

Values

HEX#331A28
RGBrgb(51, 26, 40)
HSLhsl(326, 32%, 15%)
OKLCHoklch(25.8% 0.045 346.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 #331A28 15.91:1 AAA Lc -105.4 Preferred for body text
Black text on #331A28 1.31:1 Fails Lc 0.0 Not readable
#331A28 text on white 15.91:1 AAA Lc 102.8 Preferred for body text
#331A28 text on black 1.31: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

    #F9F4F6

    oklch(97.2% 0.006 350.8)

  2. Step 100

    100

    #F2E6EC

    oklch(93.6% 0.015 345.6)

  3. Step 200

    200

    #E9D2DD

    oklch(88.6% 0.029 347.1)

  4. Step 300

    300

    #DBB3C8

    oklch(80.8% 0.054 345.5)

  5. Step 400

    400

    #C88BAC

    oklch(70.7% 0.086 345.9)

  6. Step 500

    500

    #B96D97

    oklch(63.1% 0.11 346.4)

  7. Step 600

    600

    #A45482

    oklch(55.7% 0.119 346.1)

  8. Step 700

    700

    #8C446E

    oklch(49.1% 0.111 345.9)

  9. Step 800

    800

    #723859

    oklch(42.7% 0.092 346.5)

  10. Step 900

    900

    #5C314A

    oklch(37.7% 0.071 345.2)

  11. Step 950

    950 (this color)

    #331A28

    oklch(25.8% 0.045 346.1)

Export this scale for Tailwind in the Tailwind colors tool

#331A28 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)#1C1F290.047
Deuteranopia (no green cones)#2224270.046
Tritanopia (no blue cones)#361A1F0.018
Achromatopsia (no color)#2222220.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #331A28

    #331A28

    oklch(25.8% 0.045 346.1)

  • #082A1E

    #082A1E

    oklch(25.7% 0.045 165.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331A28

    #331A28

    oklch(25.8% 0.045 346.1)

  • #2C1C32

    #2C1C32

    oklch(25.7% 0.046 316.5)

  • #361A1C

    #361A1C

    oklch(25.8% 0.044 16.1)

Open the analogous palette in the generator

Split complementary

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

  • #331A28

    #331A28

    oklch(25.8% 0.045 346.1)

  • #192812

    #192812

    oklch(25.6% 0.044 136.3)

  • #002A2A

    #002A2A

    oklch(25.8% 0.044 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331A28

    #331A28

    oklch(25.8% 0.045 346.1)

  • #262508

    #262508

    oklch(25.8% 0.045 107.3)

  • #042834

    #042834

    oklch(25.9% 0.045 225)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331A28

    #331A28

    oklch(25.8% 0.045 346.1)

  • #302007

    #302007

    oklch(25.8% 0.045 75.4)

  • #082A1E

    #082A1E

    oklch(25.7% 0.045 165.9)

  • #142439

    #142439

    oklch(25.8% 0.045 255.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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