#C1229E
Closest named color: Medium Violet Red (#C71585). oklch(56.1% 0.224 339.3), rgb(193, 34, 158).
Aa
White text reads best on this color (5.26:1).
About this color
#C1229E is a medium-dark, vivid pink. In OKLCH its lightness is 56%, its chroma 0.224 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.041 away. White text reads best on it, at 5.26:1.
| Hue family | Pinks |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.224) |
| Temperature | warm |
| Nearest name | Medium Violet Red (#C71585) |
| Black text | 3.99:1 |
| White text | 5.26:1 |
Values
| HEX | #C1229E |
| RGB | rgb(193, 34, 158) |
| HSL | hsl(313, 70%, 45%) |
| OKLCH | oklch(56.1% 0.224 339.3) |
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 #C1229E | 5.26:1 | AA | Lc -79.9 | Fine for body text |
| Black text on #C1229E | 3.99:1 | AA large text | Lc 29.6 | Dividers and decoration only |
| #C1229E text on white | 5.26:1 | AA | Lc 74.5 | Content text, not long reading |
| #C1229E text on black | 3.99:1 | AA large text | Lc -27.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.
-
Step 50
50
#FCF2F8
oklch(97.1% 0.013 340.5)
-
Step 100
100
#F8E3F0
oklch(93.6% 0.028 340)
-
Step 200
200
#F3CBE5
oklch(88.4% 0.056 339.3)
-
Step 300
300
#EDA7D6
oklch(80.9% 0.102 339.4)
-
Step 400
400
#E075C1
oklch(70.8% 0.16 339.3)
-
Step 500
500
#D449B1
oklch(63% 0.206 339.2)
-
Step 600
600 (this color)
#C1229E
oklch(56.1% 0.224 339.3)
-
Step 700
700
#A50B86
oklch(49.2% 0.209 339.3)
-
Step 800
800
#86126D
oklch(42.7% 0.173 339.3)
-
Step 900
900
#6C1A58
oklch(37.7% 0.135 339.5)
-
Step 950
950
#401134
oklch(27% 0.087 339.3)
#C1229E 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) | #2F5CA1 | 0.250 |
| Deuteranopia (no green cones) | #66759B | 0.213 |
| Tritanopia (no blue cones) | #CD2A60 | 0.105 |
| Achromatopsia (no color) | #6C6C6C | 0.226 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C1229E
#C1229E
oklch(56.1% 0.224 339.3)
- #008B59
#008B59
oklch(56.2% 0.128 159.4)
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 #C1229E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Violet Red #C71585 ΔE 0.041
- Purpley Pink #C83CB9 ΔE 0.051
- Pinky Purple #C94CBE ΔE 0.072
- Warm Purple #952E8F ΔE 0.088
- Purply #983FB2 ΔE 0.088
- Dark Hot Pink #D90166 ΔE 0.100
- Medium Orchid #BA55D3 ΔE 0.101
- Purple Pink #D725DE ΔE 0.103
Use #C1229E 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.