#AB1846

Closest named color: Raspberry (#B00149). oklch(48.3% 0.179 10.5), rgb(171, 24, 70).

Aa

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

About this color

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

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

Values

HEX#AB1846
RGBrgb(171, 24, 70)
HSLhsl(341, 75%, 38%)
OKLCHoklch(48.3% 0.179 10.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 #AB1846 7.11:1 AAA Lc -88.0 Fine for body text
Black text on #AB1846 2.95:1 Fails Lc 21.1 Dividers and decoration only
#AB1846 text on white 7.11:1 AAA Lc 82.9 Fine for body text
#AB1846 text on black 2.95:1 Fails Lc -19.0 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

    #F3AAB3

    oklch(81% 0.087 11)

  5. Step 400

    400

    #E9798C

    oklch(70.8% 0.139 10.5)

  6. Step 500

    500

    #DE5070

    oklch(63% 0.178 10.2)

  7. Step 600

    600

    #C92C58

    oklch(55.5% 0.192 10.4)

  8. Step 700

    700 (this color)

    #AB1846

    oklch(48.3% 0.179 10.5)

  9. Step 800

    800

    #8D1B3B

    oklch(42.7% 0.149 10.5)

  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

#AB1846 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)#6A62420.182
Tritanopia (no blue cones)#BB002E0.043
Achromatopsia (no color)#5858580.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB1846

    #AB1846

    oklch(48.3% 0.179 10.5)

  • #006D69

    #006D69

    oklch(48.3% 0.083 190.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB1846

    #AB1846

    oklch(48.3% 0.179 10.5)

  • #9B247D

    #9B247D

    oklch(48.3% 0.179 340.3)

  • #A13600

    #A13600

    oklch(48.4% 0.151 40.2)

Open the analogous palette in the generator

Split complementary

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

  • #AB1846

    #AB1846

    oklch(48.3% 0.179 10.5)

  • #007149

    #007149

    oklch(48.4% 0.109 160.2)

  • #006981

    #006981

    oklch(48.2% 0.088 220.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB1846

    #AB1846

    oklch(48.3% 0.179 10.5)

  • #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.

  • #AB1846

    #AB1846

    oklch(48.3% 0.179 10.5)

  • #6C5F00

    #6C5F00

    oklch(48.3% 0.1 100)

  • #006D69

    #006D69

    oklch(48.3% 0.083 190.3)

  • #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 #AB1846, closest first.

Similar named colors

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

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