#C52F8B

Closest named color: Medium Violet Red (#C71585). oklch(56.7% 0.204 348.1), rgb(197, 47, 139).

Aa

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

About this color

#C52F8B is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.204 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.024 away. White text reads best on it, at 5.05:1.

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.204)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.15:1
White text5.05:1

Values

HEX#C52F8B
RGBrgb(197, 47, 139)
HSLhsl(323, 61%, 48%)
OKLCHoklch(56.7% 0.204 348.1)

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 #C52F8B 5.05:1 AA Lc -79.0 Fine for body text
Black text on #C52F8B 4.15:1 AA large text Lc 30.5 Non-text elements, placeholder text
#C52F8B text on white 5.05:1 AA Lc 73.6 Content text, not long reading
#C52F8B text on black 4.15:1 AA large text Lc -28.1 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

    #F4CCDF

    oklch(88.5% 0.051 347.9)

  4. Step 300

    300

    #EEA9CB

    oklch(81% 0.091 348.3)

  5. Step 400

    400

    #E277B0

    oklch(70.7% 0.148 348.4)

  6. Step 500

    500

    #D64F9D

    oklch(63.1% 0.187 348.1)

  7. Step 600

    600 (this color)

    #C52F8B

    oklch(56.7% 0.204 348.1)

  8. Step 700

    700

    #A61A73

    oklch(49.1% 0.189 348)

  9. Step 800

    800

    #871A5E

    oklch(42.7% 0.157 347.9)

  10. Step 900

    900

    #6D1E4D

    oklch(37.7% 0.123 347.9)

  11. Step 950

    950

    #40132D

    oklch(27% 0.078 347.8)

Export this scale for Tailwind in the Tailwind colors tool

#C52F8B 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)#465E8D0.228
Deuteranopia (no green cones)#7378880.199
Tritanopia (no blue cones)#D328590.081
Achromatopsia (no color)#6F6F6F0.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #C52F8B

    #C52F8B

    oklch(56.7% 0.204 348.1)

  • #008C6A

    #008C6A

    oklch(56.9% 0.115 168.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C52F8B

    #C52F8B

    oklch(56.7% 0.204 348.1)

  • #A642C2

    #A642C2

    oklch(56.8% 0.204 318.1)

  • #D32846

    #D32846

    oklch(56.6% 0.204 18.1)

Open the analogous palette in the generator

Split complementary

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

  • #C52F8B

    #C52F8B

    oklch(56.7% 0.204 348.1)

  • #378D00

    #378D00

    oklch(56.8% 0.176 138.2)

  • #00878B

    #00878B

    oklch(56.6% 0.096 198.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C52F8B

    #C52F8B

    oklch(56.7% 0.204 348.1)

  • #7E7B00

    #7E7B00

    oklch(56.7% 0.122 108)

  • #0082AA

    #0082AA

    oklch(56.7% 0.111 228.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C52F8B

    #C52F8B

    oklch(56.7% 0.204 348.1)

  • #9C6C00

    #9C6C00

    oklch(56.7% 0.118 78)

  • #008C6A

    #008C6A

    oklch(56.9% 0.115 168.2)

  • #0E70EB

    #0E70EB

    oklch(56.8% 0.203 258.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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