#AB145F

Closest named color: Violet Red (#A50055). oklch(48.9% 0.188 358.3), rgb(171, 20, 95).

Aa

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

About this color

#AB145F is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.188 and its hue 358°. Its hue sits on the warm side of the wheel. The nearest named color is Violet Red (#A50055), ΔE 0.023 away. White text reads best on it, at 7.00:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.188)
Temperaturewarm
Nearest nameViolet Red (#A50055)
Black text2.99:1
White text7.00:1

Values

HEX#AB145F
RGBrgb(171, 20, 95)
HSLhsl(330, 79%, 37%)
OKLCHoklch(48.9% 0.188 358.3)

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 #AB145F 7.00:1 AAA Lc -87.5 Fine for body text
Black text on #AB145F 2.99:1 Fails Lc 21.6 Dividers and decoration only
#AB145F text on white 7.00:1 AAA Lc 82.4 Fine for body text
#AB145F text on black 2.99:1 Fails Lc -19.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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #FAE3EA

    oklch(93.6% 0.027 357.2)

  3. Step 200

    200

    #F6CCD9

    oklch(88.5% 0.05 357.6)

  4. Step 300

    300

    #F2A8C0

    oklch(80.9% 0.092 358.3)

  5. Step 400

    400

    #E776A0

    oklch(70.6% 0.146 358)

  6. Step 500

    500

    #DC4D88

    oklch(63.1% 0.185 358.4)

  7. Step 600

    600

    #C72772

    oklch(55.6% 0.201 358.3)

  8. Step 700

    700 (this color)

    #AB145F

    oklch(48.9% 0.188 358.3)

  9. Step 800

    800

    #8C174E

    oklch(42.8% 0.156 358.5)

  10. Step 900

    900

    #701D41

    oklch(37.7% 0.121 358.2)

  11. Step 950

    950

    #421326

    oklch(27% 0.076 358.4)

Export this scale for Tailwind in the Tailwind colors tool

#AB145F 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)#3D47610.213
Deuteranopia (no green cones)#65635C0.190
Tritanopia (no blue cones)#BA00390.064
Achromatopsia (no color)#5959590.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB145F

    #AB145F

    oklch(48.9% 0.188 358.3)

  • #007060

    #007060

    oklch(48.8% 0.09 178.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB145F

    #AB145F

    oklch(48.9% 0.188 358.3)

  • #952894

    #952894

    oklch(49% 0.188 328.4)

  • #B21614

    #B21614

    oklch(48.8% 0.188 28.3)

Open the analogous palette in the generator

Split complementary

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

  • #AB145F

    #AB145F

    oklch(48.9% 0.188 358.3)

  • #00742D

    #00742D

    oklch(48.8% 0.14 148.4)

  • #006D79

    #006D79

    oklch(48.9% 0.084 208)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB145F

    #AB145F

    oklch(48.9% 0.188 358.3)

  • #5A6800

    #5A6800

    oklch(48.8% 0.114 118.5)

  • #006796

    #006796

    oklch(48.8% 0.109 238.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB145F

    #AB145F

    oklch(48.9% 0.188 358.3)

  • #775C00

    #775C00

    oklch(48.9% 0.1 88.7)

  • #007060

    #007060

    oklch(48.8% 0.09 178.3)

  • #3551C8

    #3551C8

    oklch(48.8% 0.187 268.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #AB145F.

Similar named colors

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

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