#A02838

Closest named color: Brown (#A52A2A). oklch(47.2% 0.155 18.4), rgb(160, 40, 56).

Aa

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

About this color

#A02838 is a medium-dark, vivid red. In OKLCH its lightness is 47%, its chroma 0.155 and its hue 18°. Its hue sits on the warm side of the wheel. The nearest named color is Brown (#A52A2A), ΔE 0.022 away. White text reads best on it, at 7.35:1.

Hue familyReds
Lightnessmedium-dark (47%)
Chromavivid (0.155)
Temperaturewarm
Nearest nameBrown (#A52A2A)
Black text2.85:1
White text7.35:1

Values

HEX#A02838
RGBrgb(160, 40, 56)
HSLhsl(352, 60%, 39%)
OKLCHoklch(47.2% 0.155 18.4)

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 #A02838 7.35:1 AAA Lc -89.3 Fine for body text
Black text on #A02838 2.85:1 Fails Lc 19.7 Dividers and decoration only
#A02838 text on white 7.35:1 AAA Lc 84.3 Fine for body text
#A02838 text on black 2.85:1 Fails Lc -17.7 Dividers and decoration only

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 700.

  1. Step 50

    50

    #FCF3F3

    oklch(97.1% 0.01 17.3)

  2. Step 100

    100

    #F8E4E4

    oklch(93.5% 0.022 17.6)

  3. Step 200

    200

    #F4CFCF

    oklch(88.6% 0.042 18)

  4. Step 300

    300

    #EDAEAE

    oklch(80.9% 0.074 18.8)

  5. Step 400

    400

    #E18083

    oklch(70.6% 0.12 18.6)

  6. Step 500

    500

    #D65C65

    oklch(63.1% 0.154 18.2)

  7. Step 600

    600

    #C13E4C

    oklch(55.6% 0.166 18.4)

  8. Step 700

    700 (this color)

    #A02838

    oklch(47.2% 0.155 18.4)

  9. Step 800

    800

    #872833

    oklch(42.6% 0.129 18)

  10. Step 900

    900

    #6D272C

    oklch(37.8% 0.1 19)

  11. Step 950

    950

    #40181A

    oklch(27.1% 0.063 19.2)

Export this scale for Tailwind in the Tailwind colors tool

#A02838 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)#4A46380.170
Deuteranopia (no green cones)#685F350.156
Tritanopia (no blue cones)#B0002F0.038
Achromatopsia (no color)#5656560.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #A02838

    #A02838

    oklch(47.2% 0.155 18.4)

  • #00696C

    #00696C

    oklch(47.3% 0.08 198.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A02838

    #A02838

    oklch(47.2% 0.155 18.4)

  • #952B6A

    #952B6A

    oklch(47.1% 0.155 348.1)

  • #924000

    #924000

    oklch(47.3% 0.127 48.7)

Open the analogous palette in the generator

Split complementary

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

  • #A02838

    #A02838

    oklch(47.2% 0.155 18.4)

  • #006C51

    #006C51

    oklch(47.2% 0.095 168.1)

  • #006584

    #006584

    oklch(47.3% 0.092 227.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A02838

    #A02838

    oklch(47.2% 0.155 18.4)

  • #286D00

    #286D00

    oklch(47.2% 0.147 138.3)

  • #1857B0

    #1857B0

    oklch(47.1% 0.155 258.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A02838

    #A02838

    oklch(47.2% 0.155 18.4)

  • #615F00

    #615F00

    oklch(47.2% 0.102 108.3)

  • #00696C

    #00696C

    oklch(47.3% 0.08 198.2)

  • #5B46AB

    #5B46AB

    oklch(47.1% 0.155 288.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #A02838 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.