#C51F40

Closest named color: Ruby (#CA0147). oklch(53.4% 0.197 17.6), rgb(197, 31, 64).

Aa

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

About this color

#C51F40 is a medium-dark, vivid red. In OKLCH its lightness is 53%, its chroma 0.197 and its hue 18°. Its hue sits on the warm side of the wheel. The nearest named color is Ruby (#CA0147), ΔE 0.022 away. White text reads best on it, at 5.76:1.

Hue familyReds
Lightnessmedium-dark (53%)
Chromavivid (0.197)
Temperaturewarm
Nearest nameRuby (#CA0147)
Black text3.64:1
White text5.76:1

Values

HEX#C51F40
RGBrgb(197, 31, 64)
HSLhsl(348, 73%, 45%)
OKLCHoklch(53.4% 0.197 17.6)

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 #C51F40 5.76:1 AA Lc -82.3 Fine for body text
Black text on #C51F40 3.64:1 AA large text Lc 27.1 Dividers and decoration only
#C51F40 text on white 5.76:1 AA Lc 77.0 Fine for body text
#C51F40 text on black 3.64:1 AA large text Lc -24.8 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

    #FDF2F2

    oklch(97% 0.012 17.4)

  2. Step 100

    100

    #FBE3E3

    oklch(93.5% 0.026 17.6)

  3. Step 200

    200

    #F8CDCD

    oklch(88.5% 0.049 18.1)

  4. Step 300

    300

    #F5AAAB

    oklch(81% 0.089 18.3)

  5. Step 400

    400

    #EB787F

    oklch(70.6% 0.142 17.6)

  6. Step 500

    500

    #E14F5F

    oklch(63% 0.181 17.7)

  7. Step 600

    600 (this color)

    #C51F40

    oklch(53.4% 0.197 17.6)

  8. Step 700

    700

    #B11838

    oklch(49.2% 0.184 17.5)

  9. Step 800

    800

    #8F192E

    oklch(42.6% 0.152 17.6)

  10. Step 900

    900

    #731E29

    oklch(37.6% 0.118 17.7)

  11. Step 950

    950

    #441318

    oklch(26.9% 0.075 17.8)

Export this scale for Tailwind in the Tailwind colors tool

#C51F40 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)#5450400.220
Deuteranopia (no green cones)#7D723B0.200
Tritanopia (no blue cones)#D9002E0.042
Achromatopsia (no color)#6666660.199

Harmonies

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

Complementary

The opposite hue (180°).

  • #C51F40

    #C51F40

    oklch(53.4% 0.197 17.6)

  • #007D80

    #007D80

    oklch(53.5% 0.091 197.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C51F40

    #C51F40

    oklch(53.4% 0.197 17.6)

  • #B72781

    #B72781

    oklch(53.4% 0.197 347.8)

  • #AE4C00

    #AE4C00

    oklch(53.5% 0.146 47.8)

Open the analogous palette in the generator

Split complementary

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

  • #C51F40

    #C51F40

    oklch(53.4% 0.197 17.6)

  • #008160

    #008160

    oklch(53.5% 0.109 167.2)

  • #00789C

    #00789C

    oklch(53.5% 0.104 227.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C51F40

    #C51F40

    oklch(53.4% 0.197 17.6)

  • #358100

    #358100

    oklch(53.4% 0.164 137.6)

  • #0067DA

    #0067DA

    oklch(53.5% 0.194 257.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C51F40

    #C51F40

    oklch(53.4% 0.197 17.6)

  • #747100

    #747100

    oklch(53.4% 0.115 107.9)

  • #007D80

    #007D80

    oklch(53.5% 0.091 197.7)

  • #6C4FD6

    #6C4FD6

    oklch(53.4% 0.197 287.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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