#A40747

Closest named color: Cranberry (#9E003A). oklch(46.3% 0.182 7.1), rgb(164, 7, 71).

Aa

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

About this color

#A40747 is a medium-dark, vivid red. In OKLCH its lightness is 46%, its chroma 0.182 and its hue 7°. Its hue sits on the warm side of the wheel. The nearest named color is Cranberry (#9E003A), ΔE 0.022 away. White text reads best on it, at 7.77:1.

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

Values

HEX#A40747
RGBrgb(164, 7, 71)
HSLhsl(336, 92%, 34%)
OKLCHoklch(46.3% 0.182 7.1)

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

    #F7CCD3

    oklch(88.4% 0.049 7.1)

  4. Step 300

    300

    #F3A9B7

    oklch(80.9% 0.089 6.8)

  5. Step 400

    400

    #E97891

    oklch(70.8% 0.141 7.3)

  6. Step 500

    500

    #DE4F76

    oklch(63.1% 0.18 7.2)

  7. Step 600

    600

    #C92A5F

    oklch(55.5% 0.195 7.1)

  8. Step 700

    700 (this color)

    #A40747

    oklch(46.3% 0.182 7.1)

  9. Step 800

    800

    #8D1A40

    oklch(42.7% 0.151 7.4)

  10. Step 900

    900

    #711E37

    oklch(37.6% 0.117 6.7)

  11. Step 950

    950

    #431320

    oklch(27% 0.075 7)

Export this scale for Tailwind in the Tailwind colors tool

#A40747 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)#3C3F480.208
Deuteranopia (no green cones)#635D430.187
Tritanopia (no blue cones)#B400290.054
Achromatopsia (no color)#5252520.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #A40747

    #A40747

    oklch(46.3% 0.182 7.1)

  • #006761

    #006761

    oklch(46.3% 0.081 187.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A40747

    #A40747

    oklch(46.3% 0.182 7.1)

  • #931C7D

    #931C7D

    oklch(46.4% 0.183 337.1)

  • #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°).

  • #A40747

    #A40747

    oklch(46.3% 0.182 7.1)

  • #006B3F

    #006B3F

    oklch(46.4% 0.111 156.9)

  • #006477

    #006477

    oklch(46.4% 0.083 216.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A40747

    #A40747

    oklch(46.3% 0.182 7.1)

  • #476400

    #476400

    oklch(46.3% 0.119 126.8)

  • #005C99

    #005C99

    oklch(46.3% 0.123 247.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A40747

    #A40747

    oklch(46.3% 0.182 7.1)

  • #685800

    #685800

    oklch(46.2% 0.095 96.8)

  • #006761

    #006761

    oklch(46.3% 0.081 187.8)

  • #4544BB

    #4544BB

    oklch(46.3% 0.182 277)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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