#AB0C40

Closest named color: Rouge (#AB1239). oklch(47.7% 0.185 12), rgb(171, 12, 64).

Aa

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

About this color

#AB0C40 is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.185 and its hue 12°. Its hue sits on the warm side of the wheel. The nearest named color is Rouge (#AB1239), ΔE 0.012 away. White text reads best on it, at 7.34:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.185)
Temperaturewarm
Nearest nameRouge (#AB1239)
Black text2.85:1
White text7.34:1

Values

HEX#AB0C40
RGBrgb(171, 12, 64)
HSLhsl(340, 87%, 36%)
OKLCHoklch(47.7% 0.185 12)

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 #AB0C40 7.34:1 AAA Lc -88.4 Fine for body text
Black text on #AB0C40 2.85:1 Fails Lc 20.6 Dividers and decoration only
#AB0C40 text on white 7.34:1 AAA Lc 83.4 Fine for body text
#AB0C40 text on black 2.85:1 Fails Lc -18.5 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

    #FBE3E5

    oklch(93.6% 0.026 11.9)

  3. Step 200

    200

    #F8CCD0

    oklch(88.4% 0.05 12)

  4. Step 300

    300

    #F4A9B1

    oklch(80.9% 0.089 12.2)

  5. Step 400

    400

    #EB7789

    oklch(70.7% 0.144 11.7)

  6. Step 500

    500

    #E14E6B

    oklch(63.2% 0.183 12.3)

  7. Step 600

    600

    #CC2753

    oklch(55.6% 0.199 12.2)

  8. Step 700

    700 (this color)

    #AB0C40

    oklch(47.7% 0.185 12)

  9. Step 800

    800

    #8F1838

    oklch(42.7% 0.153 12.1)

  10. Step 900

    900

    #731D30

    oklch(37.7% 0.119 12.3)

  11. Step 950

    950

    #44131C

    oklch(27.1% 0.076 12.7)

Export this scale for Tailwind in the Tailwind colors tool

#AB0C40 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)#4342410.208
Deuteranopia (no green cones)#69613C0.189
Tritanopia (no blue cones)#BC00270.047
Achromatopsia (no color)#5656560.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB0C40

    #AB0C40

    oklch(47.7% 0.185 12)

  • #006B69

    #006B69

    oklch(47.7% 0.082 192.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB0C40

    #AB0C40

    oklch(47.7% 0.185 12)

  • #9C1C79

    #9C1C79

    oklch(47.7% 0.185 342.1)

  • #9B3800

    #9B3800

    oklch(47.6% 0.143 42.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB0C40

    #AB0C40

    oklch(47.7% 0.185 12)

  • #006E4A

    #006E4A

    oklch(47.6% 0.104 162.1)

  • #006780

    #006780

    oklch(47.6% 0.088 222.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB0C40

    #AB0C40

    oklch(47.7% 0.185 12)

  • #3F6B00

    #3F6B00

    oklch(47.7% 0.132 132)

  • #005DA9

    #005DA9

    oklch(47.6% 0.142 252)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB0C40

    #AB0C40

    oklch(47.7% 0.185 12)

  • #685E00

    #685E00

    oklch(47.7% 0.1 102.2)

  • #006B69

    #006B69

    oklch(47.7% 0.082 192.5)

  • #5244BF

    #5244BF

    oklch(47.6% 0.185 281.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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