#A12B5A

Closest named color: Violet Red (#A50055). oklch(48.6% 0.158 0.9), rgb(161, 43, 90).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.158)
Temperaturewarm
Nearest nameViolet Red (#A50055)
Black text3.00:1
White text6.97:1

Values

HEX#A12B5A
RGBrgb(161, 43, 90)
HSLhsl(336, 58%, 40%)
OKLCHoklch(48.6% 0.158 0.9)

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 #A12B5A 6.97:1 AA Lc -88.1 Fine for body text
Black text on #A12B5A 3.00:1 AA large text Lc 21.0 Dividers and decoration only
#A12B5A text on white 6.97:1 AA Lc 83.1 Fine for body text
#A12B5A text on black 3.00:1 AA large text 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

    #FCF3F5

    oklch(97.2% 0.01 2)

  2. Step 100

    100

    #F8E4E9

    oklch(93.6% 0.023 0.5)

  3. Step 200

    200

    #F2CED7

    oklch(88.4% 0.042 1.2)

  4. Step 300

    300

    #EBACBE

    oklch(80.8% 0.077 0.2)

  5. Step 400

    400

    #DE7F9C

    oklch(70.7% 0.121 1.1)

  6. Step 500

    500

    #D25A84

    oklch(63% 0.157 0.7)

  7. Step 600

    600

    #BD3C6E

    oklch(55.6% 0.17 0.6)

  8. Step 700

    700 (this color)

    #A12B5A

    oklch(48.6% 0.158 0.9)

  9. Step 800

    800

    #84274B

    oklch(42.7% 0.131 0.6)

  10. Step 900

    900

    #6B253E

    oklch(37.7% 0.103 1.2)

  11. Step 950

    950

    #3F1725

    oklch(27.1% 0.065 0.4)

Export this scale for Tailwind in the Tailwind colors tool

#A12B5A 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)#454B5B0.177
Deuteranopia (no green cones)#6462570.161
Tritanopia (no blue cones)#AF193F0.047
Achromatopsia (no color)#5959590.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #A12B5A

    #A12B5A

    oklch(48.6% 0.158 0.9)

  • #006F62

    #006F62

    oklch(48.6% 0.088 181)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A12B5A

    #A12B5A

    oklch(48.6% 0.158 0.9)

  • #8E3587

    #8E3587

    oklch(48.5% 0.157 330.9)

  • #A62F1F

    #A62F1F

    oklch(48.6% 0.158 30.9)

Open the analogous palette in the generator

Split complementary

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

  • #A12B5A

    #A12B5A

    oklch(48.6% 0.158 0.9)

  • #007335

    #007335

    oklch(48.6% 0.131 150.8)

  • #006B7A

    #006B7A

    oklch(48.4% 0.084 211.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A12B5A

    #A12B5A

    oklch(48.6% 0.158 0.9)

  • #566800

    #566800

    oklch(48.5% 0.116 120.8)

  • #006598

    #006598

    oklch(48.4% 0.113 241)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A12B5A

    #A12B5A

    oklch(48.6% 0.158 0.9)

  • #745C00

    #745C00

    oklch(48.5% 0.099 91)

  • #006F62

    #006F62

    oklch(48.6% 0.088 181)

  • #4054B7

    #4054B7

    oklch(48.6% 0.158 270.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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