#C7172F

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

Aa

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

About this color

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

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

Values

HEX#C7172F
RGBrgb(199, 23, 47)
HSLhsl(352, 79%, 44%)
OKLCHoklch(53.1% 0.204 22.5)

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 #C7172F 5.84:1 AA Lc -82.4 Fine for body text
Black text on #C7172F 3.59:1 AA large text Lc 26.9 Dividers and decoration only
#C7172F text on white 5.84:1 AA Lc 77.1 Fine for body text
#C7172F text on black 3.59: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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FBE3E2

    oklch(93.5% 0.026 20.5)

  3. Step 200

    200

    #F9CDCA

    oklch(88.5% 0.05 22.7)

  4. Step 300

    300

    #F6A9A5

    oklch(80.8% 0.092 22.6)

  5. Step 400

    400

    #EE7875

    oklch(70.8% 0.146 23)

  6. Step 500

    500

    #E54D52

    oklch(63.2% 0.188 22.5)

  7. Step 600

    600 (this color)

    #C7172F

    oklch(53.1% 0.204 22.5)

  8. Step 700

    700

    #B31229

    oklch(49% 0.189 22.5)

  9. Step 800

    800

    #921623

    oklch(42.8% 0.157 22.6)

  10. Step 900

    900

    #751C21

    oklch(37.6% 0.123 22.5)

  11. Step 950

    950

    #451314

    oklch(27% 0.077 22.7)

Export this scale for Tailwind in the Tailwind colors tool

#C7172F 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)#554D2E0.225
Deuteranopia (no green cones)#7F72280.205
Tritanopia (no blue cones)#DB00240.040
Achromatopsia (no color)#6565650.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7172F

    #C7172F

    oklch(53.1% 0.204 22.5)

  • #007B83

    #007B83

    oklch(53.1% 0.09 202.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7172F

    #C7172F

    oklch(53.1% 0.204 22.5)

  • #BC1C77

    #BC1C77

    oklch(53.2% 0.204 352.7)

  • #A75100

    #A75100

    oklch(53.2% 0.136 52.6)

Open the analogous palette in the generator

Split complementary

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

  • #C7172F

    #C7172F

    oklch(53.1% 0.204 22.5)

  • #007F66

    #007F66

    oklch(53.2% 0.102 172.6)

  • #0076A0

    #0076A0

    oklch(53.2% 0.109 232.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7172F

    #C7172F

    oklch(53.1% 0.204 22.5)

  • #008401

    #008401

    oklch(53.1% 0.181 142.5)

  • #2460DF

    #2460DF

    oklch(53% 0.204 262.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7172F

    #C7172F

    oklch(53.1% 0.204 22.5)

  • #6E7200

    #6E7200

    oklch(53.1% 0.118 112.2)

  • #007B83

    #007B83

    oklch(53.1% 0.09 202.8)

  • #7548D5

    #7548D5

    oklch(53.1% 0.205 292.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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