#A02871

Closest named color: Red Violet (#9E0168). oklch(49% 0.171 348), rgb(160, 40, 113).

Aa

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

About this color

#A02871 is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.171 and its hue 348°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.036 away. White text reads best on it, at 6.91:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.171)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text3.03:1
White text6.91:1

Values

HEX#A02871
RGBrgb(160, 40, 113)
HSLhsl(324, 60%, 39%)
OKLCHoklch(49% 0.171 348)

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 #A02871 6.91:1 AA Lc -87.8 Fine for body text
Black text on #A02871 3.03:1 AA large text Lc 21.3 Dividers and decoration only
#A02871 text on white 6.91:1 AA Lc 82.8 Fine for body text
#A02871 text on black 3.03:1 AA large text Lc -19.2 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

    #FCF3F7

    oklch(97.2% 0.011 348.4)

  2. Step 100

    100

    #F7E4ED

    oklch(93.7% 0.024 347.2)

  3. Step 200

    200

    #F1CDDE

    oklch(88.4% 0.046 348)

  4. Step 300

    300

    #EAABCA

    oklch(80.9% 0.084 348.1)

  5. Step 400

    400

    #DC7CAF

    oklch(70.6% 0.133 347.9)

  6. Step 500

    500

    #D0579B

    oklch(63.1% 0.17 348.2)

  7. Step 600

    600

    #BB3886

    oklch(55.7% 0.184 348.1)

  8. Step 700

    700 (this color)

    #A02871

    oklch(49% 0.171 348)

  9. Step 800

    800

    #82245C

    oklch(42.6% 0.141 348.1)

  10. Step 900

    900

    #69234C

    oklch(37.6% 0.111 347.6)

  11. Step 950

    950

    #3E162C

    oklch(27% 0.069 348.6)

Export this scale for Tailwind in the Tailwind colors tool

#A02871 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)#3A4D730.190
Deuteranopia (no green cones)#5D616E0.167
Tritanopia (no blue cones)#AC23490.068
Achromatopsia (no color)#5A5A5A0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #A02871

    #A02871

    oklch(49% 0.171 348)

  • #007255

    #007255

    oklch(49% 0.1 167.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A02871

    #A02871

    oklch(49% 0.171 348)

  • #87379D

    #87379D

    oklch(49% 0.17 318.3)

  • #AC233A

    #AC233A

    oklch(49% 0.171 17.8)

Open the analogous palette in the generator

Split complementary

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

  • #A02871

    #A02871

    oklch(49% 0.171 348)

  • #2C7300

    #2C7300

    oklch(49.1% 0.152 138.1)

  • #006E71

    #006E71

    oklch(48.9% 0.083 198.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A02871

    #A02871

    oklch(49% 0.171 348)

  • #676400

    #676400

    oklch(49% 0.105 107.7)

  • #006A8B

    #006A8B

    oklch(49% 0.096 228.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A02871

    #A02871

    oklch(49% 0.171 348)

  • #805800

    #805800

    oklch(49.1% 0.102 78.1)

  • #007255

    #007255

    oklch(49% 0.1 167.6)

  • #0F5BBE

    #0F5BBE

    oklch(48.9% 0.171 258)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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