#AB2164

Closest named color: Violet Red (#A50055). oklch(49.8% 0.18 357), rgb(171, 33, 100).

Aa

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

About this color

#AB2164 is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.180 and its hue 357°. Its hue sits on the warm side of the wheel. The nearest named color is Violet Red (#A50055), ΔE 0.034 away. White text reads best on it, at 6.70:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.180)
Temperaturewarm
Nearest nameViolet Red (#A50055)
Black text3.13:1
White text6.70:1

Values

HEX#AB2164
RGBrgb(171, 33, 100)
HSLhsl(331, 68%, 40%)
OKLCHoklch(49.8% 0.18 357)

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 #AB2164 6.70:1 AA Lc -86.7 Fine for body text
Black text on #AB2164 3.13:1 AA large text Lc 22.4 Dividers and decoration only
#AB2164 text on white 6.70:1 AA Lc 81.6 Fine for body text
#AB2164 text on black 3.13:1 AA large text Lc -20.3 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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #F9E3EA

    oklch(93.6% 0.026 356.3)

  3. Step 200

    200

    #F5CDD9

    oklch(88.6% 0.048 358.2)

  4. Step 300

    300

    #EFA9C1

    oklch(80.8% 0.087 357)

  5. Step 400

    400

    #E479A2

    oklch(70.8% 0.139 356.9)

  6. Step 500

    500

    #D9518B

    oklch(63.2% 0.179 357.1)

  7. Step 600

    600

    #C42E75

    oklch(55.7% 0.194 357)

  8. Step 700

    700 (this color)

    #AB2164

    oklch(49.8% 0.18 357)

  9. Step 800

    800

    #891D50

    oklch(42.7% 0.149 357.1)

  10. Step 900

    900

    #6E1F42

    oklch(37.6% 0.116 357.1)

  11. Step 950

    950

    #411427

    oklch(27% 0.073 356.9)

Export this scale for Tailwind in the Tailwind colors tool

#AB2164 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)#404B660.204
Deuteranopia (no green cones)#6665610.181
Tritanopia (no blue cones)#B903400.058
Achromatopsia (no color)#5C5C5C0.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB2164

    #AB2164

    oklch(49.8% 0.18 357)

  • #007362

    #007362

    oklch(49.7% 0.092 177.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB2164

    #AB2164

    oklch(49.8% 0.18 357)

  • #943096

    #943096

    oklch(49.7% 0.18 327.1)

  • #B32221

    #B32221

    oklch(49.9% 0.181 27.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB2164

    #AB2164

    oklch(49.8% 0.18 357)

  • #007829

    #007829

    oklch(49.9% 0.148 147)

  • #00707B

    #00707B

    oklch(49.8% 0.085 206.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB2164

    #AB2164

    oklch(49.8% 0.18 357)

  • #5F6A00

    #5F6A00

    oklch(49.8% 0.114 116.6)

  • #006A98

    #006A98

    oklch(49.7% 0.109 237.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB2164

    #AB2164

    oklch(49.8% 0.18 357)

  • #7C5E00

    #7C5E00

    oklch(49.9% 0.102 86.8)

  • #007362

    #007362

    oklch(49.7% 0.092 177.7)

  • #3556C7

    #3556C7

    oklch(49.7% 0.18 267.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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