#C51387

Closest named color: Medium Violet Red (#C71585). oklch(55% 0.222 348.4), rgb(197, 19, 135).

Aa

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

About this color

#C51387 is a medium-dark, vivid red. In OKLCH its lightness is 55%, its chroma 0.222 and its hue 348°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.006 away. White text reads best on it, at 5.50:1.

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.222)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.81:1
White text5.50:1

Values

HEX#C51387
RGBrgb(197, 19, 135)
HSLhsl(321, 82%, 42%)
OKLCHoklch(55% 0.222 348.4)

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 #C51387 5.50:1 AA Lc -80.8 Fine for body text
Black text on #C51387 3.81:1 AA large text Lc 28.7 Dividers and decoration only
#C51387 text on white 5.50:1 AA Lc 75.4 Fine for body text
#C51387 text on black 3.81:1 AA large text Lc -26.3 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

    #FDF2F7

    oklch(97.1% 0.013 347.9)

  2. Step 100

    100

    #FAE2ED

    oklch(93.5% 0.03 348.2)

  3. Step 200

    200

    #F6CBDF

    oklch(88.5% 0.055 348.6)

  4. Step 300

    300

    #F2A6CC

    oklch(80.9% 0.101 348.2)

  5. Step 400

    400

    #E772B1

    oklch(70.6% 0.161 348.5)

  6. Step 500

    500

    #DC469E

    oklch(63.1% 0.204 348.4)

  7. Step 600

    600 (this color)

    #C51387

    oklch(55% 0.222 348.4)

  8. Step 700

    700

    #AB0074

    oklch(49% 0.206 348.3)

  9. Step 800

    800

    #8B0C5E

    oklch(42.6% 0.171 348.5)

  10. Step 900

    900

    #70184D

    oklch(37.7% 0.133 348.5)

  11. Step 950

    950

    #42102D

    oklch(26.9% 0.085 348.5)

Export this scale for Tailwind in the Tailwind colors tool

#C51387 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)#3A568A0.253
Deuteranopia (no green cones)#6E73830.218
Tritanopia (no blue cones)#D400500.090
Achromatopsia (no color)#6969690.224

Harmonies

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

Complementary

The opposite hue (180°).

  • #C51387

    #C51387

    oklch(55% 0.222 348.4)

  • #008665

    #008665

    oklch(55.1% 0.112 167.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C51387

    #C51387

    oklch(55% 0.222 348.4)

  • #A532C2

    #A532C2

    oklch(55% 0.223 318.6)

  • #D3003C

    #D3003C

    oklch(54.9% 0.22 18.3)

Open the analogous palette in the generator

Split complementary

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

  • #C51387

    #C51387

    oklch(55% 0.222 348.4)

  • #338700

    #338700

    oklch(55% 0.171 138.4)

  • #008286

    #008286

    oklch(55.1% 0.094 198.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C51387

    #C51387

    oklch(55% 0.222 348.4)

  • #787600

    #787600

    oklch(55% 0.119 108.6)

  • #007DA3

    #007DA3

    oklch(55.1% 0.108 228.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C51387

    #C51387

    oklch(55% 0.222 348.4)

  • #956800

    #956800

    oklch(55% 0.114 78.8)

  • #008665

    #008665

    oklch(55.1% 0.112 167.9)

  • #0069E7

    #0069E7

    oklch(54.9% 0.208 258.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #C51387.

Similar named colors

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

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