#5F271F

Closest named color: Reddy Brown (#6E1005). oklch(35.1% 0.084 30.1), rgb(95, 39, 31).

Aa

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

About this color

#5F271F is a dark, moderately saturated red. In OKLCH its lightness is 35%, its chroma 0.084 and its hue 30°. Its hue sits on the warm side of the wheel. The nearest named color is Reddy Brown (#6E1005), ΔE 0.045 away. White text reads best on it, at 11.68:1.

Hue familyReds
Lightnessdark (35%)
Chromamoderately saturated (0.084)
Temperaturewarm
Nearest nameReddy Brown (#6E1005)
Black text1.79:1
White text11.68:1

Values

HEX#5F271F
RGBrgb(95, 39, 31)
HSLhsl(8, 51%, 25%)
OKLCHoklch(35.1% 0.084 30.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 #5F271F 11.68:1 AAA Lc -100.1 Preferred for body text
Black text on #5F271F 1.79:1 Fails Lc 7.5 Not readable
#5F271F text on white 11.68:1 AAA Lc 96.4 Preferred for body text
#5F271F text on black 1.79: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 900.

  1. Step 50

    50

    #FBF3F2

    oklch(97% 0.009 26)

  2. Step 100

    100

    #F6E6E3

    oklch(93.7% 0.018 30.3)

  3. Step 200

    200

    #EFD1CC

    oklch(88.4% 0.034 29)

  4. Step 300

    300

    #E6B2A9

    oklch(80.8% 0.062 29.7)

  5. Step 400

    400

    #D8887B

    oklch(70.7% 0.101 29.8)

  6. Step 500

    500

    #CB6859

    oklch(63% 0.129 30)

  7. Step 600

    600

    #B74E3F

    oklch(55.7% 0.14 30.3)

  8. Step 700

    700

    #9D3E31

    oklch(49.2% 0.13 30.2)

  9. Step 800

    800

    #7F3429

    oklch(42.7% 0.107 30.5)

  10. Step 900

    900 (this color)

    #5F271F

    oklch(35.1% 0.084 30.1)

  11. Step 950

    950

    #3C1B16

    oklch(26.8% 0.053 29.9)

Export this scale for Tailwind in the Tailwind colors tool

#5F271F 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)#35311E0.087
Deuteranopia (no green cones)#433D1E0.080
Tritanopia (no blue cones)#681C250.031
Achromatopsia (no color)#3838380.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F271F

    #5F271F

    oklch(35.1% 0.084 30.1)

  • #00434C

    #00434C

    oklch(35.1% 0.061 209.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F271F

    #5F271F

    oklch(35.1% 0.084 30.1)

  • #5C2539

    #5C2539

    oklch(35% 0.084 359.5)

  • #592E00

    #592E00

    oklch(35% 0.083 59.6)

Open the analogous palette in the generator

Split complementary

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

  • #5F271F

    #5F271F

    oklch(35.1% 0.084 30.1)

  • #00453C

    #00453C

    oklch(35% 0.063 180.5)

  • #003F60

    #003F60

    oklch(35.1% 0.08 240.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F271F

    #5F271F

    oklch(35.1% 0.084 30.1)

  • #104622

    #104622

    oklch(34.9% 0.083 150.4)

  • #2A3766

    #2A3766

    oklch(35.1% 0.084 270)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F271F

    #5F271F

    oklch(35.1% 0.084 30.1)

  • #354100

    #354100

    oklch(35.2% 0.084 120.7)

  • #00434C

    #00434C

    oklch(35.1% 0.061 209.8)

  • #422F5F

    #422F5F

    oklch(35.1% 0.083 300.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5F271F 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.