#842B27

Closest named color: Red Brown (#8B2E16). oklch(42.2% 0.123 26.3), rgb(132, 43, 39).

Aa

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

About this color

#842B27 is a dark, moderately saturated red. In OKLCH its lightness is 42%, its chroma 0.123 and its hue 26°. Its hue sits on the warm side of the wheel. The nearest named color is Red Brown (#8B2E16), ΔE 0.026 away. White text reads best on it, at 8.91:1.

Hue familyReds
Lightnessdark (42%)
Chromamoderately saturated (0.123)
Temperaturewarm
Nearest nameRed Brown (#8B2E16)
Black text2.35:1
White text8.91:1

Values

HEX#842B27
RGBrgb(132, 43, 39)
HSLhsl(3, 54%, 34%)
OKLCHoklch(42.2% 0.123 26.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 #842B27 8.91:1 AAA Lc -94.1 Preferred for body text
Black text on #842B27 2.35:1 Fails Lc 14.4 Not readable
#842B27 text on white 8.91:1 AAA Lc 89.6 Fine for body text
#842B27 text on black 2.35:1 Fails Lc -12.7 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 800.

  1. Step 50

    50

    #FCF3F2

    oklch(97.1% 0.01 25.1)

  2. Step 100

    100

    #F8E5E3

    oklch(93.7% 0.021 24.8)

  3. Step 200

    200

    #F3D0CB

    oklch(88.6% 0.04 27.5)

  4. Step 300

    300

    #ECAFA8

    oklch(80.9% 0.073 26.2)

  5. Step 400

    400

    #DF837A

    oklch(70.6% 0.115 26.3)

  6. Step 500

    500

    #D46158

    oklch(63.2% 0.147 26.6)

  7. Step 600

    600

    #BF433E

    oklch(55.5% 0.16 26)

  8. Step 700

    700

    #A43430

    oklch(49% 0.148 26.2)

  9. Step 800

    800 (this color)

    #842B27

    oklch(42.2% 0.123 26.3)

  10. Step 900

    900

    #6C2925

    oklch(37.7% 0.097 26.2)

  11. Step 950

    950

    #3F1916

    oklch(27% 0.06 26.4)

Export this scale for Tailwind in the Tailwind colors tool

#842B27 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)#433E260.131
Deuteranopia (no green cones)#5951240.122
Tritanopia (no blue cones)#91152B0.038
Achromatopsia (no color)#4A4A4A0.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #842B27

    #842B27

    oklch(42.2% 0.123 26.3)

  • #005961

    #005961

    oklch(42.4% 0.072 205.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #842B27

    #842B27

    oklch(42.2% 0.123 26.3)

  • #7F2A4F

    #7F2A4F

    oklch(42.3% 0.123 356.8)

  • #773C00

    #773C00

    oklch(42.3% 0.103 56.3)

Open the analogous palette in the generator

Split complementary

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

  • #842B27

    #842B27

    oklch(42.2% 0.123 26.3)

  • #005B4C

    #005B4C

    oklch(42.1% 0.078 176.4)

  • #005479

    #005479

    oklch(42.2% 0.092 236.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #842B27

    #842B27

    oklch(42.2% 0.123 26.3)

  • #085E1F

    #085E1F

    oklch(42.1% 0.122 146.5)

  • #2E4890

    #2E4890

    oklch(42.2% 0.123 266.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #842B27

    #842B27

    oklch(42.2% 0.123 26.3)

  • #4B5400

    #4B5400

    oklch(42.3% 0.097 116.7)

  • #005961

    #005961

    oklch(42.4% 0.072 205.4)

  • #553B88

    #553B88

    oklch(42.1% 0.124 296.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #842B27 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.