#C5198C

Closest named color: Medium Violet Red (#C71585). oklch(55.4% 0.222 346.7), rgb(197, 25, 140).

Aa

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

About this color

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

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

Values

HEX#C5198C
RGBrgb(197, 25, 140)
HSLhsl(320, 77%, 44%)
OKLCHoklch(55.4% 0.222 346.7)

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 #C5198C 5.39:1 AA Lc -80.4 Fine for body text
Black text on #C5198C 3.89:1 AA large text Lc 29.1 Dividers and decoration only
#C5198C text on white 5.39:1 AA Lc 75.0 Content text, not long reading
#C5198C text on black 3.89:1 AA large text Lc -26.7 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

    #F9E3EE

    oklch(93.7% 0.028 345.9)

  3. Step 200

    200

    #F6CBE0

    oklch(88.5% 0.055 347.3)

  4. Step 300

    300

    #F0A6CD

    oklch(80.8% 0.1 346.7)

  5. Step 400

    400

    #E673B4

    oklch(70.8% 0.16 346.9)

  6. Step 500

    500

    #DA47A2

    oklch(63.1% 0.204 346.4)

  7. Step 600

    600 (this color)

    #C5198C

    oklch(55.4% 0.222 346.7)

  8. Step 700

    700

    #AA0277

    oklch(49.1% 0.206 346.8)

  9. Step 800

    800

    #8A0E61

    oklch(42.7% 0.171 346.6)

  10. Step 900

    900

    #6F184F

    oklch(37.6% 0.133 346.7)

  11. Step 950

    950

    #42112E

    oklch(27.1% 0.084 347.6)

Export this scale for Tailwind in the Tailwind colors tool

#C5198C 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)#39588F0.252
Deuteranopia (no green cones)#6D74880.217
Tritanopia (no blue cones)#D30D540.091
Achromatopsia (no color)#6A6A6A0.224

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5198C

    #C5198C

    oklch(55.4% 0.222 346.7)

  • #008764

    #008764

    oklch(55.3% 0.114 166.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5198C

    #C5198C

    oklch(55.4% 0.222 346.7)

  • #A436C6

    #A436C6

    oklch(55.5% 0.221 316.9)

  • #D50042

    #D50042

    oklch(55.4% 0.222 16.6)

Open the analogous palette in the generator

Split complementary

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

  • #C5198C

    #C5198C

    oklch(55.4% 0.222 346.7)

  • #3D8700

    #3D8700

    oklch(55.4% 0.167 136.6)

  • #008385

    #008385

    oklch(55.3% 0.094 196.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5198C

    #C5198C

    oklch(55.4% 0.222 346.7)

  • #7C7700

    #7C7700

    oklch(55.6% 0.119 106.8)

  • #007FA3

    #007FA3

    oklch(55.6% 0.107 226.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5198C

    #C5198C

    oklch(55.4% 0.222 346.7)

  • #996800

    #996800

    oklch(55.5% 0.116 76.4)

  • #008764

    #008764

    oklch(55.3% 0.114 166.8)

  • #006EE1

    #006EE1

    oklch(55.5% 0.194 256.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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