#AB2851

Closest named color: Raspberry (#B00149). oklch(49.8% 0.168 7.5), rgb(171, 40, 81).

Aa

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

About this color

#AB2851 is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.168 and its hue 7°. Its hue sits on the warm side of the wheel. The nearest named color is Raspberry (#B00149), ΔE 0.029 away. White text reads best on it, at 6.65:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.168)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.15:1
White text6.65:1

Values

HEX#AB2851
RGBrgb(171, 40, 81)
HSLhsl(341, 62%, 41%)
OKLCHoklch(49.8% 0.168 7.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 #AB2851 6.65:1 AA Lc -86.7 Fine for body text
Black text on #AB2851 3.15:1 AA large text Lc 22.5 Dividers and decoration only
#AB2851 text on white 6.65:1 AA Lc 81.6 Fine for body text
#AB2851 text on black 3.15: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

    #FDF3F4

    oklch(97.2% 0.011 10.3)

  2. Step 100

    100

    #F9E4E7

    oklch(93.7% 0.023 7.7)

  3. Step 200

    200

    #F5CDD4

    oklch(88.4% 0.046 6.2)

  4. Step 300

    300

    #EFABB7

    oklch(80.9% 0.081 7.4)

  5. Step 400

    400

    #E47C92

    oklch(70.7% 0.13 7.5)

  6. Step 500

    500

    #D95677

    oklch(63.2% 0.166 7.6)

  7. Step 600

    600

    #C43560

    oklch(55.6% 0.181 7.5)

  8. Step 700

    700 (this color)

    #AB2851

    oklch(49.8% 0.168 7.5)

  9. Step 800

    800

    #892241

    oklch(42.7% 0.139 7.5)

  10. Step 900

    900

    #6E2237

    oklch(37.6% 0.109 7.2)

  11. Step 950

    950

    #411520

    oklch(26.9% 0.069 7.5)

Export this scale for Tailwind in the Tailwind colors tool

#AB2851 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)#494C520.189
Deuteranopia (no green cones)#6C664E0.171
Tritanopia (no blue cones)#BB00390.044
Achromatopsia (no color)#5C5C5C0.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB2851

    #AB2851

    oklch(49.8% 0.168 7.5)

  • #00726B

    #00726B

    oklch(49.7% 0.087 187.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB2851

    #AB2851

    oklch(49.8% 0.168 7.5)

  • #9A3184

    #9A3184

    oklch(49.7% 0.168 337.2)

  • #AB3200

    #AB3200

    oklch(49.6% 0.165 37.4)

Open the analogous palette in the generator

Split complementary

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

  • #AB2851

    #AB2851

    oklch(49.8% 0.168 7.5)

  • #007647

    #007647

    oklch(49.8% 0.118 157.4)

  • #006E84

    #006E84

    oklch(49.7% 0.089 218)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB2851

    #AB2851

    oklch(49.8% 0.168 7.5)

  • #4E6F00

    #4E6F00

    oklch(49.7% 0.129 127.3)

  • #0066A9

    #0066A9

    oklch(49.7% 0.132 247.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB2851

    #AB2851

    oklch(49.8% 0.168 7.5)

  • #736200

    #736200

    oklch(49.8% 0.103 97.3)

  • #00726B

    #00726B

    oklch(49.7% 0.087 187.4)

  • #4F52BF

    #4F52BF

    oklch(49.8% 0.167 277.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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