#C51F52

Closest named color: Ruby (#CA0147). oklch(53.8% 0.198 10.6), rgb(197, 31, 82).

Aa

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

About this color

#C51F52 is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.198 and its hue 11°. Its hue sits on the warm side of the wheel. The nearest named color is Ruby (#CA0147), ΔE 0.019 away. White text reads best on it, at 5.68:1.

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.198)
Temperaturewarm
Nearest nameRuby (#CA0147)
Black text3.69:1
White text5.68:1

Values

HEX#C51F52
RGBrgb(197, 31, 82)
HSLhsl(342, 73%, 45%)
OKLCHoklch(53.8% 0.198 10.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 #C51F52 5.68:1 AA Lc -82.0 Fine for body text
Black text on #C51F52 3.69:1 AA large text Lc 27.4 Dividers and decoration only
#C51F52 text on white 5.68:1 AA Lc 76.7 Fine for body text
#C51F52 text on black 3.69:1 AA large text Lc -25.1 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

    #FBE3E6

    oklch(93.6% 0.027 9)

  3. Step 200

    200

    #F8CCD1

    oklch(88.4% 0.05 10.5)

  4. Step 300

    300

    #F4A9B3

    oklch(80.9% 0.089 10.5)

  5. Step 400

    400

    #EA778B

    oklch(70.6% 0.143 10.5)

  6. Step 500

    500

    #E04E6F

    oklch(63.1% 0.182 10.4)

  7. Step 600

    600 (this color)

    #C51F52

    oklch(53.8% 0.198 10.6)

  8. Step 700

    700

    #AF1647

    oklch(49% 0.184 10.5)

  9. Step 800

    800

    #8E183B

    oklch(42.6% 0.152 10.2)

  10. Step 900

    900

    #731D32

    oklch(37.8% 0.12 10.8)

  11. Step 950

    950

    #44131D

    oklch(27.1% 0.076 11.4)

Export this scale for Tailwind in the Tailwind colors tool

#C51F52 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)#5151530.223
Deuteranopia (no green cones)#7B724E0.201
Tritanopia (no blue cones)#D800370.048
Achromatopsia (no color)#6767670.200

Harmonies

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

Complementary

The opposite hue (180°).

  • #C51F52

    #C51F52

    oklch(53.8% 0.198 10.6)

  • #007F7B

    #007F7B

    oklch(53.9% 0.093 190.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C51F52

    #C51F52

    oklch(53.8% 0.198 10.6)

  • #B32C90

    #B32C90

    oklch(53.8% 0.198 340.6)

  • #B94000

    #B94000

    oklch(53.7% 0.167 40.4)

Open the analogous palette in the generator

Split complementary

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

  • #C51F52

    #C51F52

    oklch(53.8% 0.198 10.6)

  • #008356

    #008356

    oklch(53.8% 0.121 160.6)

  • #007B96

    #007B96

    oklch(53.9% 0.098 220.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C51F52

    #C51F52

    oklch(53.8% 0.198 10.6)

  • #507E00

    #507E00

    oklch(53.9% 0.146 130.4)

  • #0070C3

    #0070C3

    oklch(53.8% 0.154 250.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C51F52

    #C51F52

    oklch(53.8% 0.198 10.6)

  • #7D6F00

    #7D6F00

    oklch(53.8% 0.112 100.6)

  • #007F7B

    #007F7B

    oklch(53.9% 0.093 190.9)

  • #5F55DC

    #5F55DC

    oklch(53.8% 0.199 280.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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