#AB2155

Closest named color: Raspberry (#B00149). oklch(49.3% 0.175 4.4), rgb(171, 33, 85).

Aa

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

About this color

#AB2155 is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.175 and its hue 4°. Its hue sits on the warm side of the wheel. The nearest named color is Raspberry (#B00149), ΔE 0.024 away. White text reads best on it, at 6.81:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.175)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.08:1
White text6.81:1

Values

HEX#AB2155
RGBrgb(171, 33, 85)
HSLhsl(337, 68%, 40%)
OKLCHoklch(49.3% 0.175 4.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 #AB2155 6.81:1 AA Lc -87.1 Fine for body text
Black text on #AB2155 3.08:1 AA large text Lc 22.0 Dividers and decoration only
#AB2155 text on white 6.81:1 AA Lc 82.0 Fine for body text
#AB2155 text on black 3.08:1 AA large text Lc -19.8 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

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #F9E3E8

    oklch(93.5% 0.025 2.1)

  3. Step 200

    200

    #F6CDD5

    oklch(88.6% 0.047 4.9)

  4. Step 300

    300

    #F0AABA

    oklch(80.9% 0.084 4.1)

  5. Step 400

    400

    #E57A96

    oklch(70.7% 0.135 4.5)

  6. Step 500

    500

    #DA527C

    oklch(63% 0.173 4.4)

  7. Step 600

    600

    #C63066

    oklch(55.7% 0.189 4.3)

  8. Step 700

    700 (this color)

    #AB2155

    oklch(49.3% 0.175 4.4)

  9. Step 800

    800

    #8A1E45

    oklch(42.6% 0.145 4.3)

  10. Step 900

    900

    #6F203A

    oklch(37.6% 0.113 4.3)

  11. Step 950

    950

    #421422

    oklch(27% 0.073 4.5)

Export this scale for Tailwind in the Tailwind colors tool

#AB2155 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)#454A560.198
Deuteranopia (no green cones)#6964520.178
Tritanopia (no blue cones)#BA00380.048
Achromatopsia (no color)#5B5B5B0.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB2155

    #AB2155

    oklch(49.3% 0.175 4.4)

  • #007167

    #007167

    oklch(49.3% 0.087 184.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB2155

    #AB2155

    oklch(49.3% 0.175 4.4)

  • #982D89

    #982D89

    oklch(49.3% 0.175 334.1)

  • #AE2800

    #AE2800

    oklch(49.2% 0.175 34.4)

Open the analogous palette in the generator

Split complementary

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

  • #AB2155

    #AB2155

    oklch(49.3% 0.175 4.4)

  • #007540

    #007540

    oklch(49.4% 0.123 154.5)

  • #006D80

    #006D80

    oklch(49.2% 0.087 215.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB2155

    #AB2155

    oklch(49.3% 0.175 4.4)

  • #526C00

    #526C00

    oklch(49.2% 0.123 124.5)

  • #0066A1

    #0066A1

    oklch(49.2% 0.123 244.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB2155

    #AB2155

    oklch(49.3% 0.175 4.4)

  • #746000

    #746000

    oklch(49.4% 0.101 94.7)

  • #007167

    #007167

    oklch(49.3% 0.087 184.2)

  • #4751C2

    #4751C2

    oklch(49.3% 0.175 274.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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