#331F25

Closest named color: Jet (#212529). oklch(26.7% 0.033 0), rgb(51, 31, 37).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (27%)
Chromamuted (0.033)
Temperaturewarm
Nearest nameJet (#212529)
Black text1.36:1
White text15.40:1

Values

HEX#331F25
RGBrgb(51, 31, 37)
HSLhsl(342, 24%, 16%)
OKLCHoklch(26.7% 0.033 0)

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 #331F25 15.40:1 AAA Lc -105.0 Preferred for body text
Black text on #331F25 1.36:1 Fails Lc 0.0 Not readable
#331F25 text on white 15.40:1 AAA Lc 102.3 Preferred for body text
#331F25 text on black 1.36: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

    #F1E7E9

    oklch(93.6% 0.011 3.5)

  3. Step 200

    200

    #E6D4D8

    oklch(88.6% 0.021 2.3)

  4. Step 300

    300

    #D7B7BF

    oklch(80.9% 0.038 1.2)

  5. Step 400

    400

    #C2919F

    oklch(70.7% 0.062 360)

  6. Step 500

    500

    #B17587

    oklch(63% 0.079 0.1)

  7. Step 600

    600

    #9C5D71

    oklch(55.5% 0.086 359.8)

  8. Step 700

    700

    #854D5F

    oklch(49.1% 0.079 359.7)

  9. Step 800

    800

    #6C3F4D

    oklch(42.6% 0.065 0.2)

  10. Step 900

    900

    #583640

    oklch(37.7% 0.051 0.7)

  11. Step 950

    950 (this color)

    #331F25

    oklch(26.7% 0.033 0)

Export this scale for Tailwind in the Tailwind colors tool

#331F25 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)#2223250.035
Deuteranopia (no green cones)#2626250.033
Tritanopia (no blue cones)#361E210.009
Achromatopsia (no color)#2525250.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #331F25

    #331F25

    oklch(26.7% 0.033 0)

  • #122B26

    #122B26

    oklch(26.7% 0.033 179.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331F25

    #331F25

    oklch(26.7% 0.033 0)

  • #2F202D

    #2F202D

    oklch(26.7% 0.032 331.1)

  • #34201C

    #34201C

    oklch(26.8% 0.032 31.8)

Open the analogous palette in the generator

Split complementary

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

  • #331F25

    #331F25

    oklch(26.7% 0.033 0)

  • #1A2A1D

    #1A2A1D

    oklch(26.6% 0.032 149.6)

  • #102A2E

    #102A2E

    oklch(26.6% 0.033 208.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331F25

    #331F25

    oklch(26.7% 0.033 0)

  • #242816

    #242816

    oklch(26.7% 0.032 118.8)

  • #162834

    #162834

    oklch(26.7% 0.033 238.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331F25

    #331F25

    oklch(26.7% 0.033 0)

  • #2C2513

    #2C2513

    oklch(26.7% 0.032 88.9)

  • #122B26

    #122B26

    oklch(26.7% 0.033 179.1)

  • #1F2536

    #1F2536

    oklch(26.7% 0.033 269.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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