#A21047

Closest named color: Cranberry (#9E003A). oklch(46.3% 0.177 7.3), rgb(162, 16, 71).

Aa

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

About this color

#A21047 is a medium-dark, vivid red. In OKLCH its lightness is 46%, its chroma 0.177 and its hue 7°. 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.77:1.

Hue familyReds
Lightnessmedium-dark (46%)
Chromavivid (0.177)
Temperaturewarm
Nearest nameCranberry (#9E003A)
Black text2.70:1
White text7.77:1

Values

HEX#A21047
RGBrgb(162, 16, 71)
HSLhsl(337, 82%, 35%)
OKLCHoklch(46.3% 0.177 7.3)

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 #A21047 7.77:1 AAA Lc -90.0 Fine for body text
Black text on #A21047 2.70:1 Fails Lc 18.9 Dividers and decoration only
#A21047 text on white 7.77:1 AAA Lc 85.1 Fine for body text
#A21047 text on black 2.70:1 Fails Lc -16.9 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

    #F1AAB7

    oklch(80.9% 0.085 7.1)

  5. Step 400

    400

    #E77991

    oklch(70.6% 0.137 7.4)

  6. Step 500

    500

    #DC5276

    oklch(63.1% 0.174 7.6)

  7. Step 600

    600

    #C72E5F

    oklch(55.5% 0.19 7.3)

  8. Step 700

    700 (this color)

    #A21047

    oklch(46.3% 0.177 7.3)

  9. Step 800

    800

    #8C1D41

    oklch(42.8% 0.147 7.1)

  10. Step 900

    900

    #702037

    oklch(37.7% 0.113 7)

  11. Step 950

    950

    #421420

    oklch(27% 0.072 7.3)

Export this scale for Tailwind in the Tailwind colors tool

#A21047 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)#3E40480.199
Deuteranopia (no green cones)#625C440.180
Tritanopia (no blue cones)#B1002B0.048
Achromatopsia (no color)#5252520.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #A21047

    #A21047

    oklch(46.3% 0.177 7.3)

  • #006761

    #006761

    oklch(46.3% 0.081 187.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A21047

    #A21047

    oklch(46.3% 0.177 7.3)

  • #91207B

    #91207B

    oklch(46.3% 0.176 337.3)

  • #9C2C00

    #9C2C00

    oklch(46.3% 0.154 37.2)

Open the analogous palette in the generator

Split complementary

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

  • #A21047

    #A21047

    oklch(46.3% 0.177 7.3)

  • #006A3F

    #006A3F

    oklch(46.1% 0.109 157.2)

  • #006477

    #006477

    oklch(46.4% 0.083 216.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A21047

    #A21047

    oklch(46.3% 0.177 7.3)

  • #466400

    #466400

    oklch(46.2% 0.12 127.2)

  • #005C99

    #005C99

    oklch(46.3% 0.123 247.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A21047

    #A21047

    oklch(46.3% 0.177 7.3)

  • #685800

    #685800

    oklch(46.2% 0.095 96.8)

  • #006761

    #006761

    oklch(46.3% 0.081 187.8)

  • #4645B8

    #4645B8

    oklch(46.3% 0.176 277.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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