#C52174

Closest named color: Medium Violet Red (#C71585). oklch(54.9% 0.205 356.5), rgb(197, 33, 116).

Aa

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

About this color

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

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

Values

HEX#C52174
RGBrgb(197, 33, 116)
HSLhsl(330, 71%, 45%)
OKLCHoklch(54.9% 0.205 356.5)

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 #C52174 5.46:1 AA Lc -80.9 Fine for body text
Black text on #C52174 3.84:1 AA large text Lc 28.5 Dividers and decoration only
#C52174 text on white 5.46:1 AA Lc 75.6 Fine for body text
#C52174 text on black 3.84:1 AA large text Lc -26.2 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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #FAE3EA

    oklch(93.6% 0.027 357.2)

  3. Step 200

    200

    #F6CCDA

    oklch(88.5% 0.051 356.2)

  4. Step 300

    300

    #F2A8C2

    oklch(81% 0.093 356.6)

  5. Step 400

    400

    #E776A3

    oklch(70.7% 0.148 356.4)

  6. Step 500

    500

    #DC4C8C

    oklch(63.1% 0.188 356.5)

  7. Step 600

    600 (this color)

    #C52174

    oklch(54.9% 0.205 356.5)

  8. Step 700

    700

    #AC1263

    oklch(49.1% 0.191 356.6)

  9. Step 800

    800

    #8C1651

    oklch(42.8% 0.158 356.6)

  10. Step 900

    900

    #701C43

    oklch(37.7% 0.123 356.4)

  11. Step 950

    950

    #421227

    oklch(26.9% 0.078 356.6)

Export this scale for Tailwind in the Tailwind colors tool

#C52174 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)#4856760.233
Deuteranopia (no green cones)#7574700.207
Tritanopia (no blue cones)#D500490.068
Achromatopsia (no color)#6969690.207

Harmonies

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

Complementary

The opposite hue (180°).

  • #C52174

    #C52174

    oklch(54.9% 0.205 356.5)

  • #008470

    #008470

    oklch(54.8% 0.102 177.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C52174

    #C52174

    oklch(54.9% 0.205 356.5)

  • #AB35AF

    #AB35AF

    oklch(55% 0.206 326.5)

  • #CE2226

    #CE2226

    oklch(54.9% 0.205 26.5)

Open the analogous palette in the generator

Split complementary

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

  • #C52174

    #C52174

    oklch(54.9% 0.205 356.5)

  • #00892D

    #00892D

    oklch(54.9% 0.165 146.5)

  • #00808D

    #00808D

    oklch(54.8% 0.094 207.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C52174

    #C52174

    oklch(54.9% 0.205 356.5)

  • #6E7A00

    #6E7A00

    oklch(55% 0.126 116.4)

  • #007AAD

    #007AAD

    oklch(54.9% 0.119 236.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C52174

    #C52174

    oklch(54.9% 0.205 356.5)

  • #8E6C00

    #8E6C00

    oklch(55% 0.113 86.7)

  • #008470

    #008470

    oklch(54.8% 0.102 177.1)

  • #3A63E7

    #3A63E7

    oklch(55% 0.205 266.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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