#842A23

Closest named color: Red Brown (#8B2E16). oklch(42% 0.125 28.1), rgb(132, 42, 35).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (42%)
Chromamoderately saturated (0.125)
Temperaturewarm
Nearest nameRed Brown (#8B2E16)
Black text2.33:1
White text8.98:1

Values

HEX#842A23
RGBrgb(132, 42, 35)
HSLhsl(4, 58%, 33%)
OKLCHoklch(42% 0.125 28.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 #842A23 8.98:1 AAA Lc -94.2 Preferred for body text
Black text on #842A23 2.33:1 Fails Lc 14.2 Not readable
#842A23 text on white 8.98:1 AAA Lc 89.7 Fine for body text
#842A23 text on black 2.33:1 Fails Lc -12.5 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

    #F8E5E2

    oklch(93.6% 0.021 28.3)

  3. Step 200

    200

    #F3D0CA

    oklch(88.6% 0.04 29.4)

  4. Step 300

    300

    #ECAFA6

    oklch(80.8% 0.073 28.3)

  5. Step 400

    400

    #E08377

    oklch(70.7% 0.117 28.2)

  6. Step 500

    500

    #D56054

    oklch(63.1% 0.15 28)

  7. Step 600

    600

    #C04339

    oklch(55.6% 0.162 28)

  8. Step 700

    700

    #A5332B

    oklch(49% 0.151 28)

  9. Step 800

    800 (this color)

    #842A23

    oklch(42% 0.125 28.1)

  10. Step 900

    900

    #6C2923

    oklch(37.7% 0.097 27.7)

  11. Step 950

    950

    #401915

    oklch(27.1% 0.062 27.8)

Export this scale for Tailwind in the Tailwind colors tool

#842A23 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)#433D220.132
Deuteranopia (no green cones)#5950200.121
Tritanopia (no blue cones)#9112290.040
Achromatopsia (no color)#4949490.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #842A23

    #842A23

    oklch(42% 0.125 28.1)

  • #005862

    #005862

    oklch(42.1% 0.072 208.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #842A23

    #842A23

    oklch(42% 0.125 28.1)

  • #7F284D

    #7F284D

    oklch(42% 0.125 357.7)

  • #753C00

    #753C00

    oklch(42% 0.101 57.3)

Open the analogous palette in the generator

Split complementary

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

  • #842A23

    #842A23

    oklch(42% 0.125 28.1)

  • #005B4D

    #005B4D

    oklch(42.1% 0.078 177.5)

  • #00537A

    #00537A

    oklch(42% 0.094 238.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #842A23

    #842A23

    oklch(42% 0.125 28.1)

  • #005E22

    #005E22

    oklch(42% 0.121 148.1)

  • #304790

    #304790

    oklch(42.1% 0.124 267.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #842A23

    #842A23

    oklch(42% 0.125 28.1)

  • #495400

    #495400

    oklch(42.1% 0.098 118.1)

  • #005862

    #005862

    oklch(42.1% 0.072 208.1)

  • #573A87

    #573A87

    oklch(42.1% 0.124 298.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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