#AB1546

Closest named color: Raspberry (#B00149). oklch(48.2% 0.181 10.1), rgb(171, 21, 70).

Aa

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

About this color

#AB1546 is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.181 and its hue 10°. Its hue sits on the warm side of the wheel. The nearest named color is Raspberry (#B00149), ΔE 0.014 away. White text reads best on it, at 7.17:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.181)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text2.92:1
White text7.17:1

Values

HEX#AB1546
RGBrgb(171, 21, 70)
HSLhsl(340, 78%, 38%)
OKLCHoklch(48.2% 0.181 10.1)

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 #AB1546 7.17:1 AAA Lc -88.1 Fine for body text
Black text on #AB1546 2.92:1 Fails Lc 21.0 Dividers and decoration only
#AB1546 text on white 7.17:1 AAA Lc 83.0 Fine for body text
#AB1546 text on black 2.92:1 Fails Lc -18.9 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

    #FDF2F3

    oklch(97% 0.012 11)

  2. Step 100

    100

    #FAE3E6

    oklch(93.5% 0.026 8.6)

  3. Step 200

    200

    #F7CDD2

    oklch(88.6% 0.048 10)

  4. Step 300

    300

    #F3A9B3

    oklch(80.8% 0.088 10.3)

  5. Step 400

    400

    #E9788C

    oklch(70.6% 0.14 10.2)

  6. Step 500

    500

    #DF4F70

    oklch(63.1% 0.18 10.1)

  7. Step 600

    600

    #CA2A58

    oklch(55.5% 0.195 10.3)

  8. Step 700

    700 (this color)

    #AB1546

    oklch(48.2% 0.181 10.1)

  9. Step 800

    800

    #8D1A3C

    oklch(42.6% 0.15 9.7)

  10. Step 900

    900

    #721E33

    oklch(37.7% 0.117 10.1)

  11. Step 950

    950

    #43131E

    oklch(26.9% 0.075 9.7)

Export this scale for Tailwind in the Tailwind colors tool

#AB1546 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)#4444470.204
Deuteranopia (no green cones)#6962420.186
Tritanopia (no blue cones)#BB002D0.045
Achromatopsia (no color)#5757570.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB1546

    #AB1546

    oklch(48.2% 0.181 10.1)

  • #006D69

    #006D69

    oklch(48.3% 0.083 190.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB1546

    #AB1546

    oklch(48.2% 0.181 10.1)

  • #9B227D

    #9B227D

    oklch(48.2% 0.181 340.2)

  • #A03600

    #A03600

    oklch(48.2% 0.15 40.4)

Open the analogous palette in the generator

Split complementary

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

  • #AB1546

    #AB1546

    oklch(48.2% 0.181 10.1)

  • #007048

    #007048

    oklch(48.1% 0.109 160)

  • #006980

    #006980

    oklch(48.2% 0.088 219.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB1546

    #AB1546

    oklch(48.2% 0.181 10.1)

  • #446C00

    #446C00

    oklch(48.3% 0.131 130.4)

  • #0060A7

    #0060A7

    oklch(48.2% 0.136 250)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB1546

    #AB1546

    oklch(48.2% 0.181 10.1)

  • #6B5F00

    #6B5F00

    oklch(48.2% 0.1 100.8)

  • #006D69

    #006D69

    oklch(48.3% 0.083 190.3)

  • #5048C0

    #5048C0

    oklch(48.2% 0.181 280.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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