#A51862

Closest named color: Deep Magenta (#A0025C). oklch(48.1% 0.182 355.5), rgb(165, 24, 98).

Aa

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

About this color

#A51862 is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.182 and its hue 356°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Magenta (#A0025C), ΔE 0.021 away. White text reads best on it, at 7.22:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.182)
Temperaturewarm
Nearest nameDeep Magenta (#A0025C)
Black text2.90:1
White text7.22:1

Values

HEX#A51862
RGBrgb(165, 24, 98)
HSLhsl(329, 75%, 37%)
OKLCHoklch(48.1% 0.182 355.5)

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 #A51862 7.22:1 AAA Lc -88.4 Fine for body text
Black text on #A51862 2.90:1 Fails Lc 20.6 Dividers and decoration only
#A51862 text on white 7.22:1 AAA Lc 83.4 Fine for body text
#A51862 text on black 2.90:1 Fails Lc -18.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

    #FDF2F6

    oklch(97.1% 0.013 353.1)

  2. Step 100

    100

    #F9E3EA

    oklch(93.6% 0.026 356.3)

  3. Step 200

    200

    #F5CCDA

    oklch(88.4% 0.049 355.6)

  4. Step 300

    300

    #EFA9C3

    oklch(80.9% 0.088 355.2)

  5. Step 400

    400

    #E478A4

    oklch(70.7% 0.142 355.6)

  6. Step 500

    500

    #D9508E

    oklch(63.1% 0.181 355.5)

  7. Step 600

    600

    #C42D78

    oklch(55.7% 0.196 355.6)

  8. Step 700

    700 (this color)

    #A51862

    oklch(48.1% 0.182 355.5)

  9. Step 800

    800

    #891C52

    oklch(42.7% 0.151 355.8)

  10. Step 900

    900

    #6E1F44

    oklch(37.7% 0.117 355.5)

  11. Step 950

    950

    #411428

    oklch(27.1% 0.074 355.6)

Export this scale for Tailwind in the Tailwind colors tool

#A51862 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)#3A47640.206
Deuteranopia (no green cones)#60605F0.183
Tritanopia (no blue cones)#B3003C0.063
Achromatopsia (no color)#5757570.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #A51862

    #A51862

    oklch(48.1% 0.182 355.5)

  • #006E5B

    #006E5B

    oklch(48.1% 0.09 175.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A51862

    #A51862

    oklch(48.1% 0.182 355.5)

  • #8E2A94

    #8E2A94

    oklch(48.1% 0.183 325.5)

  • #AD1720

    #AD1720

    oklch(48% 0.182 25.4)

Open the analogous palette in the generator

Split complementary

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

  • #A51862

    #A51862

    oklch(48.1% 0.182 355.5)

  • #00721F

    #00721F

    oklch(48% 0.149 145.6)

  • #006B74

    #006B74

    oklch(48.2% 0.082 205)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A51862

    #A51862

    oklch(48.1% 0.182 355.5)

  • #5C6500

    #5C6500

    oklch(48.2% 0.11 115.7)

  • #00668F

    #00668F

    oklch(48.2% 0.102 235)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A51862

    #A51862

    oklch(48.1% 0.182 355.5)

  • #775900

    #775900

    oklch(48.2% 0.099 85.7)

  • #006E5B

    #006E5B

    oklch(48.1% 0.09 175.2)

  • #2B52C3

    #2B52C3

    oklch(48.2% 0.182 265.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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