#C7172A

Closest named color: Cherry (#CF0234). oklch(53.1% 0.204 24), rgb(199, 23, 42).

Aa

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

About this color

#C7172A is a medium-dark, vivid red. In OKLCH its lightness is 53%, its chroma 0.204 and its hue 24°. Its hue sits on the warm side of the wheel. The nearest named color is Cherry (#CF0234), ΔE 0.021 away. White text reads best on it, at 5.85:1.

Hue familyReds
Lightnessmedium-dark (53%)
Chromavivid (0.204)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.58:1
White text5.85:1

Values

HEX#C7172A
RGBrgb(199, 23, 42)
HSLhsl(354, 79%, 44%)
OKLCHoklch(53.1% 0.204 24)

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 #C7172A 5.85:1 AA Lc -82.5 Fine for body text
Black text on #C7172A 3.58:1 AA large text Lc 26.9 Dividers and decoration only
#C7172A text on white 5.85:1 AA Lc 77.2 Fine for body text
#C7172A text on black 3.58:1 AA large text Lc -24.6 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 600.

  1. Step 50

    50

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FBE3E1

    oklch(93.5% 0.027 23.4)

  3. Step 200

    200

    #F9CDC9

    oklch(88.5% 0.05 24.2)

  4. Step 300

    300

    #F6A9A4

    oklch(80.8% 0.092 23.4)

  5. Step 400

    400

    #EE7873

    oklch(70.7% 0.146 24)

  6. Step 500

    500

    #E54D4E

    oklch(63.1% 0.188 23.9)

  7. Step 600

    600 (this color)

    #C7172A

    oklch(53.1% 0.204 24)

  8. Step 700

    700

    #B41224

    oklch(49.2% 0.19 24.1)

  9. Step 800

    800

    #921620

    oklch(42.7% 0.157 23.8)

  10. Step 900

    900

    #751D1F

    oklch(37.7% 0.122 24.1)

  11. Step 950

    950

    #451313

    oklch(27% 0.077 23.8)

Export this scale for Tailwind in the Tailwind colors tool

#C7172A 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)#554D290.225
Deuteranopia (no green cones)#7F72220.205
Tritanopia (no blue cones)#DC00220.041
Achromatopsia (no color)#6565650.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7172A

    #C7172A

    oklch(53.1% 0.204 24)

  • #007B84

    #007B84

    oklch(53.1% 0.091 203.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7172A

    #C7172A

    oklch(53.1% 0.204 24)

  • #BC1B74

    #BC1B74

    oklch(53% 0.204 353.9)

  • #A55200

    #A55200

    oklch(53.1% 0.133 53.9)

Open the analogous palette in the generator

Split complementary

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

  • #C7172A

    #C7172A

    oklch(53.1% 0.204 24)

  • #007F67

    #007F67

    oklch(53.2% 0.102 173.3)

  • #0075A2

    #0075A2

    oklch(53% 0.111 234.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7172A

    #C7172A

    oklch(53.1% 0.204 24)

  • #008318

    #008318

    oklch(53% 0.172 144)

  • #2B5FE0

    #2B5FE0

    oklch(53.1% 0.205 264)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7172A

    #C7172A

    oklch(53.1% 0.204 24)

  • #6C7300

    #6C7300

    oklch(53.1% 0.119 113.9)

  • #007B84

    #007B84

    oklch(53.1% 0.091 203.8)

  • #7747D3

    #7747D3

    oklch(53.1% 0.204 294.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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