#AB1946

Closest named color: Raspberry (#B00149). oklch(48.4% 0.179 10.6), rgb(171, 25, 70).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.179)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text2.95:1
White text7.09:1

Values

HEX#AB1946
RGBrgb(171, 25, 70)
HSLhsl(342, 74%, 38%)
OKLCHoklch(48.4% 0.179 10.6)

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 #AB1946 7.09:1 AAA Lc -87.9 Fine for body text
Black text on #AB1946 2.95:1 Fails Lc 21.2 Dividers and decoration only
#AB1946 text on white 7.09:1 AAA Lc 82.9 Fine for body text
#AB1946 text on black 2.95:1 Fails Lc -19.1 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

    #F7CDD1

    oklch(88.5% 0.048 11.6)

  4. Step 300

    300

    #F2AAB3

    oklch(80.9% 0.085 10.9)

  5. Step 400

    400

    #E8798C

    oklch(70.6% 0.138 10.4)

  6. Step 500

    500

    #DE5170

    oklch(63.1% 0.176 10.4)

  7. Step 600

    600

    #C92D58

    oklch(55.6% 0.192 10.5)

  8. Step 700

    700 (this color)

    #AB1946

    oklch(48.4% 0.179 10.6)

  9. Step 800

    800

    #8D1C3B

    oklch(42.7% 0.148 10.7)

  10. Step 900

    900

    #711F33

    oklch(37.6% 0.115 10.2)

  11. Step 950

    950

    #43141E

    oklch(27.1% 0.073 10.5)

Export this scale for Tailwind in the Tailwind colors tool

#AB1946 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)#4545470.201
Deuteranopia (no green cones)#6A63420.183
Tritanopia (no blue cones)#BB002E0.043
Achromatopsia (no color)#5858580.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB1946

    #AB1946

    oklch(48.4% 0.179 10.6)

  • #006D6A

    #006D6A

    oklch(48.3% 0.083 191.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB1946

    #AB1946

    oklch(48.4% 0.179 10.6)

  • #9B247D

    #9B247D

    oklch(48.3% 0.179 340.3)

  • #A13700

    #A13700

    oklch(48.5% 0.15 40.6)

Open the analogous palette in the generator

Split complementary

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

  • #AB1946

    #AB1946

    oklch(48.4% 0.179 10.6)

  • #00714A

    #00714A

    oklch(48.4% 0.108 160.8)

  • #006A81

    #006A81

    oklch(48.5% 0.088 219.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB1946

    #AB1946

    oklch(48.4% 0.179 10.6)

  • #446C00

    #446C00

    oklch(48.3% 0.131 130.4)

  • #0060A9

    #0060A9

    oklch(48.3% 0.139 250.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB1946

    #AB1946

    oklch(48.4% 0.179 10.6)

  • #6C5F00

    #6C5F00

    oklch(48.3% 0.1 100)

  • #006D6A

    #006D6A

    oklch(48.3% 0.083 191.4)

  • #5149BF

    #5149BF

    oklch(48.4% 0.179 280.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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