#AB2870

Closest named color: Red Violet (#9E0168). oklch(50.8% 0.179 352), rgb(171, 40, 112).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.179)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text3.26:1
White text6.42:1

Values

HEX#AB2870
RGBrgb(171, 40, 112)
HSLhsl(327, 62%, 41%)
OKLCHoklch(50.8% 0.179 352)

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 #AB2870 6.42:1 AA Lc -85.8 Fine for body text
Black text on #AB2870 3.26:1 AA large text Lc 23.4 Dividers and decoration only
#AB2870 text on white 6.42:1 AA Lc 80.6 Fine for body text
#AB2870 text on black 3.26:1 AA large text Lc -21.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

    #FCF2F6

    oklch(97% 0.012 351)

  2. Step 100

    100

    #F8E3EB

    oklch(93.5% 0.025 352.5)

  3. Step 200

    200

    #F4CDDC

    oklch(88.6% 0.048 353)

  4. Step 300

    300

    #EDAAC6

    oklch(80.9% 0.086 352.4)

  5. Step 400

    400

    #E17AAA

    oklch(70.8% 0.138 351.9)

  6. Step 500

    500

    #D55395

    oklch(63.1% 0.177 351.8)

  7. Step 600

    600

    #C0317F

    oklch(55.6% 0.192 351.9)

  8. Step 700

    700 (this color)

    #AB2870

    oklch(50.8% 0.179 352)

  9. Step 800

    800

    #861F57

    oklch(42.6% 0.147 352.1)

  10. Step 900

    900

    #6C2148

    oklch(37.7% 0.115 351.9)

  11. Step 950

    950

    #40142A

    oklch(27% 0.074 352.1)

Export this scale for Tailwind in the Tailwind colors tool

#AB2870 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)#4050720.200
Deuteranopia (no green cones)#65676D0.177
Tritanopia (no blue cones)#B81C490.064
Achromatopsia (no color)#5F5F5F0.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB2870

    #AB2870

    oklch(50.8% 0.179 352)

  • #00775F

    #00775F

    oklch(50.7% 0.098 172.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB2870

    #AB2870

    oklch(50.8% 0.179 352)

  • #9237A0

    #9237A0

    oklch(50.7% 0.178 322.1)

  • #B52633

    #B52633

    oklch(50.8% 0.178 22.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB2870

    #AB2870

    oklch(50.8% 0.179 352)

  • #0C7C00

    #0C7C00

    oklch(50.9% 0.171 142)

  • #00747A

    #00747A

    oklch(50.8% 0.086 201.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB2870

    #AB2870

    oklch(50.8% 0.179 352)

  • #686B00

    #686B00

    oklch(50.8% 0.112 111.7)

  • #006F96

    #006F96

    oklch(50.8% 0.103 231.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB2870

    #AB2870

    oklch(50.8% 0.179 352)

  • #835E00

    #835E00

    oklch(50.7% 0.105 81.7)

  • #00775F

    #00775F

    oklch(50.7% 0.098 172.2)

  • #265DC9

    #265DC9

    oklch(50.7% 0.178 262)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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