#C51174

Closest named color: Medium Violet Red (#C71585). oklch(54.2% 0.215 355.6), rgb(197, 17, 116).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.215)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.70:1
White text5.66:1

Values

HEX#C51174
RGBrgb(197, 17, 116)
HSLhsl(327, 84%, 42%)
OKLCHoklch(54.2% 0.215 355.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 #C51174 5.66:1 AA Lc -81.6 Fine for body text
Black text on #C51174 3.70:1 AA large text Lc 27.8 Dividers and decoration only
#C51174 text on white 5.66:1 AA Lc 76.2 Fine for body text
#C51174 text on black 3.70:1 AA large text Lc -25.5 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

    #FDF2F6

    oklch(97.1% 0.013 353.1)

  2. Step 100

    100

    #FAE3EA

    oklch(93.6% 0.027 357.2)

  3. Step 200

    200

    #F8CBDA

    oklch(88.5% 0.054 356.3)

  4. Step 300

    300

    #F3A7C3

    oklch(80.9% 0.096 355.7)

  5. Step 400

    400

    #E973A4

    oklch(70.6% 0.155 355.6)

  6. Step 500

    500

    #DF478E

    oklch(63.1% 0.198 355.7)

  7. Step 600

    600 (this color)

    #C51174

    oklch(54.2% 0.215 355.6)

  8. Step 700

    700

    #AE0365

    oklch(49.1% 0.2 355.6)

  9. Step 800

    800

    #8D0F52

    oklch(42.6% 0.165 355.7)

  10. Step 900

    900

    #721944

    oklch(37.8% 0.129 355.9)

  11. Step 950

    950

    #431128

    oklch(27% 0.081 355.6)

Export this scale for Tailwind in the Tailwind colors tool

#C51174 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)#4253760.246
Deuteranopia (no green cones)#7372700.215
Tritanopia (no blue cones)#D600450.078
Achromatopsia (no color)#6767670.217

Harmonies

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

Complementary

The opposite hue (180°).

  • #C51174

    #C51174

    oklch(54.2% 0.215 355.6)

  • #00826C

    #00826C

    oklch(54.2% 0.102 175.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C51174

    #C51174

    oklch(54.2% 0.215 355.6)

  • #A92DB1

    #A92DB1

    oklch(54.1% 0.215 325.4)

  • #CF0E21

    #CF0E21

    oklch(54.2% 0.215 25.7)

Open the analogous palette in the generator

Split complementary

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

  • #C51174

    #C51174

    oklch(54.2% 0.215 355.6)

  • #008727

    #008727

    oklch(54.2% 0.167 145.7)

  • #007E89

    #007E89

    oklch(54.1% 0.093 205.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C51174

    #C51174

    oklch(54.2% 0.215 355.6)

  • #6D7700

    #6D7700

    oklch(54.2% 0.123 115.5)

  • #0078A9

    #0078A9

    oklch(54.1% 0.116 235.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C51174

    #C51174

    oklch(54.2% 0.215 355.6)

  • #8C6900

    #8C6900

    oklch(54.1% 0.111 85.5)

  • #00826C

    #00826C

    oklch(54.2% 0.102 175.3)

  • #325FEA

    #325FEA

    oklch(54.2% 0.216 265.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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