#A31147

Closest named color: Cranberry (#9E003A). oklch(46.5% 0.177 7.6), rgb(163, 17, 71).

Aa

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

About this color

#A31147 is a medium-dark, vivid red. In OKLCH its lightness is 47%, its chroma 0.177 and its hue 8°. Its hue sits on the warm side of the wheel. The nearest named color is Cranberry (#9E003A), ΔE 0.023 away. White text reads best on it, at 7.69:1.

Hue familyReds
Lightnessmedium-dark (47%)
Chromavivid (0.177)
Temperaturewarm
Nearest nameCranberry (#9E003A)
Black text2.72:1
White text7.69:1

Values

HEX#A31147
RGBrgb(163, 17, 71)
HSLhsl(338, 81%, 35%)
OKLCHoklch(46.5% 0.177 7.6)

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 #A31147 7.69:1 AAA Lc -89.8 Fine for body text
Black text on #A31147 2.72:1 Fails Lc 19.2 Dividers and decoration only
#A31147 text on white 7.69:1 AAA Lc 84.8 Fine for body text
#A31147 text on black 2.72:1 Fails Lc -17.2 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

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #FAE3E7

    oklch(93.6% 0.026 5.7)

  3. Step 200

    200

    #F6CDD3

    oklch(88.5% 0.047 8.2)

  4. Step 300

    300

    #F2AAB6

    oklch(81% 0.086 8.2)

  5. Step 400

    400

    #E77991

    oklch(70.6% 0.137 7.4)

  6. Step 500

    500

    #DC5176

    oklch(63% 0.175 7.4)

  7. Step 600

    600

    #C82E5F

    oklch(55.7% 0.191 7.5)

  8. Step 700

    700 (this color)

    #A31147

    oklch(46.5% 0.177 7.6)

  9. Step 800

    800

    #8C1D40

    oklch(42.8% 0.147 7.7)

  10. Step 900

    900

    #702036

    oklch(37.7% 0.113 7.9)

  11. Step 950

    950

    #421420

    oklch(27% 0.072 7.3)

Export this scale for Tailwind in the Tailwind colors tool

#A31147 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)#3E41480.201
Deuteranopia (no green cones)#635D430.181
Tritanopia (no blue cones)#B3002C0.049
Achromatopsia (no color)#5353530.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #A31147

    #A31147

    oklch(46.5% 0.177 7.6)

  • #006862

    #006862

    oklch(46.6% 0.081 187.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A31147

    #A31147

    oklch(46.5% 0.177 7.6)

  • #92207B

    #92207B

    oklch(46.4% 0.177 337.7)

  • #9C2D00

    #9C2D00

    oklch(46.4% 0.154 37.5)

Open the analogous palette in the generator

Split complementary

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

  • #A31147

    #A31147

    oklch(46.5% 0.177 7.6)

  • #006B40

    #006B40

    oklch(46.5% 0.11 157.4)

  • #006478

    #006478

    oklch(46.4% 0.083 217.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A31147

    #A31147

    oklch(46.5% 0.177 7.6)

  • #466500

    #466500

    oklch(46.5% 0.121 127.6)

  • #005D9A

    #005D9A

    oklch(46.6% 0.123 247.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A31147

    #A31147

    oklch(46.5% 0.177 7.6)

  • #685900

    #685900

    oklch(46.5% 0.096 97.8)

  • #006862

    #006862

    oklch(46.6% 0.081 187.9)

  • #4745B9

    #4745B9

    oklch(46.4% 0.178 277.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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