#A31543

Closest named color: Cranberry (#9E003A). oklch(46.6% 0.174 10), rgb(163, 21, 67).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (47%)
Chromavivid (0.174)
Temperaturewarm
Nearest nameCranberry (#9E003A)
Black text2.74:1
White text7.64:1

Values

HEX#A31543
RGBrgb(163, 21, 67)
HSLhsl(341, 77%, 36%)
OKLCHoklch(46.6% 0.174 10)

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 #A31543 7.64:1 AAA Lc -89.7 Fine for body text
Black text on #A31543 2.74:1 Fails Lc 19.2 Dividers and decoration only
#A31543 text on white 7.64:1 AAA Lc 84.8 Fine for body text
#A31543 text on black 2.74: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

    #FAE4E6

    oklch(93.7% 0.024 11.3)

  3. Step 200

    200

    #F6CDD2

    oklch(88.5% 0.047 9.8)

  4. Step 300

    300

    #F1AAB4

    oklch(80.8% 0.084 9.8)

  5. Step 400

    400

    #E77A8D

    oklch(70.7% 0.135 10.1)

  6. Step 500

    500

    #DC5371

    oklch(63.1% 0.172 10.2)

  7. Step 600

    600

    #C7305A

    oklch(55.5% 0.187 9.8)

  8. Step 700

    700 (this color)

    #A31543

    oklch(46.6% 0.174 10)

  9. Step 800

    800

    #8B1F3D

    oklch(42.7% 0.143 9.8)

  10. Step 900

    900

    #702134

    oklch(37.7% 0.112 9.9)

  11. Step 950

    950

    #42151E

    oklch(27% 0.07 10.9)

Export this scale for Tailwind in the Tailwind colors tool

#A31543 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)#4141440.195
Deuteranopia (no green cones)#645D3F0.178
Tritanopia (no blue cones)#B3002B0.044
Achromatopsia (no color)#5353530.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #A31543

    #A31543

    oklch(46.6% 0.174 10)

  • #006864

    #006864

    oklch(46.7% 0.081 190.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A31543

    #A31543

    oklch(46.6% 0.174 10)

  • #942177

    #942177

    oklch(46.7% 0.174 340.4)

  • #993300

    #993300

    oklch(46.6% 0.145 40.2)

Open the analogous palette in the generator

Split complementary

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

  • #A31543

    #A31543

    oklch(46.6% 0.174 10)

  • #006B45

    #006B45

    oklch(46.6% 0.105 160.3)

  • #00647A

    #00647A

    oklch(46.5% 0.085 219.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A31543

    #A31543

    oklch(46.6% 0.174 10)

  • #416700

    #416700

    oklch(46.7% 0.126 130.3)

  • #005CA0

    #005CA0

    oklch(46.7% 0.132 249.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A31543

    #A31543

    oklch(46.6% 0.174 10)

  • #675A00

    #675A00

    oklch(46.6% 0.097 99.5)

  • #006864

    #006864

    oklch(46.7% 0.081 190.2)

  • #4C45B7

    #4C45B7

    oklch(46.7% 0.174 280)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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