#AB2163

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

Aa

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

About this color

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

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

Values

HEX#AB2163
RGBrgb(171, 33, 99)
HSLhsl(331, 68%, 40%)
OKLCHoklch(49.8% 0.18 357.5)

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 #AB2163 6.71:1 AA Lc -86.7 Fine for body text
Black text on #AB2163 3.12:1 AA large text Lc 22.4 Dividers and decoration only
#AB2163 text on white 6.71:1 AA Lc 81.6 Fine for body text
#AB2163 text on black 3.12:1 AA large text Lc -20.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

    #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

    #E479A1

    oklch(70.7% 0.139 357.5)

  6. Step 500

    500

    #D9518A

    oklch(63.1% 0.178 357.5)

  7. Step 600

    600

    #C42E74

    oklch(55.6% 0.193 357.4)

  8. Step 700

    700 (this color)

    #AB2163

    oklch(49.8% 0.18 357.5)

  9. Step 800

    800

    #891D4F

    oklch(42.7% 0.149 357.7)

  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

#AB2163 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)#414B650.203
Deuteranopia (no green cones)#6665600.181
Tritanopia (no blue cones)#B9023F0.058
Achromatopsia (no color)#5C5C5C0.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB2163

    #AB2163

    oklch(49.8% 0.18 357.5)

  • #007362

    #007362

    oklch(49.7% 0.092 177.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB2163

    #AB2163

    oklch(49.8% 0.18 357.5)

  • #953096

    #953096

    oklch(49.8% 0.18 327.5)

  • #B22320

    #B22320

    oklch(49.7% 0.179 27.6)

Open the analogous palette in the generator

Split complementary

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

  • #AB2163

    #AB2163

    oklch(49.8% 0.18 357.5)

  • #00772B

    #00772B

    oklch(49.6% 0.145 147.6)

  • #00707C

    #00707C

    oklch(49.9% 0.086 207.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB2163

    #AB2163

    oklch(49.8% 0.18 357.5)

  • #5E6A00

    #5E6A00

    oklch(49.7% 0.115 117.2)

  • #006A99

    #006A99

    oklch(49.7% 0.11 237.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB2163

    #AB2163

    oklch(49.8% 0.18 357.5)

  • #7B5E00

    #7B5E00

    oklch(49.8% 0.102 87.6)

  • #007362

    #007362

    oklch(49.7% 0.092 177.7)

  • #3656C7

    #3656C7

    oklch(49.7% 0.18 267.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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