#C5398E

Closest named color: Medium Violet Red (#C71585). oklch(57.7% 0.194 347.6), rgb(197, 57, 142).

Aa

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

About this color

#C5398E is a medium-dark, vivid red. In OKLCH its lightness is 58%, its chroma 0.194 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.037 away. White text reads best on it, at 4.82:1.

Hue familyReds
Lightnessmedium-dark (58%)
Chromavivid (0.194)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.34:1
White text4.82:1

Values

HEX#C5398E
RGBrgb(197, 57, 142)
HSLhsl(324, 55%, 50%)
OKLCHoklch(57.7% 0.194 347.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 #C5398E 4.82:1 AA Lc -77.8 Fine for body text
Black text on #C5398E 4.34:1 AA large text Lc 31.7 Non-text elements, placeholder text
#C5398E text on white 4.82:1 AA Lc 72.4 Content text, not long reading
#C5398E text on black 4.34:1 AA large text Lc -29.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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F8E3ED

    oklch(93.6% 0.026 347.1)

  3. Step 200

    200

    #F3CDDF

    oklch(88.6% 0.049 347.9)

  4. Step 300

    300

    #EBAACB

    oklch(80.9% 0.087 347.4)

  5. Step 400

    400

    #DF7AB0

    oklch(70.7% 0.14 348)

  6. Step 500

    500

    #D3539D

    oklch(63.1% 0.179 347.7)

  7. Step 600

    600 (this color)

    #C5398E

    oklch(57.7% 0.194 347.6)

  8. Step 700

    700

    #A32273

    oklch(49.1% 0.18 347.6)

  9. Step 800

    800

    #851F5E

    oklch(42.8% 0.15 347.5)

  10. Step 900

    900

    #6B214D

    oklch(37.8% 0.117 347.4)

  11. Step 950

    950

    #3F152D

    oklch(27.1% 0.073 347.7)

Export this scale for Tailwind in the Tailwind colors tool

#C5398E 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)#4C62900.216
Deuteranopia (no green cones)#757B8B0.191
Tritanopia (no blue cones)#D3345E0.078
Achromatopsia (no color)#7272720.196

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5398E

    #C5398E

    oklch(57.7% 0.194 347.6)

  • #008F6B

    #008F6B

    oklch(57.7% 0.118 167.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5398E

    #C5398E

    oklch(57.7% 0.194 347.6)

  • #A649C2

    #A649C2

    oklch(57.6% 0.194 317.6)

  • #D3344D

    #D3344D

    oklch(57.7% 0.194 17.5)

Open the analogous palette in the generator

Split complementary

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

  • #C5398E

    #C5398E

    oklch(57.7% 0.194 347.6)

  • #3C9000

    #3C9000

    oklch(57.8% 0.177 137.6)

  • #008B8E

    #008B8E

    oklch(57.8% 0.098 197.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5398E

    #C5398E

    oklch(57.7% 0.194 347.6)

  • #827E00

    #827E00

    oklch(57.8% 0.124 107.5)

  • #0085AD

    #0085AD

    oklch(57.6% 0.112 228)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5398E

    #C5398E

    oklch(57.7% 0.194 347.6)

  • #A06F00

    #A06F00

    oklch(57.8% 0.12 78.1)

  • #008F6B

    #008F6B

    oklch(57.7% 0.118 167.3)

  • #1A74E9

    #1A74E9

    oklch(57.7% 0.195 257.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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