#A12172

Closest named color: Red Violet (#9E0168). oklch(48.6% 0.18 347.3), rgb(161, 33, 114).

Aa

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

About this color

#A12172 is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.180 and its hue 347°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.029 away. White text reads best on it, at 7.05:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.180)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.97:1
White text7.05:1

Values

HEX#A12172
RGBrgb(161, 33, 114)
HSLhsl(322, 66%, 38%)
OKLCHoklch(48.6% 0.18 347.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 #A12172 7.05:1 AAA Lc -88.1 Fine for body text
Black text on #A12172 2.97:1 Fails Lc 20.9 Dividers and decoration only
#A12172 text on white 7.05:1 AAA Lc 83.1 Fine for body text
#A12172 text on black 2.97:1 Fails Lc -18.8 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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F8E3ED

    oklch(93.6% 0.026 347.1)

  3. Step 200

    200

    #F2CDDF

    oklch(88.5% 0.048 347.2)

  4. Step 300

    300

    #EBAACB

    oklch(80.9% 0.087 347.4)

  5. Step 400

    400

    #DE7AB1

    oklch(70.7% 0.139 347.1)

  6. Step 500

    500

    #D2549D

    oklch(63.1% 0.177 347.5)

  7. Step 600

    600

    #BD3288

    oklch(55.5% 0.193 347.3)

  8. Step 700

    700 (this color)

    #A12172

    oklch(48.6% 0.18 347.3)

  9. Step 800

    800

    #84205E

    oklch(42.7% 0.149 347.2)

  10. Step 900

    900

    #6B214D

    oklch(37.8% 0.117 347.4)

  11. Step 950

    950

    #3F152D

    oklch(27.1% 0.073 347.7)

Export this scale for Tailwind in the Tailwind colors tool

#A12172 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)#354B740.202
Deuteranopia (no green cones)#5B606F0.175
Tritanopia (no blue cones)#AD1B470.073
Achromatopsia (no color)#5959590.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #A12172

    #A12172

    oklch(48.6% 0.18 347.3)

  • #007154

    #007154

    oklch(48.7% 0.099 167.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A12172

    #A12172

    oklch(48.6% 0.18 347.3)

  • #8632A0

    #8632A0

    oklch(48.5% 0.18 317.1)

  • #AE1A38

    #AE1A38

    oklch(48.7% 0.18 17.4)

Open the analogous palette in the generator

Split complementary

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

  • #A12172

    #A12172

    oklch(48.6% 0.18 347.3)

  • #2F7100

    #2F7100

    oklch(48.6% 0.148 137.3)

  • #006D70

    #006D70

    oklch(48.5% 0.083 198.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A12172

    #A12172

    oklch(48.6% 0.18 347.3)

  • #666300

    #666300

    oklch(48.7% 0.105 107.7)

  • #006989

    #006989

    oklch(48.6% 0.095 227.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A12172

    #A12172

    oklch(48.6% 0.18 347.3)

  • #7F5600

    #7F5600

    oklch(48.5% 0.102 76.8)

  • #007154

    #007154

    oklch(48.7% 0.099 167.4)

  • #005ABF

    #005ABF

    oklch(48.6% 0.175 257.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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