#A5245C

Closest named color: Violet Red (#A50055). oklch(48.7% 0.17 359.8), rgb(165, 36, 92).

Aa

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

About this color

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

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

Values

HEX#A5245C
RGBrgb(165, 36, 92)
HSLhsl(334, 64%, 39%)
OKLCHoklch(48.7% 0.17 359.8)

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 #A5245C 6.98:1 AA Lc -87.9 Fine for body text
Black text on #A5245C 3.00:1 AA large text Lc 21.2 Dividers and decoration only
#A5245C text on white 6.98:1 AA Lc 82.9 Fine for body text
#A5245C text on black 3.00:1 AA large text Lc -19.1 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

    #F4CDD8

    oklch(88.5% 0.046 359.2)

  4. Step 300

    300

    #EEABBF

    oklch(81% 0.082 359.5)

  5. Step 400

    400

    #E27B9D

    oklch(70.7% 0.132 360)

  6. Step 500

    500

    #D65586

    oklch(63% 0.168 359.5)

  7. Step 600

    600

    #C1356F

    oklch(55.6% 0.182 359.9)

  8. Step 700

    700 (this color)

    #A5245C

    oklch(48.7% 0.17 359.8)

  9. Step 800

    800

    #87224C

    oklch(42.7% 0.14 359.8)

  10. Step 900

    900

    #6D223F

    oklch(37.7% 0.11 0)

  11. Step 950

    950

    #401525

    oklch(26.9% 0.07 359.7)

Export this scale for Tailwind in the Tailwind colors tool

#A5245C 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)#424A5D0.191
Deuteranopia (no green cones)#6562590.171
Tritanopia (no blue cones)#B3093D0.051
Achromatopsia (no color)#5959590.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #A5245C

    #A5245C

    oklch(48.7% 0.17 359.8)

  • #007061

    #007061

    oklch(48.8% 0.089 179.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A5245C

    #A5245C

    oklch(48.7% 0.17 359.8)

  • #91308C

    #91308C

    oklch(48.7% 0.17 330)

  • #AB271B

    #AB271B

    oklch(48.7% 0.17 29.7)

Open the analogous palette in the generator

Split complementary

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

  • #A5245C

    #A5245C

    oklch(48.7% 0.17 359.8)

  • #007432

    #007432

    oklch(48.8% 0.135 149.7)

  • #006C7A

    #006C7A

    oklch(48.7% 0.084 210.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A5245C

    #A5245C

    oklch(48.7% 0.17 359.8)

  • #586800

    #586800

    oklch(48.7% 0.115 119.7)

  • #006697

    #006697

    oklch(48.6% 0.111 239.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A5245C

    #A5245C

    oklch(48.7% 0.17 359.8)

  • #765C00

    #765C00

    oklch(48.7% 0.1 89.5)

  • #007061

    #007061

    oklch(48.8% 0.089 179.2)

  • #3C53BE

    #3C53BE

    oklch(48.7% 0.17 269.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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