#A31258

Closest named color: Violet Red (#A50055). oklch(47.1% 0.181 359.4), rgb(163, 18, 88).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (47%)
Chromavivid (0.181)
Temperaturewarm
Nearest nameViolet Red (#A50055)
Black text2.78:1
White text7.54:1

Values

HEX#A31258
RGBrgb(163, 18, 88)
HSLhsl(331, 80%, 35%)
OKLCHoklch(47.1% 0.181 359.4)

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 #A31258 7.54:1 AAA Lc -89.3 Fine for body text
Black text on #A31258 2.78:1 Fails Lc 19.7 Dividers and decoration only
#A31258 text on white 7.54:1 AAA Lc 84.4 Fine for body text
#A31258 text on black 2.78:1 Fails Lc -17.6 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

    #F9E3E9

    oklch(93.5% 0.025 359.2)

  3. Step 200

    200

    #F6CCD8

    oklch(88.5% 0.05 359.1)

  4. Step 300

    300

    #F0A9BF

    oklch(80.8% 0.088 359)

  5. Step 400

    400

    #E5789E

    oklch(70.6% 0.14 359.2)

  6. Step 500

    500

    #DA5086

    oklch(63% 0.179 359.4)

  7. Step 600

    600

    #C52C70

    oklch(55.5% 0.195 359.2)

  8. Step 700

    700 (this color)

    #A31258

    oklch(47.1% 0.181 359.4)

  9. Step 800

    800

    #8A1C4D

    oklch(42.7% 0.15 359.1)

  10. Step 900

    900

    #6F1F40

    oklch(37.7% 0.117 359.1)

  11. Step 950

    950

    #421425

    oklch(27.1% 0.074 0.3)

Export this scale for Tailwind in the Tailwind colors tool

#A31258 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)#3A43590.206
Deuteranopia (no green cones)#605E550.184
Tritanopia (no blue cones)#B100350.059
Achromatopsia (no color)#5454540.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #A31258

    #A31258

    oklch(47.1% 0.181 359.4)

  • #006A5C

    #006A5C

    oklch(47% 0.085 179.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A31258

    #A31258

    oklch(47.1% 0.181 359.4)

  • #8E258B

    #8E258B

    oklch(47.1% 0.181 329.2)

  • #A9160D

    #A9160D

    oklch(47% 0.181 29.5)

Open the analogous palette in the generator

Split complementary

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

  • #A31258

    #A31258

    oklch(47.1% 0.181 359.4)

  • #006E2E

    #006E2E

    oklch(47% 0.131 149.4)

  • #006774

    #006774

    oklch(47.1% 0.081 209.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A31258

    #A31258

    oklch(47.1% 0.181 359.4)

  • #546300

    #546300

    oklch(47% 0.111 119.5)

  • #006290

    #006290

    oklch(47.2% 0.106 239)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A31258

    #A31258

    oklch(47.1% 0.181 359.4)

  • #705700

    #705700

    oklch(46.9% 0.096 89.3)

  • #006A5C

    #006A5C

    oklch(47% 0.085 179.5)

  • #354CBE

    #354CBE

    oklch(47% 0.18 269.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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