#C51F42

Closest named color: Ruby (#CA0147). oklch(53.5% 0.197 16.9), rgb(197, 31, 66).

Aa

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

About this color

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

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

Values

HEX#C51F42
RGBrgb(197, 31, 66)
HSLhsl(347, 73%, 45%)
OKLCHoklch(53.5% 0.197 16.9)

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

    #FDF2F3

    oklch(97% 0.012 11)

  2. Step 100

    100

    #FBE3E4

    oklch(93.6% 0.026 14.7)

  3. Step 200

    200

    #F8CDCE

    oklch(88.6% 0.049 16.5)

  4. Step 300

    300

    #F5AAAC

    oklch(81% 0.089 17.4)

  5. Step 400

    400

    #EB7881

    oklch(70.6% 0.142 16.5)

  6. Step 500

    500

    #E14F61

    oklch(63% 0.181 16.8)

  7. Step 600

    600 (this color)

    #C51F42

    oklch(53.5% 0.197 16.9)

  8. Step 700

    700

    #B11839

    oklch(49.2% 0.184 17.1)

  9. Step 800

    800

    #8F1930

    oklch(42.6% 0.152 16.6)

  10. Step 900

    900

    #731E2A

    oklch(37.7% 0.118 17)

  11. Step 950

    950

    #441319

    oklch(27% 0.075 16.6)

Export this scale for Tailwind in the Tailwind colors tool

#C51F42 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)#5450420.219
Deuteranopia (no green cones)#7D723D0.200
Tritanopia (no blue cones)#D8002F0.041
Achromatopsia (no color)#6666660.199

Harmonies

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

Complementary

The opposite hue (180°).

  • #C51F42

    #C51F42

    oklch(53.5% 0.197 16.9)

  • #007D7F

    #007D7F

    oklch(53.5% 0.091 196.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C51F42

    #C51F42

    oklch(53.5% 0.197 16.9)

  • #B72783

    #B72783

    oklch(53.5% 0.198 346.9)

  • #AF4B00

    #AF4B00

    oklch(53.5% 0.148 47)

Open the analogous palette in the generator

Split complementary

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

  • #C51F42

    #C51F42

    oklch(53.5% 0.197 16.9)

  • #00815F

    #00815F

    oklch(53.5% 0.11 166.6)

  • #00789B

    #00789B

    oklch(53.4% 0.103 227)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C51F42

    #C51F42

    oklch(53.5% 0.197 16.9)

  • #398100

    #398100

    oklch(53.5% 0.162 136.8)

  • #0068D7

    #0068D7

    oklch(53.5% 0.189 256.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C51F42

    #C51F42

    oklch(53.5% 0.197 16.9)

  • #757100

    #757100

    oklch(53.5% 0.115 107.3)

  • #007D7F

    #007D7F

    oklch(53.5% 0.091 196.7)

  • #6B50D7

    #6B50D7

    oklch(53.5% 0.197 286.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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