#C02571
Closest named color: Medium Violet Red (#C71585). oklch(54.2% 0.197 356.9), rgb(192, 37, 113).
Aa
White text reads best on this color (5.60:1).
About this color
#C02571 is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.197 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.038 away. White text reads best on it, at 5.60:1.
| Hue family | Reds |
| Lightness | medium-dark (54%) |
| Chroma | vivid (0.197) |
| Temperature | warm |
| Nearest name | Medium Violet Red (#C71585) |
| Black text | 3.74:1 |
| White text | 5.60:1 |
Values
| HEX | #C02571 |
| RGB | rgb(192, 37, 113) |
| HSL | hsl(331, 68%, 45%) |
| OKLCH | oklch(54.2% 0.197 356.9) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #C02571 | 5.60:1 | AA | Lc -81.8 | Fine for body text |
| Black text on #C02571 | 3.74:1 | AA large text | Lc 27.6 | Dividers and decoration only |
| #C02571 text on white | 5.60:1 | AA | Lc 76.5 | Fine for body text |
| #C02571 text on black | 3.74:1 | AA large text | Lc -25.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.
-
Step 50
50
#FDF2F5
oklch(97.1% 0.012 358.8)
-
Step 100
100
#F9E3EA
oklch(93.6% 0.026 356.3)
-
Step 200
200
#F5CCD9
oklch(88.4% 0.049 357.1)
-
Step 300
300
#F0A9C1
oklch(80.9% 0.088 357.3)
-
Step 400
400
#E578A2
oklch(70.7% 0.142 356.9)
-
Step 500
500
#DA4F8B
oklch(63.1% 0.182 357)
-
Step 600
600 (this color)
#C02571
oklch(54.2% 0.197 356.9)
-
Step 700
700
#AA1B62
oklch(49.2% 0.184 357.2)
-
Step 800
800
#8A1B50
oklch(42.8% 0.152 357.1)
-
Step 900
900
#6F1E43
oklch(37.7% 0.119 356.5)
-
Step 950
950
#411327
oklch(26.9% 0.075 356.4)
#C02571 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #495573 | 0.223 |
| Deuteranopia (no green cones) | #73726E | 0.199 |
| Tritanopia (no blue cones) | #D00148 | 0.065 |
| Achromatopsia (no color) | #686868 | 0.199 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C02571
#C02571
oklch(54.2% 0.197 356.9)
- #00826E
#00826E
oklch(54.2% 0.101 176.9)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #C02571, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Violet Red #C71585 ΔE 0.038
- Dark Hot Pink #D90166 ΔE 0.051
- Dark Pink #CB416B ΔE 0.055
- Ruby #CA0147 ΔE 0.062
- Cerise #DE0C62 ΔE 0.063
- Deep Rose #C74767 ΔE 0.064
- Lipstick #D5174E ΔE 0.066
- Raspberry #B00149 ΔE 0.069
Use #C02571 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.