#C340AA
Closest named color: Purpley Pink (#C83CB9). oklch(59.3% 0.202 336.4), rgb(195, 64, 170).
Aa
Black text reads best on this color (4.63:1).
About this color
#C340AA is a medium-dark, vivid pink. In OKLCH its lightness is 59%, its chroma 0.202 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.026 away. Black text reads best on it, at 4.63:1.
| Hue family | Pinks |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.202) |
| Temperature | warm |
| Nearest name | Purpley Pink (#C83CB9) |
| Black text | 4.63:1 |
| White text | 4.53:1 |
Values
| HEX | #C340AA |
| RGB | rgb(195, 64, 170) |
| HSL | hsl(311, 52%, 51%) |
| OKLCH | oklch(59.3% 0.202 336.4) |
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 #C340AA | 4.53:1 | AA | Lc -76.0 | Fine for body text |
| Black text on #C340AA | 4.63:1 | AA | Lc 33.6 | Non-text elements, placeholder text |
| #C340AA text on white | 4.53:1 | AA | Lc 70.5 | Content text, not long reading |
| #C340AA text on black | 4.63:1 | AA | Lc -31.2 | Non-text elements, placeholder text |
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
#FBF2F8
oklch(97% 0.012 337.5)
-
Step 100
100
#F6E4F0
oklch(93.7% 0.025 337.8)
-
Step 200
200
#F0CDE6
oklch(88.5% 0.051 336.3)
-
Step 300
300
#E7AAD7
oklch(80.9% 0.092 336.2)
-
Step 400
400
#D87BC2
oklch(70.7% 0.145 336.4)
-
Step 500
500
#CB54B3
oklch(63.1% 0.186 336.2)
-
Step 600
600 (this color)
#C340AA
oklch(59.3% 0.202 336.4)
-
Step 700
700
#9D2387
oklch(49.1% 0.188 336.6)
-
Step 800
800
#7F206E
oklch(42.6% 0.156 336.2)
-
Step 900
900
#672259
oklch(37.8% 0.121 336.6)
-
Step 950
950
#3C1534
oklch(26.9% 0.076 336.1)
#C340AA 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) | #4269AD | 0.217 |
| Deuteranopia (no green cones) | #6D7DA7 | 0.188 |
| Tritanopia (no blue cones) | #CD486F | 0.100 |
| Achromatopsia (no color) | #767676 | 0.204 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C340AA
#C340AA
oklch(59.3% 0.202 336.4)
- #009659
#009659
oklch(59.2% 0.143 156.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 #C340AA, closest first.
No curated palette has a color within ΔE 0.04 of #C340AA.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley Pink #C83CB9 ΔE 0.026
- Pinky Purple #C94CBE ΔE 0.036
- Medium Violet Red #C71585 ΔE 0.066
- Medium Orchid #BA55D3 ΔE 0.068
- Purply #983FB2 ΔE 0.086
- Pale Magenta #D767AD ΔE 0.089
- Amethyst #9B5FC0 ΔE 0.091
- Purple Pink #D725DE ΔE 0.091
Use #C340AA 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.